codemp/game/inv.h

Go to the documentation of this file.
00001 
00002 #define INVENTORY_NONE                          0
00003 //pickups
00004 #define INVENTORY_ARMOR                         1
00005 #define INVENTORY_HEALTH                        2
00006 //items
00007 #define INVENTORY_SEEKER                        3
00008 #define INVENTORY_MEDPAC                        4
00009 #define INVENTORY_DATAPAD                       5
00010 #define INVENTORY_BINOCULARS            6
00011 #define INVENTORY_SENTRY_GUN            7
00012 #define INVENTORY_GOGGLES                       8
00013 //weapons
00014 #define INVENTORY_STUN_BATON            9
00015 #define INVENTORY_SABER                         10
00016 #define INVENTORY_BRYAR_PISTOL          11
00017 #define INVENTORY_BLASTER                       12
00018 #define INVENTORY_DISRUPTOR                     13
00019 #define INVENTORY_BOWCASTER                     14
00020 #define INVENTORY_REPEATER                      15
00021 #define INVENTORY_DEMP2                         16
00022 #define INVENTORY_FLECHETTE                     17
00023 #define INVENTORY_ROCKET_LAUNCHER       18
00024 #define INVENTORY_THERMAL                       19
00025 #define INVENTORY_TRIP_MINE                     20
00026 #define INVENTORY_DET_PACK                      21
00027 //ammo
00028 #define INVENTORY_AMMO_FORCE            22
00029 #define INVENTORY_AMMO_BLASTER          23
00030 #define INVENTORY_AMMO_BOLTS            24
00031 #define INVENTORY_AMMO_ROCKETS          25
00032 //powerups
00033 #define INVENTORY_REDFLAG                       26
00034 #define INVENTORY_BLUEFLAG                      27
00035 #define INVENTORY_SCOUT                         28
00036 #define INVENTORY_GUARD                         29
00037 #define INVENTORY_DOUBLER                       30
00038 #define INVENTORY_AMMOREGEN                     31
00039 #define INVENTORY_NEUTRALFLAG           32
00040 #define INVENTORY_REDCUBE                       33
00041 #define INVENTORY_BLUECUBE                      34
00042 
00043 //enemy stuff
00044 #define ENEMY_HORIZONTAL_DIST           200
00045 #define ENEMY_HEIGHT                            201
00046 #define NUM_VISIBLE_ENEMIES                     202
00047 #define NUM_VISIBLE_TEAMMATES           203
00048 
00049 // NOTENOTE Update this so that it is in sync.
00050 //item numbers (make sure they are in sync with bg_itemlist in bg_misc.c)
00051 //pickups
00052 #define MODELINDEX_ARMOR                        1
00053 #define MODELINDEX_HEALTH                       2
00054 //items
00055 #define MODELINDEX_SEEKER                       3
00056 #define MODELINDEX_MEDPAC                       4
00057 #define MODELINDEX_DATAPAD                      5
00058 #define MODELINDEX_BINOCULARS           6
00059 #define MODELINDEX_SENTRY_GUN           7
00060 #define MODELINDEX_GOGGLES                      8
00061 //weapons
00062 #define MODELINDEX_STUN_BATON           9
00063 #define MODELINDEX_SABER                        10
00064 #define MODELINDEX_BRYAR_PISTOL         11
00065 #define MODELINDEX_BLASTER                      12
00066 #define MODELINDEX_DISRUPTOR            13
00067 #define MODELINDEX_BOWCASTER            14
00068 #define MODELINDEX_REPEATER                     15
00069 #define MODELINDEX_DEMP2                        16
00070 #define MODELINDEX_FLECHETTE            17
00071 #define MODELINDEX_ROCKET_LAUNCHER      18
00072 #define MODELINDEX_THERMAL                      19
00073 #define MODELINDEX_TRIP_MINE            20
00074 #define MODELINDEX_DET_PACK                     21
00075 //ammo
00076 #define MODELINDEX_AMMO_FORCE           22
00077 #define MODELINDEX_AMMO_BLASTER         23
00078 #define MODELINDEX_AMMO_BOLTS           24
00079 #define MODELINDEX_AMMO_ROCKETS         25
00080 //powerups
00081 #define MODELINDEX_REDFLAG                      26
00082 #define MODELINDEX_BLUEFLAG                     27
00083 #define MODELINDEX_SCOUT                        28
00084 #define MODELINDEX_GUARD                        29
00085 #define MODELINDEX_DOUBLER                      30
00086 #define MODELINDEX_AMMOREGEN            31
00087 #define MODELINDEX_NEUTRALFLAG          32
00088 #define MODELINDEX_REDCUBE                      33
00089 #define MODELINDEX_BLUECUBE                     34
00090 
00091 //
00092 #define WEAPONINDEX_STUN_BATON          1
00093 #define WEAPONINDEX_SABER                       2
00094 #define WEAPONINDEX_BRYAR_PISTOL        3
00095 #define WEAPONINDEX_BLASTER                     4
00096 #define WEAPONINDEX_DISRUPTOR           5
00097 #define WEAPONINDEX_BOWCASTER           6
00098 #define WEAPONINDEX_REPEATER            7
00099 #define WEAPONINDEX_DEMP2                       8
00100 #define WEAPONINDEX_FLECHETTE           9
00101 #define WEAPONINDEX_ROCKET_LAUNCHER     10
00102 #define WEAPONINDEX_THERMAL                     11
00103 #define WEAPONINDEX_TRIP_MINE           12
00104 #define WEAPONINDEX_DET_PACK            13