X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FInput.cpp;h=dde36593e7c4da1353735f9c49e436d8c5b7be42;hb=3f27343fe706bb582974ca77dffb39ae1791d76f;hp=6080516a86d684165ee3e5c53eabe5e54f89ba41;hpb=cd043e3f9e26c2b3406b40a354c2840941e9db7f;p=lugaru.git diff --git a/Source/Input.cpp b/Source/Input.cpp index 6080516..dde3659 100644 --- a/Source/Input.cpp +++ b/Source/Input.cpp @@ -1,6 +1,6 @@ /* Copyright (C) 2003, 2010 - Wolfire Games -Copyright (C) 2010 - Côme BERNIGAUD +Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file) This file is part of Lugaru. @@ -88,7 +88,7 @@ unsigned short Input::CharToKey(const char* which) return SDL_NUM_SCANCODES; } -Boolean Input::MouseClicked() +bool Input::MouseClicked() { return isKeyPressed(SDL_NUM_SCANCODES + SDL_BUTTON_LEFT); }