aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTarek Soliman2011-10-28 09:56:30 -0500
committerTarek Soliman2011-10-28 09:58:09 -0500
commitf4fa37fdf877c29577f2338b805f77da9b4c2438 (patch)
tree7bce9face7db2c90524f6daeacf56a579272d72f /engines
parentb8ef739d142577d3415ec7e8302d5da2df9ce252 (diff)
downloadscummvm-rg350-f4fa37fdf877c29577f2338b805f77da9b4c2438.tar.gz
scummvm-rg350-f4fa37fdf877c29577f2338b805f77da9b4c2438.tar.bz2
scummvm-rg350-f4fa37fdf877c29577f2338b805f77da9b4c2438.zip
KYRA: Move kKeymapName to be inside LoLEngine
Thanks LordHoto
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/lol.cpp2
-rw-r--r--engines/kyra/lol.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp
index 78ed428b69..45c626a3e0 100644
--- a/engines/kyra/lol.cpp
+++ b/engines/kyra/lol.cpp
@@ -40,6 +40,8 @@
namespace Kyra {
+const char *const LoLEngine::kKeymapName = "lol";
+
LoLEngine::LoLEngine(OSystem *system, const GameFlags &flags) : KyraEngine_v1(system, flags) {
_screen = 0;
_gui = 0;
diff --git a/engines/kyra/lol.h b/engines/kyra/lol.h
index 7204f156ec..54f043fecf 100644
--- a/engines/kyra/lol.h
+++ b/engines/kyra/lol.h
@@ -296,8 +296,6 @@ struct MistOfDoomAnimData {
uint8 sound;
};
-static const char *const kKeymapName = "lol";
-
class LoLEngine : public KyraEngine_v1 {
friend class GUI_LoL;
friend class TextDisplayer_LoL;
@@ -337,6 +335,8 @@ private:
void writeSettings();
void readSettings();
+ static const char *const kKeymapName;
+
const char *const *_pakFileList;
int _pakFileListSize;