xref: /csrg-svn/games/cribbage/cribcur.h (revision 60777)
121510Smckusick /*
2*60777Sbostic  * Copyright (c) 1980, 1993
3*60777Sbostic  *	The Regents of the University of California.  All rights reserved.
421510Smckusick  *
542576Sbostic  * %sccs.include.redist.c%
633706Sbostic  *
7*60777Sbostic  *	@(#)cribcur.h	8.1 (Berkeley) 05/31/93
821510Smckusick  */
912574Sarnold 
1012157Sarnold # define	PLAY_Y		15	/* size of player's hand window */
1112157Sarnold # define	PLAY_X		12
1212157Sarnold # define	TABLE_Y		21	/* size of table window */
1312157Sarnold # define	TABLE_X		14
1412157Sarnold # define	COMP_Y		15	/* size of computer's hand window */
1512157Sarnold # define	COMP_X		12
1612316Sarnold # define	Y_SCORE_SZ	9	/* Y size of score board */
1712163Sarnold # define	X_SCORE_SZ	41	/* X size of score board */
1812316Sarnold # define	SCORE_Y		0	/* starting position of scoring board */
1912316Sarnold # define	SCORE_X	 	(PLAY_X + TABLE_X + COMP_X)
2012157Sarnold # define	CRIB_Y		17	/* position of crib (cut card) */
2112316Sarnold # define	CRIB_X		(PLAY_X + TABLE_X)
2212163Sarnold # define	MSG_Y		(LINES - (Y_SCORE_SZ + 1))
2312316Sarnold # define	MSG_X		(COLS - SCORE_X - 1)
2412316Sarnold # define	Y_MSG_START	(Y_SCORE_SZ + 1)
257950Sarnold 
267950Sarnold # define	PEG	'*'	/* what a peg looks like on the board */
277950Sarnold 
2812163Sarnold extern	WINDOW		*Compwin;		/* computer's hand window */
2912163Sarnold extern	WINDOW		*Msgwin;		/* message window */
307950Sarnold extern	WINDOW		*Playwin;		/* player's hand window */
317950Sarnold extern	WINDOW		*Tablewin;		/* table window */
32