codemp/game/inv.h File Reference

Go to the source code of this file.

Defines

#define INVENTORY_NONE   0
#define INVENTORY_ARMOR   1
#define INVENTORY_HEALTH   2
#define INVENTORY_SEEKER   3
#define INVENTORY_MEDPAC   4
#define INVENTORY_DATAPAD   5
#define INVENTORY_BINOCULARS   6
#define INVENTORY_SENTRY_GUN   7
#define INVENTORY_GOGGLES   8
#define INVENTORY_STUN_BATON   9
#define INVENTORY_SABER   10
#define INVENTORY_BRYAR_PISTOL   11
#define INVENTORY_BLASTER   12
#define INVENTORY_DISRUPTOR   13
#define INVENTORY_BOWCASTER   14
#define INVENTORY_REPEATER   15
#define INVENTORY_DEMP2   16
#define INVENTORY_FLECHETTE   17
#define INVENTORY_ROCKET_LAUNCHER   18
#define INVENTORY_THERMAL   19
#define INVENTORY_TRIP_MINE   20
#define INVENTORY_DET_PACK   21
#define INVENTORY_AMMO_FORCE   22
#define INVENTORY_AMMO_BLASTER   23
#define INVENTORY_AMMO_BOLTS   24
#define INVENTORY_AMMO_ROCKETS   25
#define INVENTORY_REDFLAG   26
#define INVENTORY_BLUEFLAG   27
#define INVENTORY_SCOUT   28
#define INVENTORY_GUARD   29
#define INVENTORY_DOUBLER   30
#define INVENTORY_AMMOREGEN   31
#define INVENTORY_NEUTRALFLAG   32
#define INVENTORY_REDCUBE   33
#define INVENTORY_BLUECUBE   34
#define ENEMY_HORIZONTAL_DIST   200
#define ENEMY_HEIGHT   201
#define NUM_VISIBLE_ENEMIES   202
#define NUM_VISIBLE_TEAMMATES   203
#define MODELINDEX_ARMOR   1
#define MODELINDEX_HEALTH   2
#define MODELINDEX_SEEKER   3
#define MODELINDEX_MEDPAC   4
#define MODELINDEX_DATAPAD   5
#define MODELINDEX_BINOCULARS   6
#define MODELINDEX_SENTRY_GUN   7
#define MODELINDEX_GOGGLES   8
#define MODELINDEX_STUN_BATON   9
#define MODELINDEX_SABER   10
#define MODELINDEX_BRYAR_PISTOL   11
#define MODELINDEX_BLASTER   12
#define MODELINDEX_DISRUPTOR   13
#define MODELINDEX_BOWCASTER   14
#define MODELINDEX_REPEATER   15
#define MODELINDEX_DEMP2   16
#define MODELINDEX_FLECHETTE   17
#define MODELINDEX_ROCKET_LAUNCHER   18
#define MODELINDEX_THERMAL   19
#define MODELINDEX_TRIP_MINE   20
#define MODELINDEX_DET_PACK   21
#define MODELINDEX_AMMO_FORCE   22
#define MODELINDEX_AMMO_BLASTER   23
#define MODELINDEX_AMMO_BOLTS   24
#define MODELINDEX_AMMO_ROCKETS   25
#define MODELINDEX_REDFLAG   26
#define MODELINDEX_BLUEFLAG   27
#define MODELINDEX_SCOUT   28
#define MODELINDEX_GUARD   29
#define MODELINDEX_DOUBLER   30
#define MODELINDEX_AMMOREGEN   31
#define MODELINDEX_NEUTRALFLAG   32
#define MODELINDEX_REDCUBE   33
#define MODELINDEX_BLUECUBE   34
#define WEAPONINDEX_STUN_BATON   1
#define WEAPONINDEX_SABER   2
#define WEAPONINDEX_BRYAR_PISTOL   3
#define WEAPONINDEX_BLASTER   4
#define WEAPONINDEX_DISRUPTOR   5
#define WEAPONINDEX_BOWCASTER   6
#define WEAPONINDEX_REPEATER   7
#define WEAPONINDEX_DEMP2   8
#define WEAPONINDEX_FLECHETTE   9
#define WEAPONINDEX_ROCKET_LAUNCHER   10
#define WEAPONINDEX_THERMAL   11
#define WEAPONINDEX_TRIP_MINE   12
#define WEAPONINDEX_DET_PACK   13


