aboutsummaryrefslogtreecommitdiff
path: root/fns.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2023-09-20 13:15:48 +0000
committerrodri <rgl@antares-labs.eu>2023-09-20 13:15:48 +0000
commit33de2d046acfc7ee42fb71b1804b091f671b098a (patch)
tree3c19b6a12cf861050701f004c5bad76877eac10e /fns.h
parenta99916512365d68d130c7dfdb3f7ac5e2e0bbe8a (diff)
downloadbattleship-33de2d046acfc7ee42fb71b1804b091f671b098a.tar.gz
battleship-33de2d046acfc7ee42fb71b1804b091f671b098a.tar.bz2
battleship-33de2d046acfc7ee42fb71b1804b091f671b098a.zip
more work on the menulist of matches.
Diffstat (limited to 'fns.h')
-rw-r--r--fns.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/fns.h b/fns.h
index 2705ad5..4e5656f 100644
--- a/fns.h
+++ b/fns.h
@@ -21,3 +21,10 @@ int countshipcells(Map*);
int shiplen(int);
char *shipname(int);
char *statename(int);
+int max(int, int);
+
+/*
+ * menulist
+ */
+Menulist *newmenulist(int, char*);
+void delmenulist(Menulist*);