diff options
| author | Robert Göffringmann | 2003-06-01 21:21:10 +0000 |
|---|---|---|
| committer | Robert Göffringmann | 2003-06-01 21:21:10 +0000 |
| commit | 5bb59b47551c42e128e5270dd6407f375b4dd712 (patch) | |
| tree | f3dc6b01100d794f527a1384793b3be39b647b8d /sky/sky.h | |
| parent | 674a34a3921dc084ae6050e3f2f930cd2a3909e3 (diff) | |
| download | scummvm-rg350-5bb59b47551c42e128e5270dd6407f375b4dd712.tar.gz scummvm-rg350-5bb59b47551c42e128e5270dd6407f375b4dd712.tar.bz2 scummvm-rg350-5bb59b47551c42e128e5270dd6407f375b4dd712.zip | |
cleaned code a bit, added SYSTEM_FLAGS and MOUSE_FLAG
svn-id: r8253
Diffstat (limited to 'sky/sky.h')
| -rw-r--r-- | sky/sky.h | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -39,6 +39,16 @@ #include "sky/music/mt32music.h" #include "sky/mouse.h" +struct SystemVars { + uint32 systemFlags; + uint32 gameVersion; + uint32 mouseFlag; + uint16 language; + /* uint16 sfxVolume; + uint16 musicVolume; + uint16 gameSpeed; */ +}; + class SkyLogic; class SkyGrid; class SkyAutoRoute; @@ -48,7 +58,6 @@ class SkyState : public Engine { void errorString(const char *buf_input, char *buf_output); protected: byte _game; - uint32 _gameVersion; byte _key_pressed; //intro related @@ -58,7 +67,6 @@ protected: uint16 _debugMode; uint16 _debugLevel; - uint16 _language; uint _mouse_x, _mouse_y; uint _mouse_x_old, _mouse_y_old; bool _mouse_pos_changed; @@ -90,14 +98,16 @@ public: SkyState(GameDetector *detector, OSystem *syst); virtual ~SkyState(); - static bool isDemo(uint32 version); - static bool isCDVersion(uint32 version); + static bool isDemo(void); + static bool isCDVersion(void); static Compact *fetchCompact(uint32 a); static void **fetchItem(uint32 num); static void **_itemList[300]; + static SystemVars _systemVars; + //intro related void prepareText(uint32 *&cmdPtr); void showIntroText(uint32 *&cmdPtr); |
