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) 5/30/85
   7:  */
   8: 
   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
  15: # define    Y_SCORE_SZ  9   /* Y size of score board */
  16: # define    X_SCORE_SZ  41  /* X size of score board */
  17: # define    SCORE_Y     0   /* starting position of scoring board */
  18: # define    SCORE_X     (PLAY_X + TABLE_X + COMP_X)
  19: # define    CRIB_Y      17  /* position of crib (cut card) */
  20: # define    CRIB_X      (PLAY_X + TABLE_X)
  21: # define    MSG_Y       (LINES - (Y_SCORE_SZ + 1))
  22: # define    MSG_X       (COLS - SCORE_X - 1)
  23: # define    Y_MSG_START (Y_SCORE_SZ + 1)
  24: 
  25: # define    PEG '*' /* what a peg looks like on the board */
  26: 
  27: extern  WINDOW      *Compwin;       /* computer's hand window */
  28: extern  WINDOW      *Msgwin;        /* message window */
  29: extern  WINDOW      *Playwin;       /* player's hand window */
  30: extern  WINDOW      *Tablewin;      /* table window */

Defined macros

COMP_X defined in line 14; used 2 times
COMP_Y defined in line 13; used 1 times
CRIB_X defined in line 20; used 2 times
CRIB_Y defined in line 19; used 4 times
MSG_X defined in line 22; used 6 times
MSG_Y defined in line 21; used 6 times
PEG defined in line 25; used 1 times
PLAY_X defined in line 10; used 5 times
PLAY_Y defined in line 9; used 1 times
SCORE_X defined in line 18; used 19 times
SCORE_Y defined in line 17; used 14 times
TABLE_X defined in line 12; used 4 times
TABLE_Y defined in line 11; used 1 times
X_SCORE_SZ defined in line 16; never used
Y_MSG_START defined in line 23; used 3 times
Y_SCORE_SZ defined in line 15; used 2 times

Usage of this include

Last modified: 1985-05-31
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1011
Valid CSS Valid XHTML 1.0 Strict