From: Patrik Gornicz Date: Fri, 29 Aug 2008 04:22:38 +0000 (-0400) Subject: key control changed to new system X-Git-Tag: v0.07~22 X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=commitdiff_plain;h=1c880d7302f118237951eafcfe8fe661c7f41371 key control changed to new system --- diff --git a/src/config/config.cpp b/src/config/config.cpp index 7d71e8a..2df8b74 100644 --- a/src/config/config.cpp +++ b/src/config/config.cpp @@ -47,29 +47,29 @@ void cfg::clean() bool cfg::pause() { - return input::wasPressed(SDLK_p); + return input::wasPressed(key::pause); } bool cfg::unPause() { - return input::wasPressed(SDLK_p); + return input::wasPressed(key::pause); } bool cfg::endGame() { - return input::wasReleased(SDLK_ESCAPE); + return input::wasReleased(key::end); } bool cfg::mouseWellFollow() { - return input::isPressed(SDLK_f); + return input::isPressed(key::follow); } bool cfg::mouseWellOn() { - return input::wasPressed(SDLK_SPACE); + return input::wasPressed(key::well); } bool cfg::mouseWellOff() { - return input::wasReleased(SDLK_SPACE); + return input::wasReleased(key::well); } /// ***** Private Methods *****