1: /* $Header: us.h,v 7.0.1.1 86/10/16 10:53:58 lwall Exp $ */
   2: 
   3: /* $Log:	us.h,v $
   4:  * Revision 7.0.1.1  86/10/16  10:53:58  lwall
   5:  * Added Damage.  Fixed random bugs.
   6:  *
   7:  * Revision 7.0  86/10/08  15:14:27  lwall
   8:  * Split into separate files.  Added amoebas and pirates.
   9:  *
  10:  */
  11: 
  12: EXT bool cloaking;
  13: EXT bool cloaked;
  14: 
  15: EXT int status;
  16: EXT int entmode;
  17: 
  18: EXT int evely;
  19: EXT int evelx;
  20: EXT int bvely;
  21: EXT int bvelx;
  22: 
  23: #define MAXDAMAGE 9
  24: #define NOWARP 0
  25: #define NOIMPULSE 1
  26: #define NOPHASERS 2
  27: #define NOTORPS 3
  28: #define NOCLOAKING 4
  29: #define NOSHIELDS 5
  30: #define NOZAPPER 6
  31: #define NODESTRUCT 7
  32: #define NOTRACTORS 8
  33: 
  34: EXT int dam INIT(0);
  35: EXT int lastdam INIT(-1);
  36: EXT int damage INIT(0);
  37: EXT int olddamage INIT(-1);
  38: 
  39: #ifdef DOINIT
  40: char *dammess[MAXDAMAGE] = {
  41:     "WARP",
  42:     "IMPULSE",
  43:     "PHASERS",
  44:     "TORPS",
  45:     "CLOAKING",
  46:     "SHIELDS",
  47:     "ZAPPER",
  48:     "DESTRUCT",
  49:     "TRACTORS"
  50: };
  51: char damflag[MAXDAMAGE] = {0,0,0,0,0,0,0,0,0};
  52: #else
  53: extern char *dammess[];
  54: extern char damflag[];
  55: #endif
  56: 
  57: void do_direction();
  58: void ctrl_direction();
  59: void shift_direction();
  60: void get_commands();
  61: void us_init();

Defined variables

bvelx defined in line 21; used 10 times
bvely defined in line 20; used 10 times
dam defined in line 34; used 16 times
damflag declared in line 54; defined in line 51; used 39 times
dammess declared in line 53; defined in line 40; used 3 times
evelx defined in line 19; used 14 times
evely defined in line 18; used 14 times
lastdam defined in line 35; used 3 times
olddamage defined in line 37; used 9 times
status defined in line 15; used 32 times

Defined macros

MAXDAMAGE defined in line 23; used 6 times
NOCLOAKING defined in line 28; used 2 times
NODESTRUCT defined in line 31; used 6 times
NOIMPULSE defined in line 25; used 4 times
NOPHASERS defined in line 26; used 2 times
NOSHIELDS defined in line 29; used 6 times
NOTORPS defined in line 27; used 2 times
NOTRACTORS defined in line 32; used 2 times
NOWARP defined in line 24; used 4 times
NOZAPPER defined in line 30; used 2 times

Usage of this include

Last modified: 1987-06-19
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 953
Valid CSS Valid XHTML 1.0 Strict