|
|
1.1 ! root 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 */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.