X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FConstants.h;h=676932812d6356101e2a196a0566d5d637b7d5f3;hb=981c1179fab6849d216942a7053a24a36f36078c;hp=d921eb89e47d36e34f32c0aff15134420657e204;hpb=b0bc8fa8cf3e5e076eb29f04868ff613edb19f1b;p=lugaru.git diff --git a/Source/Constants.h b/Source/Constants.h index d921eb8..6769328 100644 --- a/Source/Constants.h +++ b/Source/Constants.h @@ -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;