Define Documentation

#define ENEMY_HEIGHT   201
 

Definition at line 45 of file inv.h.

#define ENEMY_HORIZONTAL_DIST   200
 

Definition at line 44 of file inv.h.

#define INVENTORY_AMMO_BLASTER   23
 

Definition at line 29 of file inv.h.

#define INVENTORY_AMMO_BOLTS   24
 

Definition at line 30 of file inv.h.

#define INVENTORY_AMMO_FORCE   22
 

Definition at line 28 of file inv.h.

#define INVENTORY_AMMO_ROCKETS   25
 

Definition at line 31 of file inv.h.

#define INVENTORY_AMMOREGEN   31
 

Definition at line 38 of file inv.h.

#define INVENTORY_ARMOR   1
 

Definition at line 4 of file inv.h.

#define INVENTORY_BINOCULARS   6
 

Definition at line 10 of file inv.h.

#define INVENTORY_BLASTER   12
 

Definition at line 17 of file inv.h.

#define INVENTORY_BLUECUBE   34
 

Definition at line 41 of file inv.h.

#define INVENTORY_BLUEFLAG   27
 

Definition at line 34 of file inv.h.

#define INVENTORY_BOWCASTER   14
 

Definition at line 19 of file inv.h.

#define INVENTORY_BRYAR_PISTOL   11
 

Definition at line 16 of file inv.h.

#define INVENTORY_DATAPAD   5
 

Definition at line 9 of file inv.h.

#define INVENTORY_DEMP2   16
 

Definition at line 21 of file inv.h.

#define INVENTORY_DET_PACK   21
 

Definition at line 26 of file inv.h.

#define INVENTORY_DISRUPTOR   13
 

Definition at line 18 of file inv.h.

#define INVENTORY_DOUBLER   30
 

Definition at line 37 of file inv.h.

#define INVENTORY_FLECHETTE   17
 

Definition at line 22 of file inv.h.

#define INVENTORY_GOGGLES   8
 

Definition at line 12 of file inv.h.

#define INVENTORY_GUARD   29
 

Definition at line 36 of file inv.h.

#define INVENTORY_HEALTH   2
 

Definition at line 5 of file inv.h.

#define INVENTORY_MEDPAC   4
 

Definition at line 8 of file inv.h.

#define INVENTORY_NEUTRALFLAG   32
 

Definition at line 39 of file inv.h.

#define INVENTORY_NONE   0
 

Definition at line 2 of file inv.h.

#define INVENTORY_REDCUBE   33
 

Definition at line 40 of file inv.h.

#define INVENTORY_REDFLAG   26
 

Definition at line 33 of file inv.h.

#define INVENTORY_REPEATER   15
 

Definition at line 20 of file inv.h.

#define INVENTORY_ROCKET_LAUNCHER   18
 

Definition at line 23 of file inv.h.

#define INVENTORY_SABER   10
 

Definition at line 15 of file inv.h.

#define INVENTORY_SCOUT   28
 

Definition at line 35 of file inv.h.

#define INVENTORY_SEEKER   3
 

Definition at line 7 of file inv.h.

#define INVENTORY_SENTRY_GUN   7
 

Definition at line 11 of file inv.h.

#define INVENTORY_STUN_BATON   9
 

Definition at line 14 of file inv.h.

#define INVENTORY_THERMAL   19
 

Definition at line 24 of file inv.h.

#define INVENTORY_TRIP_MINE   20
 

Definition at line 25 of file inv.h.

#define MODELINDEX_AMMO_BLASTER   23
 

Definition at line 77 of file inv.h.

#define MODELINDEX_AMMO_BOLTS   24
 

Definition at line 78 of file inv.h.

#define MODELINDEX_AMMO_FORCE   22
 

Definition at line 76 of file inv.h.

#define MODELINDEX_AMMO_ROCKETS   25
 

Definition at line 79 of file inv.h.

#define MODELINDEX_AMMOREGEN   31
 

Definition at line 86 of file inv.h.

#define MODELINDEX_ARMOR   1
 

