diff options
author | Paul Gilbert | 2016-03-08 22:56:34 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-03-08 22:56:34 -0500 |
commit | 759c0e3b4584d412f12250e0f248bad062581215 (patch) | |
tree | db6f06bacfa399b59e7470c833ac80a8c175c318 /engines/titanic/game_manager.cpp | |
parent | 71c3129ecff1e5e4e847825eba58d1be9594b1c8 (diff) | |
download | scummvm-rg350-759c0e3b4584d412f12250e0f248bad062581215.tar.gz scummvm-rg350-759c0e3b4584d412f12250e0f248bad062581215.tar.bz2 scummvm-rg350-759c0e3b4584d412f12250e0f248bad062581215.zip |
TITANIC: More game manager setup
Diffstat (limited to 'engines/titanic/game_manager.cpp')
-rw-r--r-- | engines/titanic/game_manager.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/titanic/game_manager.cpp b/engines/titanic/game_manager.cpp index d8e64543fe..b26c9b3297 100644 --- a/engines/titanic/game_manager.cpp +++ b/engines/titanic/game_manager.cpp @@ -21,8 +21,9 @@ */ #include "titanic/game_manager.h" -#include "titanic/messages/messages.h" #include "titanic/screen_manager.h" +#include "titanic/core/project_item.h" +#include "titanic/messages/messages.h" namespace Titanic { @@ -30,9 +31,10 @@ CGameManager::CGameManager(CProjectItem *project, CGameView *gameView): _project(project), _gameView(gameView), _trueTalkManager(this), _inputHandler(this), _inputTranslator(&_inputHandler), _gameState(this), _sound(this), _musicRoom(this), - _videoSurface(nullptr), _field30(0), _field34(0), _field48(0), + _field30(0), _field34(0), _field48(0), _field4C(0), _field50(0), _field54(0), _tickCount(0) { - // TODO + _videoSurface = CScreenManager::_screenManagerPtr->createSurface(600, 340); + _project->setGameManager(this); } void CGameManager::load(SimpleFile *file) { |