Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

45 lines
696 B

/****************/
/* file: rtns.h */
/****************/
/* A ball is a ball, a blk is where you put a ball */
/*** Bitmaps ***/
/* Blocks */
#define iBallBlank 0
#define iBallBlue 1
#define iBallRed 2
#define iBallGrey 3
#define iBallMask 4
#define iBallMax 5
#define iComputer 1
#define iHuman 2
#define cDimMax 4 /* Maximum Number of dimensions */
#define cBlkMax 64 /* total number of possible squares */
#define iBlkNil -1
typedef INT POS;
typedef INT BALL;
typedef INT BLK;
/*** Routines ***/
VOID SetupData(VOID);
VOID StartGame(VOID);
VOID StopGame(VOID);
VOID DoTimer(VOID);
VOID DoMove(BLK);
VOID UnDoMove(VOID);