summaryrefslogtreecommitdiff
path: root/checkouts.h
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-25 19:53:22 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-25 19:53:22 -0700
commit2652dec6b38f04f96a9832622418d01805bb7d4a (patch)
treedd387f144f17c0a509867fd28cce8fe421973674 /checkouts.h
parent0517dcffe7ac66b604143d9457ba6591d34ae07e (diff)
downloaddartboat-2652dec6b38f04f96a9832622418d01805bb7d4a.tar.gz
dartboat-2652dec6b38f04f96a9832622418d01805bb7d4a.tar.xz
minor cleanup and organisation of lib code
Diffstat (limited to 'checkouts.h')
-rw-r--r--checkouts.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/checkouts.h b/checkouts.h
index c4ce8db..52b40d8 100644
--- a/checkouts.h
+++ b/checkouts.h
@@ -1,8 +1,11 @@
#ifndef CHECKOUTS_H
#define CHECKOUTS_H
-extern char *CHECKOUTS[3][170];
-extern char *SETUP_SHOTS[191];
+#define NUM_CHECKOUTS 170
+extern char *CHECKOUTS[][NUM_CHECKOUTS];
+
+#define NUM_SETUP_SHOTS 191
+extern char *SETUP_SHOTS[NUM_SETUP_SHOTS];
int checkouts_suggested(char *buf, int rem, int darts_in_hand);
int checkouts_suggested_3_2(char *buf, int rem);