diff options
-rw-r--r-- | simon/intern.h | 15 | ||||
-rw-r--r-- | simon/simon.h | 15 | ||||
-rw-r--r-- | simon/simonsound.cpp | 15 |
3 files changed, 15 insertions, 30 deletions
diff --git a/simon/intern.h b/simon/intern.h index a2603709ea..8c6daec43e 100644 --- a/simon/intern.h +++ b/simon/intern.h @@ -135,4 +135,19 @@ struct GameSpecificSettings { const char *gamepc_filename; }; +enum { + GAME_SIMON2 = 1, + GAME_WIN = 2, + GAME_TALKIE = 4, + GAME_DEMO = 8, + + GAME_SIMON1DOS = 0, + GAME_SIMON2DOS = GAME_SIMON2, + GAME_SIMON1TALKIE = GAME_TALKIE, + GAME_SIMON2TALKIE = GAME_SIMON2 + GAME_TALKIE, + GAME_SIMON1WIN = GAME_WIN + GAME_TALKIE, + GAME_SIMON2WIN = GAME_SIMON2 + GAME_WIN + GAME_TALKIE, + GAME_SIMON1DEMO = GAME_DEMO, +}; + #endif diff --git a/simon/simon.h b/simon/simon.h index 09189678d8..52938daad5 100644 --- a/simon/simon.h +++ b/simon/simon.h @@ -106,21 +106,6 @@ public: byte _game; byte _key_pressed; - enum { - GAME_SIMON2 = 1, - GAME_WIN = 2, - GAME_TALKIE = 4, - GAME_DEMO = 8, - - GAME_SIMON1DOS = 0, - GAME_SIMON2DOS = GAME_SIMON2, - GAME_SIMON1TALKIE = GAME_TALKIE, - GAME_SIMON2TALKIE = GAME_SIMON2 + GAME_TALKIE, - GAME_SIMON1WIN = GAME_WIN + GAME_TALKIE, - GAME_SIMON2WIN = GAME_SIMON2 + GAME_WIN + GAME_TALKIE, - GAME_SIMON1DEMO = GAME_DEMO, - }; - typedef enum { FORMAT_NONE, FORMAT_MP3, diff --git a/simon/simonsound.cpp b/simon/simonsound.cpp index d5d406247c..854bed564f 100644 --- a/simon/simonsound.cpp +++ b/simon/simonsound.cpp @@ -21,21 +21,6 @@ #include "common/file.h" #include "common/engine.h" -enum { - GAME_SIMON2 = 1, - GAME_WIN = 2, - GAME_TALKIE = 4, - GAME_DEMO = 8, - - GAME_SIMON1DOS = 0, - GAME_SIMON2DOS = GAME_SIMON2, - GAME_SIMON1TALKIE = GAME_TALKIE, - GAME_SIMON2TALKIE = GAME_SIMON2 + GAME_TALKIE, - GAME_SIMON1WIN = GAME_WIN + GAME_TALKIE, - GAME_SIMON2WIN = GAME_SIMON2 + GAME_WIN + GAME_TALKIE, - GAME_SIMON1DEMO = GAME_DEMO, -}; - SimonSound::SimonSound(const byte game, const GameSpecificSettings *gss, const char *gameDataPath, SoundMixer *mixer) { _game = game; |