]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Game.h
Remove terraindetail (== 1 anyway)
[lugaru.git] / Source / Game.h
index 867754de0015c1b3e9940c501fcb7741f8a05e65..63bb0a6468bfcbf60863b6055005c8ab0a90edd4 100644 (file)
@@ -46,7 +46,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #include "Models.h"
 #include "Lights.h"
 #include "Person.h"
-#include "Constants.h"
 #include "Sprite.h"
 //#include <agl.h>
 #include "Text.h"
@@ -226,7 +225,6 @@ class Game
                int consoleselected;
                //int togglekey[140];
                //float togglekeydelay[140];
-               bool registernow;
                bool autocam;
 
                unsigned short crouchkey,jumpkey,forwardkey,chatkey,backkey,leftkey,rightkey,drawkey,throwkey,attackkey;
@@ -248,7 +246,7 @@ class Game
                void TickOnceAfter();
                void SetUpLighting();
                void Loadlevel(int which);
-               void Loadlevel(char *name);
+               void Loadlevel(const char *name);
                void Setenvironment(int which);
                GLvoid ReSizeGLScene(float fov, float near);
                int findPathDist(int start,int end);
@@ -345,4 +343,21 @@ extern int directing;
 extern float dialoguetime;
 extern int dialoguegonethrough[20];
 
+enum maptypes {
+  mapkilleveryone, mapgosomewhere,
+  mapkillsomeone, mapkillmost // These two are unused
+};
+
+enum pathtypes {wpkeepwalking, wppause};
+
+static const char *pathtypenames[] = {"keepwalking", "pause"};
+
+enum editortypes {typeactive, typesitting, typesittingwall, typesleeping,
+                 typedead1, typedead2, typedead3, typedead4};
+
+static const char *editortypenames[] = {
+  "active", "sitting", "sitting wall", "sleeping",
+  "dead1", "dead2", "dead3", "dead4"
+};
+
 #endif