|
|
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 t
Length: 752 (0x2f0)
Types: TextFile
Names: »types.h«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
└─⟦this⟧ »EUUGD18/General/Yahtzee/types.h«
#include <curses.h>
#define DisplayBeep(n) (putchar(n+7),fflush(stdout))
#define ESC 27
#define LF_ARROW -10
#define RT_ARROW -11
#define UP_ARROW -12
#define DN_ARROW -13
#define HELP -14
#define ERR_KEY -15
#define COLW 8 /* column width of score card */
#define FC 20 /* beginning of first score column */
#define NS 14
/*
* 0 1 2 3 4 5 6
* aces, twos, threes, fours, fives, sixes, bonus,
*
* 7 8 9 10 11 12 13
* threek, fourk, full, small, large, yahtzee, chance
*
*/
typedef struct xxx {
int score[NS]; /* various scores */
char name[7]; /* player name */
int ycount; /* extra yahtzee bonus count */
} Game;