|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T c
Length: 1487 (0x5cf) Types: TextFile Names: »constants.h«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987 └─⟦this⟧ »EUUGD18/General/Kriegspiel/constants.h«
/* constants.h */ /* These next two constants are system dependent */ /* file used for printing a file to the terminal (try /bin/pr) */ #define PRINT_FILE "/usr/ucb/more" /* file where long help will be kept */ #define HELP_FILE "/usr/games/lib/kriegspiel/help" /* file where short help will be kept */ #define SHORT_HELP_FILE "/usr/games/lib/kriegspiel/shorthelp" /* VERSION must be 5 characters: xxx.xx If the first 3 digits match, then the versions are compatable */ #define VERSION "005.02" /* FALSE 0 */ /* TRUE 1 */ #define ILLEGAL -1 #define ILLEGAL_FORMAT -3 #define ILLEGAL_PIECE -2 #define AMBIGUOUS_TO -4 #define AMBIGUOUS_FROM -5 #define AMBIGUOUS -6 #define NOPAWNTRIES -7 #define NOMOREPAWNTRIES -8 #define BADPAWNPUSH -9 #define NO_FROM -10 #define NO_MOVE -11 #define KING_MOVED -12 #define ROOK_MOVED -13 #define PIECE_IN_WAY -14 #define NO_PIECE -15 #define UNSET 2 #define RANDOM 3 #define NIL 0 #define MAXBUFF 1000 #define OFFBOARD -1 #define WHITE 0 #define BLACK 1 #define EMPTY 2 #define PAWN 1 #define KING 2 #define KNIGHT 3 #define BISHOP 4 #define ROOK 5 #define QUEEN 6 #define MYCOLOR 0 #define TOMOVE 1 #define CLOCK 2 #define CAPTURE 3 #define PAWNTRIES 4 #define CHECK 5 #define PROMPT 6 #define LEGAL 7 #define INPUT 8 #define MESSAGE 9 #define OPPONENT 10 #define NOPTIONS 4 #define COLOR 0 #define ANNOUNCETAKES 1 #define ANNOUNCEPAWNS 2 #define REVERSE 3