aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game_manager.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-08 22:56:34 -0500
committerPaul Gilbert2016-03-08 22:56:34 -0500
commit759c0e3b4584d412f12250e0f248bad062581215 (patch)
treedb6f06bacfa399b59e7470c833ac80a8c175c318 /engines/titanic/game_manager.cpp
parent71c3129ecff1e5e4e847825eba58d1be9594b1c8 (diff)
downloadscummvm-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.cpp8
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) {