diff options
author | uruk | 2014-05-26 10:33:47 +0200 |
---|---|---|
committer | uruk | 2014-05-26 10:33:47 +0200 |
commit | 4e232814d5f96a7a0ed8aa2e249497c0d63dbace (patch) | |
tree | 1a7b0a3c65e86e70c7127101909b5cdd0c50b1a0 /engines/cge2/cge2.cpp | |
parent | 54956d8a810e111f42731487743d5c9221dee42a (diff) | |
download | scummvm-rg350-4e232814d5f96a7a0ed8aa2e249497c0d63dbace.tar.gz scummvm-rg350-4e232814d5f96a7a0ed8aa2e249497c0d63dbace.tar.bz2 scummvm-rg350-4e232814d5f96a7a0ed8aa2e249497c0d63dbace.zip |
CGE2: Implement runGame().
Diffstat (limited to 'engines/cge2/cge2.cpp')
-rw-r--r-- | engines/cge2/cge2.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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() { |