diff options
author | Filippos Karapetis | 2014-12-26 13:14:24 +0200 |
---|---|---|
committer | Filippos Karapetis | 2014-12-26 13:14:24 +0200 |
commit | eea1ee445fcac7ecc53e31d258aac697d6b242f1 (patch) | |
tree | 2caaf9a3201cc4abfd80b6d5fdc20d04d0a7cac9 /engines/zvision/zvision.h | |
parent | e8820d26e7d673f96c416f93dd16811107e94cb4 (diff) | |
download | scummvm-rg350-eea1ee445fcac7ecc53e31d258aac697d6b242f1.tar.gz scummvm-rg350-eea1ee445fcac7ecc53e31d258aac697d6b242f1.tar.bz2 scummvm-rg350-eea1ee445fcac7ecc53e31d258aac697d6b242f1.zip |
ZVISION: Move more graphics code out of the main engine code
Diffstat (limited to 'engines/zvision/zvision.h')
-rw-r--r-- | engines/zvision/zvision.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/engines/zvision/zvision.h b/engines/zvision/zvision.h index 848b278f69..dc1ac1b8cb 100644 --- a/engines/zvision/zvision.h +++ b/engines/zvision/zvision.h @@ -155,12 +155,21 @@ public: MidiManager *getMidiManager() const { return _midiManager; } + MenuHandler *getMenuHandler() const { + return _menu; + } Common::RandomSource *getRandomSource() const { return _rnd; } ZVisionGameId getGameId() const { return _gameDescription->gameId; } + int16 getKeyboardVelocity() const { + return _keyboardVelocity; + } + int16 getMouseVelocity() const { + return _mouseVelocity; + } uint8 getZvisionKey(Common::KeyCode scummKeyCode); @@ -184,8 +193,6 @@ public: void playVideo(Video::VideoDecoder &videoDecoder, const Common::Rect &destRect = Common::Rect(0, 0, 0, 0), bool skippable = true, Subtitle *sub = NULL); Video::VideoDecoder *loadAnimation(const Common::String &fileName); - void rotateTo(int16 to, int16 time); - Common::String generateSaveFileName(uint slot); Common::String generateAutoSaveFileName(); @@ -195,13 +202,8 @@ public: void loadSettings(); void saveSettings(); - void menuBarEnable(uint16 menus); - uint16 getMenuBarEnable(); - bool ifQuit(); - void checkBorders(); - // Engine features bool hasFeature(EngineFeature f) const; bool canLoadGameStateCurrently(); @@ -218,7 +220,6 @@ private: void processEvents(); void onMouseMove(const Common::Point &pos); - void updateRotation(); void registerDefaultSettings(); void shortKeys(Common::Event); |