aboutsummaryrefslogtreecommitdiff
path: root/fns.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2023-08-29 22:13:43 +0000
committerrodri <rgl@antares-labs.eu>2023-08-29 22:13:43 +0000
commitb106a4c0a8e8fc1bedce0a25a5c9a7be4a1c06a2 (patch)
tree63af662cfedc279067768502166620d5136f9e5e /fns.h
parent7104ef7c8cf505cc5be1c2c5e28a745b929af1b3 (diff)
downloadbattleship-b106a4c0a8e8fc1bedce0a25a5c9a7be4a1c06a2.tar.gz
battleship-b106a4c0a8e8fc1bedce0a25a5c9a7be4a1c06a2.tar.bz2
battleship-b106a4c0a8e8fc1bedce0a25a5c9a7be4a1c06a2.zip
implemented match conclusion logic and notification.
made the window un-resizable.
Diffstat (limited to 'fns.h')
-rw-r--r--fns.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fns.h b/fns.h
index 1a9203f..cea6e73 100644
--- a/fns.h
+++ b/fns.h
@@ -16,4 +16,5 @@ int gettile(Map*, Point2);
void settile(Map*, Point2, int);
void settiles(Map*, Point2, int, int, int);
void fprintmap(int, Map*);
+int countshipcells(Map*);
int shiplen(int);