104 lines
3 KiB
C
104 lines
3 KiB
C
|
|
#define INVENTORY_NONE 0
|
|
//pickups
|
|
#define INVENTORY_ARMOR 1
|
|
#define INVENTORY_HEALTH 2
|
|
//items
|
|
#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
|
|
//weapons
|
|
#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
|
|
//ammo
|
|
#define INVENTORY_AMMO_FORCE 22
|
|
#define INVENTORY_AMMO_BLASTER 23
|
|
#define INVENTORY_AMMO_BOLTS 24
|
|
#define INVENTORY_AMMO_ROCKETS 25
|
|
//powerups
|
|
#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
|
|
|
|
//enemy stuff
|
|
#define ENEMY_HORIZONTAL_DIST 200
|
|
#define ENEMY_HEIGHT 201
|
|
#define NUM_VISIBLE_ENEMIES 202
|
|
#define NUM_VISIBLE_TEAMMATES 203
|
|
|
|
// NOTENOTE Update this so that it is in sync.
|
|
//item numbers (make sure they are in sync with bg_itemlist in bg_misc.c)
|
|
//pickups
|
|
#define MODELINDEX_ARMOR 1
|
|
#define MODELINDEX_HEALTH 2
|
|
//items
|
|
#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
|
|
//weapons
|
|
#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
|
|
//ammo
|
|
#define MODELINDEX_AMMO_FORCE 22
|
|
#define MODELINDEX_AMMO_BLASTER 23
|
|
#define MODELINDEX_AMMO_BOLTS 24
|
|
#define MODELINDEX_AMMO_ROCKETS 25
|
|
//powerups
|
|
#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
|