diff options
author | Joseph-Eugene Winzer | 2017-08-31 20:50:52 +0200 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 02:14:47 +0000 |
commit | 68c52362e562863acbede225989842839be0e9d6 (patch) | |
tree | 1465446fad4f2af2559daa50db0c603f6aad9f3c /engines/supernova | |
parent | 735e2a8301774827ac793ad4a773d30d569d9102 (diff) | |
download | scummvm-rg350-68c52362e562863acbede225989842839be0e9d6.tar.gz scummvm-rg350-68c52362e562863acbede225989842839be0e9d6.tar.bz2 scummvm-rg350-68c52362e562863acbede225989842839be0e9d6.zip |
SUPERNOVA: Adds Outro initialization
Diffstat (limited to 'engines/supernova')
-rw-r--r-- | engines/supernova/rooms.h | 1 | ||||
-rw-r--r-- | engines/supernova/state.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/engines/supernova/rooms.h b/engines/supernova/rooms.h index 73f364ccf4..0ad7468b55 100644 --- a/engines/supernova/rooms.h +++ b/engines/supernova/rooms.h @@ -1635,6 +1635,7 @@ public: }; class Outro : public Room { +public: Outro(SupernovaEngine *vm, GameManager *gm) { _vm = vm; _gm = gm; diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp index 94a2ef44da..90b2ae35c2 100644 --- a/engines/supernova/state.cpp +++ b/engines/supernova/state.cpp @@ -299,6 +299,7 @@ void GameManager::destroyRooms() { delete _rooms[ELEVATOR]; delete _rooms[STATION]; delete _rooms[SIGN]; + delete _rooms[OUTRO]; } @@ -389,6 +390,7 @@ void GameManager::initRooms() { _rooms[ELEVATOR] = new AxacussElevator(_vm, this); _rooms[STATION] = new AxacussStation(_vm, this); _rooms[SIGN] = new AxacussSign(_vm, this); + _rooms[OUTRO] = new Outro(_vm, this); } void GameManager::initGui() { |