1 /* 2 * Constants.h 3 * Copyright (C) 2007 by Bryan Duff <duff0097@gmail.com> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 18 * USA 19 */ 20 #ifndef _CONSTANTS_H_ 21 #define _CONSTANTS_H_ 22 23 #define max_joints 50 24 #define max_frames 50 25 #define max_muscles 100 26 #define gravity -25 27 28 #define bullethole 0 29 #define crater 1 30 #define bloodpool 2 31 32 //FIXME: maybe use an enum 33 #define idleanim 0 34 #define joganim 1 35 #define pistolaimanim 2 36 #define walkanim 3 37 #define rifleholdanim 4 38 #define rifleaimanim 5 39 #define assaultrifleaimanim 6 40 #define crouchanim 7 41 #define headpainanim 8 42 #define chestpainanim 9 43 #define stomachpainanim 10 44 #define rightarmpainanim 11 45 #define leftarmpainanim 12 46 #define rightlegpainanim 13 47 #define leftlegpainanim 14 48 #define riflehitanim 15 49 #define grenadeaimanim 16 50 #define grenadechargeanim 17 51 #define grenadethrowanim 18 52 #define zombieeatanim 19 53 #define zombiejoganim 20 54 #define zombiewalkanim 21 55 #define getupfrontanim 22 56 #define getupbackanim 23 57 #define lyinganim 24 58 #define diveanim 25 59 #define throwanim 26 60 #define thrownanim 27 61 62 #define nogun 0 63 #define sniperrifle 1 64 #define assaultrifle 2 65 #define handgun1 3 66 #define handgun2 4 67 #define grenade 5 68 #define knife 6 69 #define shotgun 7 70 71 #define sniperriflemodel 0 72 #define assaultriflemodel 1 73 #define handgunbasemodel 2 74 #define handgunslidemodel 3 75 #define handgun2basemodel 4 76 #define handgun2slidemodel 5 77 #define grenadebasemodel 6 78 #define grenadepinmodel 7 79 #define grenadespoonmodel 8 80 #define knifemodel 9 81 #define shotgunmodel 10 82 83 #define visionsound 0 84 #define soulinsound 1 85 #define souloutsound 2 86 #define footstepsound 3 87 #define bodylandsound 8 88 #define headlandsound 9 89 #define riflesound 10 90 #define bodyhitsound 11 91 #define wallhitsound 12 92 #define machinegunsound 13 93 #define nearbulletsound 14 94 #define headwhacksound 15 95 #define headshotsound 16 96 #define reloadsound 17 97 #define clicksound 18 98 #define pistol1sound 19 99 #define pistol2sound 20 100 #define pinpullsound 21 101 #define pinreplacesound 22 102 #define grenadethrowsound 23 103 #define bouncesound 24 104 #define bounce2sound 25 105 #define explosionsound 26 106 #define bodywhacksound 27 107 #define rainsound 28 108 #define losesound 29 109 #define disguisekillsound 30 110 #define knifeslashsound 31 111 #define shotgunsound 32 112 #define mainmenusong 33 113 #define shootsong 34 114 #define knifesong 35 115 #define zombiesong 36 116 117 #define sunny_environment 0 118 #define foggy_environment 1 119 #define snowy_environment 2 120 #define rainy_environment 3 121 #define firey_environment 4 122 #define night_environment 5 123 124 #define randomshoot_type 0 125 #define zombie_type 1 126 #define soldiers_type 2 127 #define snipers_type 3 128 #define stabber_type 4 129 130 #define shotdelayamount 3 131 132 #define fleshtone1 240/255 133 #define fleshtone2 183/255 134 #define fleshtone3 132/255 135 136 #define headmodel 0 137 #define chestmodel 1 138 #define abdomenmodel 2 139 #define upperarmmodel 3 140 #define lowerarmmodel 4 141 #define handmodel 5 142 #define upperlegmodel 6 143 #define lowerlegmodel 7 144 #define footmodel 8 145 146 #define policecostume 0 147 #define bodyguardcostume 1 148 #define casualcostumes 2 149 #define vipcostume 6 150 151 #define numcasual 4 152 153 #define soundscalefactordefault 10 154 155 #endif 156