xref: /original-bsd/games/cribbage/cribcur.h (revision f635d845)
1 /*
2  * Copyright (c) 1980, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)cribcur.h	8.1 (Berkeley) 05/31/93
8  */
9 
10 # define	PLAY_Y		15	/* size of player's hand window */
11 # define	PLAY_X		12
12 # define	TABLE_Y		21	/* size of table window */
13 # define	TABLE_X		14
14 # define	COMP_Y		15	/* size of computer's hand window */
15 # define	COMP_X		12
16 # define	Y_SCORE_SZ	9	/* Y size of score board */
17 # define	X_SCORE_SZ	41	/* X size of score board */
18 # define	SCORE_Y		0	/* starting position of scoring board */
19 # define	SCORE_X	 	(PLAY_X + TABLE_X + COMP_X)
20 # define	CRIB_Y		17	/* position of crib (cut card) */
21 # define	CRIB_X		(PLAY_X + TABLE_X)
22 # define	MSG_Y		(LINES - (Y_SCORE_SZ + 1))
23 # define	MSG_X		(COLS - SCORE_X - 1)
24 # define	Y_MSG_START	(Y_SCORE_SZ + 1)
25 
26 # define	PEG	'*'	/* what a peg looks like on the board */
27 
28 extern	WINDOW		*Compwin;		/* computer's hand window */
29 extern	WINDOW		*Msgwin;		/* message window */
30 extern	WINDOW		*Playwin;		/* player's hand window */
31 extern	WINDOW		*Tablewin;		/* table window */
32