|
|
1.1 root 1: /*
2: * Copyright (c) 1980 Regents of the University of California.
3: * All rights reserved.
4: *
5: * Redistribution and use in source and binary forms are permitted
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.
16: *
17: * @(#)cribcur.h 5.3 (Berkeley) 6/18/88
18: */
19:
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
26: # define Y_SCORE_SZ 9 /* Y size of score board */
27: # define X_SCORE_SZ 41 /* X size of score board */
28: # define SCORE_Y 0 /* starting position of scoring board */
29: # define SCORE_X (PLAY_X + TABLE_X + COMP_X)
30: # define CRIB_Y 17 /* position of crib (cut card) */
31: # define CRIB_X (PLAY_X + TABLE_X)
32: # define MSG_Y (LINES - (Y_SCORE_SZ + 1))
33: # define MSG_X (COLS - SCORE_X - 1)
34: # define Y_MSG_START (Y_SCORE_SZ + 1)
35:
36: # define PEG '*' /* what a peg looks like on the board */
37:
38: extern WINDOW *Compwin; /* computer's hand window */
39: extern WINDOW *Msgwin; /* message window */
40: extern WINDOW *Playwin; /* player's hand window */
41: extern WINDOW *Tablewin; /* table window */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.