|
|
1.1 root 1: /* @(#)cribcur.h 1.5 (Berkeley) 5/19/83 */
2:
3: # define PLAY_Y 15 /* size of player's hand window */
4: # define PLAY_X 12
5: # define TABLE_Y 21 /* size of table window */
6: # define TABLE_X 14
7: # define COMP_Y 15 /* size of computer's hand window */
8: # define COMP_X 12
9: # define Y_SCORE_SZ 9 /* Y size of score board */
10: # define X_SCORE_SZ 41 /* X size of score board */
11: # define SCORE_Y 0 /* starting position of scoring board */
12: # define SCORE_X (PLAY_X + TABLE_X + COMP_X)
13: # define CRIB_Y 17 /* position of crib (cut card) */
14: # define CRIB_X (PLAY_X + TABLE_X)
15: # define MSG_Y (LINES - (Y_SCORE_SZ + 1))
16: # define MSG_X (COLS - SCORE_X - 1)
17: # define Y_MSG_START (Y_SCORE_SZ + 1)
18:
19: # define PEG '*' /* what a peg looks like on the board */
20:
21: extern WINDOW *Compwin; /* computer's hand window */
22: extern WINDOW *Msgwin; /* message window */
23: extern WINDOW *Playwin; /* player's hand window */
24: extern WINDOW *Tablewin; /* table window */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.