]> git.jsancho.org Git - lugaru.git/blob - Source/Constants.h
1b1cd9bdaa8840d0ff34490c8e04dea488d745e7
[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 max_dialogues = 20;
46 const int max_dialoguelength = 20;
47
48 const int max_model_vertex = 3000;              // maximum number of vertexs
49 const int max_textured_triangle = 3000;         // maximum number of texture-filled triangles in a model
50
51 const int normalmode = 0;
52 const int motionblurmode = 1;
53 const int radialzoommode = 2;
54 const int realmotionblurmode = 3;
55 const int doublevisionmode = 4;
56 const int glowmode = 5;
57
58 const int maxplayers = 10;
59 #endif