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: 
   7: #ifndef lint
   8: static char sccsid[] = "@(#)extern.c	5.1 (Berkeley) 5/30/85";
   9: #endif not lint
  10: 
  11: # include   <curses.h>
  12: # include   "deck.h"
  13: # include   "cribbage.h"
  14: 
  15: bool    explain     = FALSE;    /* player mistakes explained */
  16: bool    iwon        = FALSE;    /* if comp won last game */
  17: bool    quiet       = FALSE;    /* if suppress random mess */
  18: bool    rflag       = FALSE;    /* if all cuts random */
  19: 
  20: char    expl[128];          /* explanation */
  21: 
  22: int cgames      = 0;        /* number games comp won */
  23: int cscore      = 0;        /* comp score in this game */
  24: int gamecount   = 0;        /* number games played */
  25: int glimit      = LGAME;    /* game playe to glimit */
  26: int knownum     = 0;        /* number of cards we know */
  27: int pgames      = 0;        /* number games player won */
  28: int pscore      = 0;        /* player score in this game */
  29: 
  30: CARD    chand[FULLHAND];        /* computer's hand */
  31: CARD    crib[CINHAND];          /* the crib */
  32: CARD    deck[CARDS];            /* a deck */
  33: CARD    known[CARDS];           /* cards we have seen */
  34: CARD    phand[FULLHAND];        /* player's hand */
  35: CARD    turnover;           /* the starter */
  36: 
  37: WINDOW  *Compwin;           /* computer's hand window */
  38: WINDOW  *Msgwin;            /* messages for the player */
  39: WINDOW  *Playwin;           /* player's hand window */
  40: WINDOW  *Tablewin;          /* table window */

Defined variables

cgames defined in line 22; never used
cscore defined in line 23; used 3 times
expl defined in line 20; used 15 times
gamecount defined in line 24; never used
glimit defined in line 25; used 2 times
knownum defined in line 26; never used
pgames defined in line 27; never used
pscore defined in line 28; used 3 times
sccsid defined in line 8; never used
Last modified: 1985-05-31
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 967
Valid CSS Valid XHTML 1.0 Strict