From 4e232814d5f96a7a0ed8aa2e249497c0d63dbace Mon Sep 17 00:00:00 2001 From: uruk Date: Mon, 26 May 2014 10:33:47 +0200 Subject: CGE2: Implement runGame(). --- engines/cge2/cge2.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/cge2/cge2.cpp') diff --git a/engines/cge2/cge2.cpp b/engines/cge2/cge2.cpp index 88fdfbb74d..dd2ca16bf4 100644 --- a/engines/cge2/cge2.cpp +++ b/engines/cge2/cge2.cpp @@ -65,6 +65,9 @@ CGE2Engine::CGE2Engine(OSystem *syst, const ADGameDescription *gameDescription) for (int i = 0; i < kMaxPoint; i++) _point[i] = nullptr; _sys = nullptr; + _busyPtr = nullptr; + for (int i = 0; i < 2; i++) + _vol[i] = nullptr; _quitFlag = false; _bitmapPalette = nullptr; @@ -81,6 +84,9 @@ CGE2Engine::CGE2Engine(OSystem *syst, const ADGameDescription *gameDescription) _waitRef = 0; _commandStat = { nullptr, { 0 , 0 } }; _taken = false; + _endGame = false; + for (int i = 0; i < 4; i++) + _flag[i] = false; } void CGE2Engine::init() { -- cgit v1.2.3