diff options
Diffstat (limited to 'checkouts.h')
-rw-r--r-- | checkouts.h | 7 |
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); |