1 //------------------------------------------------------------------------- 2 /* 3 Copyright (C) 2016 EDuke32 developers and contributors 4 5 This file is part of EDuke32. 6 7 EDuke32 is free software; you can redistribute it and/or 8 modify it under the terms of the GNU General Public License version 2 9 as published by the Free Software Foundation. 10 11 This program is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14 15 See the GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with this program; if not, write to the Free Software 19 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 */ 21 //------------------------------------------------------------------------- 22 23 #pragma once 24 25 enum dukeinv_t 26 { 27 GET_STEROIDS, // 0 28 GET_SHIELD, 29 GET_SCUBA, 30 GET_HOLODUKE, 31 GET_JETPACK, 32 GET_DUMMY1, // 5 33 GET_ACCESS, 34 GET_HEATS, 35 GET_DUMMY2, 36 GET_FIRSTAID, 37 GET_BOOTS, // 10 38 GET_MAX 39 }; 40 41 // these are not in the same order as the above, and it can't be changed for compat reasons. lame! 42 enum dukeinvicon_t 43 { 44 ICON_NONE, // 0 45 ICON_FIRSTAID, 46 ICON_STEROIDS, 47 ICON_HOLODUKE, 48 ICON_JETPACK, 49 ICON_HEATS, // 5 50 ICON_SCUBA, 51 ICON_BOOTS, 52 ICON_MAX 53 }; 54 55 extern int const icon_to_inv[ICON_MAX]; 56 57 extern int const inv_to_icon[GET_MAX]; 58 59 enum dukeweapon_t 60 { 61 KNEE_WEAPON, // 0 62 PISTOL_WEAPON, 63 SHOTGUN_WEAPON, 64 CHAINGUN_WEAPON, 65 RPG_WEAPON, 66 HANDBOMB_WEAPON, // 5 67 SHRINKER_WEAPON, 68 DEVISTATOR_WEAPON, 69 TRIPBOMB_WEAPON, 70 FREEZE_WEAPON, 71 HANDREMOTE_WEAPON, // 10 72 GROW_WEAPON, 73 FLAMETHROWER_WEAPON, 74 MAX_WEAPONS 75 }; 76