Definition at line 52 of file inv.h.

#define MODELINDEX_BINOCULARS   6
 

Definition at line 58 of file inv.h.

#define MODELINDEX_BLASTER   12
 

Definition at line 65 of file inv.h.

#define MODELINDEX_BLUECUBE   34
 

Definition at line 89 of file inv.h.

#define MODELINDEX_BLUEFLAG   27
 

Definition at line 82 of file inv.h.

#define MODELINDEX_BOWCASTER   14
 

Definition at line 67 of file inv.h.

#define MODELINDEX_BRYAR_PISTOL   11
 

Definition at line 64 of file inv.h.

#define MODELINDEX_DATAPAD   5
 

Definition at line 57 of file inv.h.

#define MODELINDEX_DEMP2   16
 

Definition at line 69 of file inv.h.

#define MODELINDEX_DET_PACK   21
 

Definition at line 74 of file inv.h.

#define MODELINDEX_DISRUPTOR   13
 

Definition at line 66 of file inv.h.

#define MODELINDEX_DOUBLER   30
 

Definition at line 85 of file inv.h.

#define MODELINDEX_FLECHETTE   17
 

Definition at line 70 of file inv.h.

#define MODELINDEX_GOGGLES   8
 

Definition at line 60 of file inv.h.

#define MODELINDEX_GUARD   29
 

Definition at line 84 of file inv.h.

#define MODELINDEX_HEALTH   2
 

Definition at line 53 of file inv.h.

#define MODELINDEX_MEDPAC   4
 

Definition at line 56 of file inv.h.

#define MODELINDEX_NEUTRALFLAG   32
 

Definition at line 87 of file inv.h.

#define MODELINDEX_REDCUBE   33
 

Definition at line 88 of file inv.h.

#define MODELINDEX_REDFLAG   26
 

Definition at line 81 of file inv.h.

#define MODELINDEX_REPEATER   15
 

Definition at line 68 of file inv.h.

#define MODELINDEX_ROCKET_LAUNCHER   18
 

Definition at line 71 of file inv.h.

#define MODELINDEX_SABER   10
 

Definition at line 63 of file inv.h.

#define MODELINDEX_SCOUT   28
 

Definition at line 83 of file inv.h.

#define MODELINDEX_SEEKER   3
 

Definition at line 55 of file inv.h.

#define MODELINDEX_SENTRY_GUN   7
 

Definition at line 59 of file inv.h.

#define MODELINDEX_STUN_BATON   9
 

Definition at line 62 of file inv.h.

#define MODELINDEX_THERMAL   19
 

Definition at line 72 of file inv.h.

#define MODELINDEX_TRIP_MINE   20
 

Definition at line 73 of file inv.h.

#define NUM_VISIBLE_ENEMIES   202
 

Definition at line 46 of file inv.h.

#define NUM_VISIBLE_TEAMMATES   203
 

Definition at line 47 of file inv.h.

#define WEAPONINDEX_BLASTER   4
 

Definition at line 95 of file inv.h.

#define WEAPONINDEX_BOWCASTER   6
 

Definition at line 97 of file inv.h.

#define WEAPONINDEX_BRYAR_PISTOL   3
 

Definition at line 94 of file inv.h.

#define WEAPONINDEX_DEMP2   8
 

Definition at line 99 of file inv.h.

#define WEAPONINDEX_DET_PACK   13
 

Definition at line 104 of file inv.h.

#define WEAPONINDEX_DISRUPTOR   5
 

Definition at line 96 of file inv.h.

#define WEAPONINDEX_FLECHETTE   9
 

Definition at line 100 of file inv.h.

#define WEAPONINDEX_REPEATER   7
 

Definition at line 98 of file inv.h.

#define WEAPONINDEX_ROCKET_LAUNCHER   10
 

Definition at line 101 of file inv.h.

#define WEAPONINDEX_SABER   2
 

Definition at line 93 of file inv.h.

#define WEAPONINDEX_STUN_BATON   1
 

Definition at line 92 of file inv.h.

#define WEAPONINDEX_THERMAL   11
 

Definition at line 102 of file inv.h.

#define WEAPONINDEX_TRIP_MINE   12
 

Definition at line 103 of file inv.h.