]> git.jsancho.org Git - lugaru.git/blob - Source/Constants.h
Awards.def
[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 mapkilleveryone = 0;
29 const int mapgosomewhere = 1;
30 const int mapkillsomeone = 2;
31 const int mapkillmost = 3;
32
33 enum pathtypes {wpkeepwalking, wppause};
34
35 static const char *pathtypenames[] = {"keepwalking", "pause"};
36
37 enum editortypes {typeactive, typesitting, typesittingwall, typesleeping,
38                   typedead1, typedead2, typedead3, typedead4};
39
40 static const char *editortypenames[] = {
41   "active", "sitting", "sitting wall", "sleeping",
42   "dead1", "dead2", "dead3", "dead4"
43 };
44
45 const int tracheotomy = 1;
46 const int backstab = 2;
47 const int spinecrusher = 3;
48 const int ninja = 4;
49 const int style = 5;
50 const int cannon = 6;
51 const int aimbonus = 7;
52 const int deepimpact = 8;
53 const int touchofdeath = 9;
54 const int swordreversebonus = 10;
55 const int staffreversebonus = 11;
56 const int reverseko = 12;
57 const int solidhit = 13;
58 const int twoxcombo = 14;
59 const int threexcombo = 15;
60 const int fourxcombo = 16;
61 const int megacombo = 17;
62 const int Reversal = 18;
63 const int Stabbonus = 19;
64 const int Slicebonus = 20;
65 const int Bullseyebonus = 21;
66 const int Slashbonus = 22;
67 const int Wolfbonus = 23;
68 const int FinishedBonus = 24;
69 const int TackleBonus = 25;
70 const int AboveBonus = 26;
71
72 const int boneconnect = 0;
73 const int constraint = 1;
74 const int muscle = 2;
75
76 const int head = 0; // DO NOT CONFLICT WITH ZLIB's variable head
77 const int neck = 1;
78 const int leftshoulder = 2;
79 const int leftelbow = 3;
80 const int leftwrist = 4;
81 const int lefthand = 5;
82 const int rightshoulder = 6;
83 const int rightelbow = 7;
84 const int rightwrist = 8;
85 const int righthand = 9;
86 const int abdomen = 10;
87 const int lefthip = 11;
88 const int righthip = 12;
89 const int groin = 13;
90 const int leftknee = 14;
91 const int leftankle = 15;
92 const int leftfoot = 16;
93 const int rightknee = 17;
94 const int rightankle = 18;
95 const int rightfoot = 19;
96
97 const int max_joints = 50;
98 const int max_frames = 50;
99 const int max_muscles = 100;
100
101 const int max_dialogues = 20;
102 const int max_dialoguelength = 20;
103
104 const int max_model_vertex = 3000;              // maximum number of vertexs
105 const int max_textured_triangle = 3000;         // maximum number of texture-filled triangles in a model
106
107 const int normalmode = 0;
108 const int motionblurmode = 1;
109 const int radialzoommode = 2;
110 const int realmotionblurmode = 3;
111 const int doublevisionmode = 4;
112 const int glowmode = 5;
113
114 const int maxplayers = 10;
115 #endif