X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGame.cpp;h=0cc5057361aa86855ff8ff42fa6fc2ddf0f29b6a;hb=8afdcba610cded0e54b85069ba051268b29669a6;hp=1f48171647e57b751cd84952c484a1e82a0eddde;hpb=a5418eb653c419fc82aca6b63b027172f8a97d97;p=lugaru.git diff --git a/Source/Game.cpp b/Source/Game.cpp index 1f48171..0cc5057 100644 --- a/Source/Game.cpp +++ b/Source/Game.cpp @@ -26,8 +26,6 @@ int directing; float dialoguetime; int dialoguegonethrough[20]; -std::vector Game::textures; - Game::Game() { terraintexture = 0; @@ -52,8 +50,6 @@ Game::Game() memset(endy, 0, sizeof(endy)); memset(selectedlong, 0, sizeof(selectedlong)); - memset(offsetx, 0, sizeof(offsetx)); - memset(offsety, 0, sizeof(offsety)); selected = 0; keyselect = 0; @@ -165,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; @@ -314,6 +311,8 @@ void Game::setKeySelected_thread() { break; case 8: attackkey=keycode; break; + case 9: consolekey=keycode; + break; default: break; }