42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
|
/* GAMEPLAN.HDR */
|
|||
|
|
|||
|
/*================================================================*/
|
|||
|
/* change nothing in this file */
|
|||
|
/*vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv*/
|
|||
|
|
|||
|
#define TRUE 1
|
|||
|
#define FALSE 0
|
|||
|
#define ME 1
|
|||
|
#define YU 2
|
|||
|
#define YRBAR 0
|
|||
|
#define MYBAR 25
|
|||
|
#define YRHOME 26
|
|||
|
#define MYHOME 27
|
|||
|
#define ERROR 999
|
|||
|
#define MYLEVEL 2
|
|||
|
|
|||
|
extern int list[2][28]; /* two dice, two lists */
|
|||
|
|
|||
|
extern struct board {
|
|||
|
int stones, /* number of stones on that point */
|
|||
|
owner, /* and whose they are */
|
|||
|
x,y, /* x and y coordinates of point base */
|
|||
|
lastx,lasty, /* last location drawn on this point */
|
|||
|
cx,cy; /* coordinates for column numbers */
|
|||
|
}
|
|||
|
point[28], bdsave[28]; /* 24 points, plus 2 bars, 2 homes */
|
|||
|
|
|||
|
extern struct { int cube, whosecube; } doubles;
|
|||
|
|
|||
|
extern struct { int fr,to,flag; } pending;
|
|||
|
|
|||
|
extern int level, dice[2], myscore, yrscore, player, movesleft, cantuse,
|
|||
|
myturns, swapped, tswap, deciding, expert, tone, show, moremsgline,
|
|||
|
firstmove, helpdisabled, yrdice, lookforit, startcubevalue;
|
|||
|
|
|||
|
extern char *chatter[80];
|
|||
|
|
|||
|
/*----------------------------------------------*/
|
|||
|
/* end of header -- change NOTHING in this file */
|
|||
|
/*----------------------------------------------*/
|
|||
|
|