1 /* 2 =========================================================================== 3 4 Return to Castle Wolfenstein single player GPL Source Code 5 Copyright (C) 1999-2010 id Software LLC, a ZeniMax Media company. 6 7 This file is part of the Return to Castle Wolfenstein single player GPL Source Code (RTCW SP Source Code). 8 9 RTCW SP Source Code is free software: you can redistribute it and/or modify 10 it under the terms of the GNU General Public License as published by 11 the Free Software Foundation, either version 3 of the License, or 12 (at your option) any later version. 13 14 RTCW SP Source Code is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU General Public License for more details. 18 19 You should have received a copy of the GNU General Public License 20 along with RTCW SP Source Code. If not, see <http://www.gnu.org/licenses/>. 21 22 In addition, the RTCW SP Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the RTCW SP Source Code. If not, please request a copy in writing from id Software at the address below. 23 24 If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 25 26 =========================================================================== 27 */ 28 29 /* 30 * name: inv.h 31 * 32 * desc: 33 * 34 */ 35 36 37 #define INVENTORY_NONE 0 38 //armor 39 #define INVENTORY_ARMOR 1 40 //weapons 41 #define INVENTORY_LUGER 4 42 #define INVENTORY_MAUSER 5 43 #define INVENTORY_MP40 6 44 #define INVENTORY_SP5 7 45 #define INVENTORY_ROCKETLAUNCHER 8 46 #define INVENTORY_GRENADELAUNCHER 9 47 #define INVENTORY_VENOM 10 48 #define INVENTORY_FLAMETHROWER 11 49 #define INVENTORY_CROSS 12 50 51 #define INVENTORY_GAUNTLET 13 52 53 54 // please leave these open up to 27 (INVENTORY_9MM) (and double check defines when merging) 55 // the inventory max (MAX_ITEMS) is 256, so we aren't too concerned about running out of space 56 57 //ammo 58 #define INVENTORY_9MM 27 59 #define INVENTORY_792MM 28 60 #define INVENTORY_SP5AMMO 29 61 #define INVENTORY_ROCKETS 30 62 #define INVENTORY_GRENADES 31 63 #define INVENTORY_127MM 32 64 #define INVENTORY_FUEL 33 65 #define INVENTORY_CHARGES 34 66 67 // please leave these open up to 48 (INVENTORY_HEALTH) (and double check defines when merging) 68 // the inventory max (MAX_ITEMS) is 256, so we aren't too concerned about running out of space 69 70 //powerups 71 #define INVENTORY_HEALTH 48 72 #define INVENTORY_TELEPORTER 49 73 #define INVENTORY_MEDKIT 50 74 #define INVENTORY_QUAD 51 75 #define INVENTORY_ENVIRONMENTSUIT 52 76 #define INVENTORY_HASTE 53 77 #define INVENTORY_INVISIBILITY 54 78 #define INVENTORY_REGEN 55 79 #define INVENTORY_FLIGHT 56 80 #define INVENTORY_REDFLAG 57 81 #define INVENTORY_BLUEFLAG 58 82 //enemy stuff 83 #define ENEMY_HORIZONTAL_DIST 200 84 #define ENEMY_HEIGHT 201 85 #define NUM_VISIBLE_ENEMIES 202 86 #define NUM_VISIBLE_TEAMMATES 203 87 88 //item numbers (make sure they are in sync with bg_itemlist in bg_misc.c) 89 #define MODELINDEX_ARMORSHARD 1 90 #define MODELINDEX_ARMORCOMBAT 2 91 #define MODELINDEX_ARMORBODY 3 92 #define MODELINDEX_HEALTHSMALL 4 93 #define MODELINDEX_HEALTH 5 94 #define MODELINDEX_HEALTHLARGE 6 95 #define MODELINDEX_HEALTHMEGA 7 96 97 #define MODELINDEX_GAUNTLET 8 98 #define MODELINDEX_SHOTGUN 9 99 #define MODELINDEX_MACHINEGUN 10 100 #define MODELINDEX_GRENADELAUNCHER 11 101 #define MODELINDEX_ROCKETLAUNCHER 12 102 #define MODELINDEX_LIGHTNING 13 103 #define MODELINDEX_RAILGUN 14 104 #define MODELINDEX_SP5 15 105 #define MODELINDEX_BFG10K 16 106 #define MODELINDEX_GRAPPLINGHOOK 17 107 108 #define MODELINDEX_SHELLS 18 109 #define MODELINDEX_BULLETS 19 110 #define MODELINDEX_GRENADES 20 111 #define MODELINDEX_CELLS 21 112 #define MODELINDEX_LIGHTNINGAMMO 22 113 #define MODELINDEX_ROCKETS 23 114 #define MODELINDEX_SLUGS 24 115 #define MODELINDEX_BFGAMMO 25 116 117 #define MODELINDEX_TELEPORTER 26 118 #define MODELINDEX_MEDKIT 27 119 #define MODELINDEX_QUAD 28 120 #define MODELINDEX_ENVIRONMENTSUIT 29 121 #define MODELINDEX_HASTE 30 122 #define MODELINDEX_INVISIBILITY 31 123 #define MODELINDEX_REGEN 32 124 #define MODELINDEX_FLIGHT 33 125 #define MODELINDEX_REDFLAG 34 126 #define MODELINDEX_BLUEFLAG 35 127 128 129