aboutsummaryrefslogtreecommitdiff
path: root/fns.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2023-08-30 22:07:50 +0000
committerrodri <rgl@antares-labs.eu>2023-08-30 22:07:50 +0000
commitbe547a2dba10292fb3191bc5fec42212d2391660 (patch)
tree4f8771a774d0a947f39aea1c9e92e4c768f87bb9 /fns.h
parent3d93e42d0e854a3bb7c3a380a0635cf927d59ab7 (diff)
downloadbattleship-be547a2dba10292fb3191bc5fec42212d2391660.tar.gz
battleship-be547a2dba10292fb3191bc5fec42212d2391660.tar.bz2
battleship-be547a2dba10292fb3191bc5fec42212d2391660.zip
forbid placing ships after being done with the layout.
show the current ship and its length during placement. also made changes to some of the info banners.
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 cea6e73..d013a60 100644
--- a/fns.h
+++ b/fns.h
@@ -18,3 +18,4 @@ void settiles(Map*, Point2, int, int, int);
void fprintmap(int, Map*);
int countshipcells(Map*);
int shiplen(int);
+char *shipname(int);