]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Game.cpp
The console key is now easy to configure. (the option will only be shown in debug...
[lugaru.git] / Source / Game.cpp
index 82d23eca73bb4523ea1486a0e7a7864263c5b6fc..0cc5057361aa86855ff8ff42fa6fc2ddf0f29b6a 100644 (file)
@@ -26,8 +26,6 @@ int directing;
 float dialoguetime;
 int dialoguegonethrough[20];
 
-std::vector<TextureInfo> Game::textures;
-
 Game::Game()
 {
        terraintexture = 0;
@@ -163,6 +161,7 @@ Game::Game()
        autocam = 0;
 
        crouchkey = 0,jumpkey = 0,forwardkey = 0,chatkey = 0,backkey = 0,leftkey = 0,rightkey = 0,drawkey = 0,throwkey = 0,attackkey = 0;
+       consolekey = 0;
        oldattackkey = 0;
 
        loading = 0;
@@ -312,6 +311,8 @@ void Game::setKeySelected_thread() {
                        break;
                        case 8: attackkey=keycode;
                        break;
+                       case 9: consolekey=keycode;
+                       break;
                        default:
                        break;
                }