2 Copyright (C) 2003, 2010 - Wolfire Games
4 This file is part of Lugaru.
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.
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.
15 See the GNU General Public License for more details.
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.
25 // cat src/Constants.h | sed -e 's/#define/const int/' -e 's/ [0-9]*$/ =&;/'
26 // chew on that --Jookia
28 const int mapkilleveryone = 0;
29 const int mapgosomewhere = 1;
30 const int mapkillsomeone = 2;
31 const int mapkillmost = 3;
33 enum pathtypes {wpkeepwalking, wppause};
35 static const char *pathtypenames[] = {"keepwalking", "pause"};
37 enum editortypes {typeactive, typesitting, typesittingwall, typesleeping,
38 typedead1, typedead2, typedead3, typedead4};
40 static const char *editortypenames[] = {
41 "active", "sitting", "sitting wall", "sleeping",
42 "dead1", "dead2", "dead3", "dead4"
45 const int max_dialogues = 20;
46 const int max_dialoguelength = 20;
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
51 const int maxplayers = 10;