]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Game.h
Fixed some warnings
[lugaru.git] / Source / Game.h
index f5b42074b40351d932ab66823ac524d85758ac09..6469091fa0f2890a41fae5a60a7cc658cbd2beb7 100644 (file)
@@ -136,7 +136,6 @@ extern int numchallengelevels;
 
 extern bool console;
 extern std::string consoletext[15];
-extern bool chatting;
 extern std::string displaytext[15];
 extern float displaytime[15];
 extern float displayblinkdelay;
@@ -153,7 +152,7 @@ extern float changedelay;
 extern bool waiting;
 extern Account* accountactive;
 
-extern unsigned short crouchkey, jumpkey, forwardkey, chatkey, backkey, leftkey, rightkey, drawkey, throwkey, attackkey;
+extern unsigned short crouchkey, jumpkey, forwardkey, backkey, leftkey, rightkey, drawkey, throwkey, attackkey;
 extern unsigned short consolekey;
 
 void newGame();
@@ -237,15 +236,12 @@ enum maptypes {
 
 enum pathtypes {wpkeepwalking, wppause};
 
-static const char *pathtypenames[] = {"keepwalking", "pause"};
+extern const char *pathtypenames[2];
 
 enum editortypes {typeactive, typesitting, typesittingwall, typesleeping,
                   typedead1, typedead2, typedead3, typedead4
                  };
 
-static const char *editortypenames[] = {
-    "active", "sitting", "sitting wall", "sleeping",
-    "dead1", "dead2", "dead3", "dead4"
-};
+extern const char *editortypenames[8];
 
 #endif