]> git.jsancho.org Git - lugaru.git/blob - Source/Constants.h
Make sounds an enum
[lugaru.git] / Source / Constants.h
1 /*
2 Copyright (C) 2003, 2010 - Wolfire Games
3
4 This file is part of Lugaru.
5
6 Lugaru is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation; either version 2
9 of the License, or (at your option) any later version.
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., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
20 */
21
22 #ifndef _CONSTANTS_H_
23 #define _CONSTANTS_H_
24
25 // cat src/Constants.h | sed -e 's/#define/const int/' -e 's/ [0-9]*$/ =&;/'
26 // chew on that --Jookia
27
28 const int awardklutz = 0;
29 const int awardflawless = 1;
30 const int awardalldead = 2;
31 const int awardnodead = 3;
32 const int awardstealth = 4;
33 const int awardswordsman = 5;
34 const int awardkungfu = 6;
35 const int awardknifefighter = 7;
36 const int awardcoward = 8;
37 const int awardevasion = 9;
38 const int awardacrobat = 10;
39 const int awardlongrange = 11;
40 const int awardbrutal = 12;
41 const int awardhyper = 13;
42 const int awardaikido = 14;
43 const int awardrambo = 15;
44 const int awardfast = 16;
45 const int awardrealfast = 17;
46 const int awarddamnfast = 18;
47 const int awardstrategy = 19;
48 const int awardbojutsu = 20;
49
50 const int mapkilleveryone = 0;
51 const int mapgosomewhere = 1;
52 const int mapkillsomeone = 2;
53 const int mapkillmost = 3;
54
55 enum pathtypes {wpkeepwalking, wppause};
56
57 static const char *pathtypenames[] = {"keepwalking", "pause"};
58
59 enum editortypes {typeactive, typesitting, typesittingwall, typesleeping,
60                   typedead1, typedead2, typedead3, typedead4};
61
62 static const char *editortypenames[] = {
63   "active", "sitting", "sitting wall", "sleeping",
64   "dead1", "dead2", "dead3", "dead4"
65 };
66
67 const int tracheotomy = 1;
68 const int backstab = 2;
69 const int spinecrusher = 3;
70 const int ninja = 4;
71 const int style = 5;
72 const int cannon = 6;
73 const int aimbonus = 7;
74 const int deepimpact = 8;
75 const int touchofdeath = 9;
76 const int swordreversebonus = 10;
77 const int staffreversebonus = 11;
78 const int reverseko = 12;
79 const int solidhit = 13;
80 const int twoxcombo = 14;
81 const int threexcombo = 15;
82 const int fourxcombo = 16;
83 const int megacombo = 17;
84 const int Reversal = 18;
85 const int Stabbonus = 19;
86 const int Slicebonus = 20;
87 const int Bullseyebonus = 21;
88 const int Slashbonus = 22;
89 const int Wolfbonus = 23;
90 const int FinishedBonus = 24;
91 const int TackleBonus = 25;
92 const int AboveBonus = 26;
93
94 const int boneconnect = 0;
95 const int constraint = 1;
96 const int muscle = 2;
97
98 const int head = 0; // DO NOT CONFLICT WITH ZLIB's variable head
99 const int neck = 1;
100 const int leftshoulder = 2;
101 const int leftelbow = 3;
102 const int leftwrist = 4;
103 const int lefthand = 5;
104 const int rightshoulder = 6;
105 const int rightelbow = 7;
106 const int rightwrist = 8;
107 const int righthand = 9;
108 const int abdomen = 10;
109 const int lefthip = 11;
110 const int righthip = 12;
111 const int groin = 13;
112 const int leftknee = 14;
113 const int leftankle = 15;
114 const int leftfoot = 16;
115 const int rightknee = 17;
116 const int rightankle = 18;
117 const int rightfoot = 19;
118
119 const int max_joints = 50;
120 const int max_frames = 50;
121 const int max_muscles = 100;
122
123 const int max_dialogues = 20;
124 const int max_dialoguelength = 20;
125
126 const int max_model_vertex = 3000;              // maximum number of vertexs
127 const int max_textured_triangle = 3000;         // maximum number of texture-filled triangles in a model
128
129 const int stream_music1desert = 0;
130 const int stream_music1grass = 1;
131 const int stream_music1snow = 2;
132 const int stream_music2 = 3;
133 const int stream_music3 = 4;
134 const int stream_music4 = 5;
135 const int stream_menumusic = 6;
136 const int stream_desertambient = 7;
137 const int stream_firesound = 8;
138 const int stream_wind = 9;
139
140 const int normalmode = 0;
141 const int motionblurmode = 1;
142 const int radialzoommode = 2;
143 const int realmotionblurmode = 3;
144 const int doublevisionmode = 4;
145 const int glowmode = 5;
146
147 const int maxplayers = 10;
148 #endif