]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Constants.h
Merge
[lugaru.git] / Source / Constants.h
index d921eb89e47d36e34f32c0aff15134420657e204..676932812d6356101e2a196a0566d5d637b7d5f3 100644 (file)
@@ -52,17 +52,17 @@ const int mapgosomewhere = 1;
 const int mapkillsomeone = 2;
 const int mapkillmost = 3;
 
-const int wpkeepwalking = 0;
-const int wppause = 1;
+enum pathtypes {wpkeepwalking, wppause};
 
-const int typeactive = 0;
-const int typesitting = 1;
-const int typesittingwall = 2;
-const int typesleeping = 3;
-const int typedead1 = 4;
-const int typedead2 = 5;
-const int typedead3 = 6;
-const int typedead4 = 7;
+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"
+};
 
 const int tracheotomy = 1;
 const int backstab = 2;