X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGame.cpp;h=a70776fccd7a06c2f8f71e86fafc5d76c84d9095;hb=8e94b0e0f79e8fc55ace5699ffe039462d9e155d;hp=2f88d34cc6cad9a7f89b0149163d9b39423ba6eb;hpb=31801560f92e99939f40ee49d9c279324db044bb;p=lugaru.git diff --git a/Source/Game.cpp b/Source/Game.cpp index 2f88d34..a70776f 100644 --- a/Source/Game.cpp +++ b/Source/Game.cpp @@ -134,10 +134,10 @@ std::string displaytext[15] = {}; float displaytime[15] = {}; float displayblinkdelay = 0; bool displayblink = 0; -int displayselected = 0; +unsigned displayselected = 0; float consoleblinkdelay = 0; bool consoleblink = 0; -int consoleselected = 0; +unsigned consoleselected = 0; unsigned short crouchkey = 0, jumpkey = 0, forwardkey = 0, backkey = 0, leftkey = 0, rightkey = 0, drawkey = 0, throwkey = 0, attackkey = 0; unsigned short consolekey = 0; @@ -157,7 +157,7 @@ void Game::fireSound(int sound) emit_sound_at(sound); } -void Game::inputText(string& str, int* charselected) +void Game::inputText(string& str, unsigned* charselected) { SDL_Event evenement;