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   "robots.h"
  12: 
  13: bool    Dead;           /* Player is now dead */
  14: bool    Full_clear = TRUE;  /* Lots of junk for init_field to clear */
  15: bool    Jump = FALSE;       /* Jump while running, counting, or waiting */
  16: bool    Newscore;       /* There was a new score added */
  17: #ifdef  FANCY
  18: bool    Pattern_roll = FALSE;   /* Auto play for YHBJNLUK pattern */
  19: #endif
  20: bool    Real_time = FALSE;  /* Play in real time? */
  21: bool    Running = FALSE;    /* Currently in the middle of a run */
  22: #ifdef  FANCY
  23: bool    Stand_still = FALSE;    /* Auto play for standing still pattern */
  24: #endif
  25: bool    Teleport = FALSE;   /* Teleport automatically when player must */
  26: bool    Waiting;        /* Player is waiting for end */
  27: bool    Was_bonus = FALSE;  /* Was a bonus last level */
  28: 
  29: char    Cnt_move;       /* Command which has preceded the count */
  30: char    Field[Y_FIELDSIZE][X_FIELDSIZE];    /* the playing field itslef */
  31: char    *Next_move;     /* Next move to be used in the pattern */
  32: char    *Move_list = "YHBJNLUK";/* List of moves in the pattern */
  33: char    Run_ch;         /* Character for the direction we are running */
  34: 
  35: int Count = 0;      /* Command count */
  36: int Level;          /* Current level */
  37: int Num_robots;     /* Number of robots left */
  38: int Num_scores;     /* Number of scores posted */
  39: int Score;          /* Current score */
  40: int Start_level = 1;    /* Level on which to start */
  41: int Wait_bonus;     /* bonus for waiting */
  42: 
  43: COORD   Max;            /* Max area robots take up */
  44: COORD   Min;            /* Min area robots take up */
  45: COORD   My_pos;         /* Player's current position */
  46: COORD   Robots[MAXROBOTS];  /* Robots' current positions */
  47: 
  48: jmp_buf End_move;       /* Jump to on Real_time */

Defined variables

Cnt_move defined in line 29; never used
Count defined in line 35; never used
End_move defined in line 48; never used
Field defined in line 30; never used
Level defined in line 36; never used
Move_list defined in line 32; never used
Next_move defined in line 31; never used
Num_robots defined in line 37; never used
Num_scores defined in line 38; used 1 times
Run_ch defined in line 33; never used
Score defined in line 39; used 6 times
Start_level defined in line 40; never used
Wait_bonus defined in line 41; never used
sccsid defined in line 8; never used
Last modified: 1985-05-31
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1127
Valid CSS Valid XHTML 1.0 Strict