]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Game.h
Some clean up.
[lugaru.git] / Source / Game.h
index 8846493e07be874e29a4c9a3a83d09c8cfa8de53..389db5aea69f8d8f8871d71b6549eb8e22569c12 100644 (file)
@@ -40,9 +40,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 #include "TGALoader.h"
 
-#if !PLATFORM_MACOSX
-#include "WinInput.h"
-#else
+#if PLATFORM_MACOSX
 #include "Macinput.h"
 #endif
 
@@ -229,8 +227,8 @@ class Game
                float consoleblinkdelay;
                bool consoleblink;
                int consoleselected;
-               int togglekey[140];
-               float togglekeydelay[140];
+               //int togglekey[140];
+               //float togglekeydelay[140];
                bool registernow;
                bool autocam;
 
@@ -301,8 +299,7 @@ class Game
        private:
                void setKeySelected_thread();
                static int thread(void *data);
-               void inputText();
-               void inputText_thread();
+               void inputText(char* str, int* charselected, int* nb_chars);
                void flash();
                bool waiting;
                bool mainmenutogglekeydown;