diff options
author | Paul Gilbert | 2009-05-31 11:37:21 +0000 |
---|---|---|
committer | Paul Gilbert | 2009-05-31 11:37:21 +0000 |
commit | 555d4038cc053c0c914dd1cb56746066446a1386 (patch) | |
tree | c70331c16c750f21f3d4e168ac58bb0fe0e0736b /engines/cruise/cruise.h | |
parent | f94025f482ae9231dad845fcaeb9f08a5ad37746 (diff) | |
download | scummvm-rg350-555d4038cc053c0c914dd1cb56746066446a1386.tar.gz scummvm-rg350-555d4038cc053c0c914dd1cb56746066446a1386.tar.bz2 scummvm-rg350-555d4038cc053c0c914dd1cb56746066446a1386.zip |
Slowed down the game to match the original, and introduced the ability to alter game speed using the keypad +/- keys
svn-id: r41064
Diffstat (limited to 'engines/cruise/cruise.h')
-rw-r--r-- | engines/cruise/cruise.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/cruise/cruise.h b/engines/cruise/cruise.h index 491a833788..1599c992ac 100644 --- a/engines/cruise/cruise.h +++ b/engines/cruise/cruise.h @@ -42,7 +42,8 @@ enum CruiseGameType { GType_CRUISE = 1 }; -#define GAME_FRAME_DELAY 40 +#define GAME_FRAME_DELAY_1 50 +#define GAME_FRAME_DELAY_2 100 #define MAX_LANGUAGE_STRINGS 25 @@ -63,13 +64,15 @@ private: Common::StringList _langStrings; CursorType _savedCursor; uint32 lastTick, lastTickDebug; + int _gameSpeed; + bool _speedFlag; void initialize(void); void deinitialise(void); bool loadLanguageStrings(); bool makeLoad(char *saveName); void mainLoop(); - + int processInput(void); protected: // Engine APIs virtual Common::Error run(); |