add Berkeley specific header
[unix-history] / usr / src / games / cribbage / cribcur.h
CommitLineData
6cca9b39
KM
1/*
2 * Copyright (c) 1980 Regents of the University of California.
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 *
6 * @(#)cribcur.h 5.1 (Berkeley) %G%
7 */
9a6fbd6d 8
62136f2a
KA
9# define PLAY_Y 15 /* size of player's hand window */
10# define PLAY_X 12
11# define TABLE_Y 21 /* size of table window */
12# define TABLE_X 14
13# define COMP_Y 15 /* size of computer's hand window */
14# define COMP_X 12
f6867294 15# define Y_SCORE_SZ 9 /* Y size of score board */
39911be8 16# define X_SCORE_SZ 41 /* X size of score board */
f6867294
KA
17# define SCORE_Y 0 /* starting position of scoring board */
18# define SCORE_X (PLAY_X + TABLE_X + COMP_X)
62136f2a 19# define CRIB_Y 17 /* position of crib (cut card) */
f6867294 20# define CRIB_X (PLAY_X + TABLE_X)
39911be8 21# define MSG_Y (LINES - (Y_SCORE_SZ + 1))
f6867294
KA
22# define MSG_X (COLS - SCORE_X - 1)
23# define Y_MSG_START (Y_SCORE_SZ + 1)
fe9bb60c
KA
24
25# define PEG '*' /* what a peg looks like on the board */
26
39911be8
KA
27extern WINDOW *Compwin; /* computer's hand window */
28extern WINDOW *Msgwin; /* message window */
fe9bb60c
KA
29extern WINDOW *Playwin; /* player's hand window */
30extern WINDOW *Tablewin; /* table window */