Commit | Line | Data |
---|---|---|
6cca9b39 KM |
1 | /* |
2 | * Copyright (c) 1980 Regents of the University of California. | |
bf870064 | 3 | * All rights reserved. |
6cca9b39 | 4 | * |
bf870064 | 5 | * Redistribution and use in source and binary forms are permitted |
b8c620d6 KB |
6 | * provided that the above copyright notice and this paragraph are |
7 | * duplicated in all such forms and that any documentation, | |
8 | * advertising materials, and other materials related to such | |
9 | * distribution and use acknowledge that the software was developed | |
10 | * by the University of California, Berkeley. The name of the | |
11 | * University may not be used to endorse or promote products derived | |
12 | * from this software without specific prior written permission. | |
13 | * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | |
14 | * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | |
15 | * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |
bf870064 | 16 | * |
b8c620d6 | 17 | * @(#)cribcur.h 5.3 (Berkeley) %G% |
6cca9b39 | 18 | */ |
9a6fbd6d | 19 | |
62136f2a KA |
20 | # define PLAY_Y 15 /* size of player's hand window */ |
21 | # define PLAY_X 12 | |
22 | # define TABLE_Y 21 /* size of table window */ | |
23 | # define TABLE_X 14 | |
24 | # define COMP_Y 15 /* size of computer's hand window */ | |
25 | # define COMP_X 12 | |
f6867294 | 26 | # define Y_SCORE_SZ 9 /* Y size of score board */ |
39911be8 | 27 | # define X_SCORE_SZ 41 /* X size of score board */ |
f6867294 KA |
28 | # define SCORE_Y 0 /* starting position of scoring board */ |
29 | # define SCORE_X (PLAY_X + TABLE_X + COMP_X) | |
62136f2a | 30 | # define CRIB_Y 17 /* position of crib (cut card) */ |
f6867294 | 31 | # define CRIB_X (PLAY_X + TABLE_X) |
39911be8 | 32 | # define MSG_Y (LINES - (Y_SCORE_SZ + 1)) |
f6867294 KA |
33 | # define MSG_X (COLS - SCORE_X - 1) |
34 | # define Y_MSG_START (Y_SCORE_SZ + 1) | |
fe9bb60c KA |
35 | |
36 | # define PEG '*' /* what a peg looks like on the board */ | |
37 | ||
39911be8 KA |
38 | extern WINDOW *Compwin; /* computer's hand window */ |
39 | extern WINDOW *Msgwin; /* message window */ | |
fe9bb60c KA |
40 | extern WINDOW *Playwin; /* player's hand window */ |
41 | extern WINDOW *Tablewin; /* table window */ |