This is craps.h in view mode; [Download] [Up]
#define PASS 0
#define DONT_PASS 1
#define COME 2
#define COME_FOUR 3
#define COME_FIVE 4
#define COME_SIX 5
#define COME_EIGHT 6
#define COME_NINE 7
#define COME_TEN 8
#define DONT_COME 9
#define DONT_COME_FOUR 10
#define DONT_COME_FIVE 11
#define DONT_COME_SIX 12
#define DONT_COME_EIGHT 13
#define DONT_COME_NINE 14
#define DONT_COME_TEN 15
#define PLACE_FOUR 16
#define PLACE_FIVE 17
#define PLACE_SIX 18
#define PLACE_EIGHT 19
#define PLACE_NINE 20
#define PLACE_TEN 21
#define BIG_SIX 22
#define BIG_EIGHT 23
#define FIELD 24
#define HARD_FOUR 25
#define HARD_TEN 26
#define HARD_SIX 27
#define HARD_EIGHT 28
#define TWO 29
#define THREE 30
#define ELEVEN 31
#define TWELVE 32
#define ANY_CRAPS 33
#define ANY_SEVEN 34
#define HORN 35
#define NUM_PROPS 35
struct proposition
{
char *name;
int type;
int payoff;
int cost;
BOOL isOneRollBet;
BOOL allowsOdds;
char *advice;
};
struct bet
{
struct proposition *prop;
int amount;
int odds;
int point;
BOOL isOn;
};These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.