diff options
Diffstat (limited to 'engines/tsage/scenes.h')
-rw-r--r-- | engines/tsage/scenes.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/engines/tsage/scenes.h b/engines/tsage/scenes.h index 7e8c26f912..da813f019a 100644 --- a/engines/tsage/scenes.h +++ b/engines/tsage/scenes.h @@ -33,7 +33,7 @@ namespace TsAGE { class Scene : public StripCallback { private: - void drawAltObjects(); + void drawBackgroundObjects(); public: int _field12; int _screenNumber; @@ -48,6 +48,7 @@ public: int _enabledSections[256]; int _zoomPercents[256]; ScenePriorities _priorities; + SceneObjectList _bgSceneObjects; int _fieldA; int _fieldE; @@ -71,8 +72,8 @@ public: class SceneManager : public GameHandler, public SaveListener { private: - void disposeRegions() { - // No need to do anything, since regions will be freed automatically when the scene is + void disposeRegions() { + // No need to do anything, since regions will be freed automatically when the scene is } Scene *getNewScene(); public: @@ -86,7 +87,6 @@ public: Common::Point _sceneBgOffset; int _sceneLoadCount; Rect _scrollerRect; - SceneObjectList _altSceneObjects; int _objectCount; public: SceneManager(); @@ -115,7 +115,7 @@ protected: SynchronizedList<GameHandler *> _handlers; static bool notLockedFn(GameHandler *g); - virtual void handleSaveLoad(bool saveFlag, int &saveSlot, Common::String &saveName) {} + virtual void handleSaveLoad(bool saveFlag, int &saveSlot, Common::String &saveName); public: virtual ~Game() {} @@ -125,13 +125,14 @@ public: void execute(); virtual void start() = 0; virtual void restart() {} - virtual void restartGame() {} - virtual void saveGame() {} - virtual void restoreGame() {} - virtual void quitGame() {} + virtual void restartGame(); + virtual void saveGame(); + virtual void restoreGame(); + virtual void quitGame(); virtual void endGame(int resNum, int lineNum) {} virtual Scene *createScene(int sceneNumber) = 0; virtual void processEvent(Event &event) {} + virtual void rightClick() {} }; } // End of namespace TsAGE |