diff options
author | Paul Gilbert | 2016-03-12 19:23:00 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-03-12 19:23:00 -0500 |
commit | bad72e2ae491cb99843f3af971725231e3defb2e (patch) | |
tree | d9bac6a8e282f1b618b3de1a38b3e990d1cc70e5 /engines/titanic/game_view.h | |
parent | c269c770ac27cbc845c06dfec8c7ac99d4fe657d (diff) | |
download | scummvm-rg350-bad72e2ae491cb99843f3af971725231e3defb2e.tar.gz scummvm-rg350-bad72e2ae491cb99843f3af971725231e3defb2e.tar.bz2 scummvm-rg350-bad72e2ae491cb99843f3af971725231e3defb2e.zip |
TITANIC: Implement various post-load methods
Diffstat (limited to 'engines/titanic/game_view.h')
-rw-r--r-- | engines/titanic/game_view.h | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/engines/titanic/game_view.h b/engines/titanic/game_view.h index 588cf938e3..5a2c04a9c8 100644 --- a/engines/titanic/game_view.h +++ b/engines/titanic/game_view.h @@ -24,6 +24,7 @@ #define TITANIC_GAME_VIEW_H #include "common/scummsys.h" +#include "titanic/core/view_item.h" namespace Titanic { @@ -34,7 +35,8 @@ class CGameView { protected: CGameManager *_gameManager; int _field8; - int _fieldC; +public: + void *_fieldC; public: CGameView(); @@ -42,13 +44,26 @@ public: * Set the game manager */ void setGameManager(CGameManager *gameManager); + + /** + * Called after loading a game has finished + */ + void postLoad(); + + virtual void deleteView(int roomNumber, int nodeNumber, int viewNumber); + + virtual void proc3(int v) = 0; + virtual void proc4() = 0; }; -class CTitanicGameView: public CGameView { +class CSTGameView: public CGameView { private: CMainGameWindow *_gameWindow; public: - CTitanicGameView(CMainGameWindow *gameWindow); + CSTGameView(CMainGameWindow *gameWindow); + + virtual void proc3(int v); + virtual void proc4(); }; } // End of namespace Titanic |