Annotation of 43BSDReno/games/cribbage/cribcur.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Copyright (c) 1980 Regents of the University of California.
                      3:  * All rights reserved.
                      4:  *
                      5:  * Redistribution and use in source and binary forms are permitted
                      6:  * provided that: (1) source distributions retain this entire copyright
                      7:  * notice and comment, and (2) distributions including binaries display
                      8:  * the following acknowledgement:  ``This product includes software
                      9:  * developed by the University of California, Berkeley and its contributors''
                     10:  * in the documentation or other materials provided with the distribution
                     11:  * and in all advertising materials mentioning features or use of this
                     12:  * software. Neither the name of the University nor the names of its
                     13:  * contributors may be used to endorse or promote products derived
                     14:  * from this software without specific prior written permission.
                     15:  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
                     16:  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
                     17:  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                     18:  *
                     19:  *     @(#)cribcur.h   5.4 (Berkeley) 6/1/90
                     20:  */
                     21: 
                     22: # define       PLAY_Y          15      /* size of player's hand window */
                     23: # define       PLAY_X          12
                     24: # define       TABLE_Y         21      /* size of table window */
                     25: # define       TABLE_X         14
                     26: # define       COMP_Y          15      /* size of computer's hand window */
                     27: # define       COMP_X          12
                     28: # define       Y_SCORE_SZ      9       /* Y size of score board */
                     29: # define       X_SCORE_SZ      41      /* X size of score board */
                     30: # define       SCORE_Y         0       /* starting position of scoring board */
                     31: # define       SCORE_X         (PLAY_X + TABLE_X + COMP_X)
                     32: # define       CRIB_Y          17      /* position of crib (cut card) */
                     33: # define       CRIB_X          (PLAY_X + TABLE_X)
                     34: # define       MSG_Y           (LINES - (Y_SCORE_SZ + 1))
                     35: # define       MSG_X           (COLS - SCORE_X - 1)
                     36: # define       Y_MSG_START     (Y_SCORE_SZ + 1)
                     37: 
                     38: # define       PEG     '*'     /* what a peg looks like on the board */
                     39: 
                     40: extern WINDOW          *Compwin;               /* computer's hand window */
                     41: extern WINDOW          *Msgwin;                /* message window */
                     42: extern WINDOW          *Playwin;               /* player's hand window */
                     43: extern WINDOW          *Tablewin;              /* table window */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.