diff options
author | Torbjörn Andersson | 2007-06-22 12:42:28 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2007-06-22 12:42:28 +0000 |
commit | 73f760becd167a201607b2c0f4434a64bf255574 (patch) | |
tree | 39667d6e2b3ce4ddefa7eea428a18a75f2407dbb /engines | |
parent | 47bd4e500bb35ef9aa301736a1bb96ae8be11b60 (diff) | |
download | scummvm-rg350-73f760becd167a201607b2c0f4434a64bf255574.tar.gz scummvm-rg350-73f760becd167a201607b2c0f4434a64bf255574.tar.bz2 scummvm-rg350-73f760becd167a201607b2c0f4434a64bf255574.zip |
Don't include sdl_keysym.h. Use our Common::KEYCODE constants instead of SDLK
constants.
svn-id: r27609
Diffstat (limited to 'engines')
-rw-r--r-- | engines/lure/fights.cpp | 1 | ||||
-rw-r--r-- | engines/lure/game.cpp | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/engines/lure/fights.cpp b/engines/lure/fights.cpp index c4aefccc28..7eef545c8d 100644 --- a/engines/lure/fights.cpp +++ b/engines/lure/fights.cpp @@ -26,7 +26,6 @@ #include "lure/res.h" #include "lure/room.h" #include "lure/sound.h" -#include <sdl_keysym.h> namespace Lure { diff --git a/engines/lure/game.cpp b/engines/lure/game.cpp index 60a6a8b255..d96e42f450 100644 --- a/engines/lure/game.cpp +++ b/engines/lure/game.cpp @@ -32,7 +32,6 @@ #include "lure/fights.h" #include "common/config-manager.h" -#include <sdl_keysym.h> namespace Lure { @@ -150,11 +149,11 @@ void Game::execute() { // Handle special keys bool handled = true; switch (events.event().kbd.keycode) { - case SDLK_F5: + case Common::KEYCODE_F5: SaveRestoreDialog::show(true); break; - case SDLK_F7: + case Common::KEYCODE_F7: SaveRestoreDialog::show(false); break; |