diff options
author | Paul Gilbert | 2018-04-09 19:33:31 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-04-09 19:33:31 -0400 |
commit | b13b00deb3b604f6ece5e63c3824100b9ae7cb32 (patch) | |
tree | 02da609f5589a5fecd31b499db798f5db9c9ec73 /engines/xeen/xeen.cpp | |
parent | f52517449591bdc269bec7eecfffdc5439567d33 (diff) | |
download | scummvm-rg350-b13b00deb3b604f6ece5e63c3824100b9ae7cb32.tar.gz scummvm-rg350-b13b00deb3b604f6ece5e63c3824100b9ae7cb32.tar.bz2 scummvm-rg350-b13b00deb3b604f6ece5e63c3824100b9ae7cb32.zip |
XEEN: Add Patcher class for doing on-the-fly map patches
The first patch is a script patch for Ellinger's Tower Level 2
on the Dark Side. It fixes an incorrect index for a wall item
of a curtain that's meant to be removed
Diffstat (limited to 'engines/xeen/xeen.cpp')
-rw-r--r-- | engines/xeen/xeen.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/xeen/xeen.cpp b/engines/xeen/xeen.cpp index f495f48a49..41de1d8565 100644 --- a/engines/xeen/xeen.cpp +++ b/engines/xeen/xeen.cpp @@ -49,6 +49,7 @@ XeenEngine::XeenEngine(OSystem *syst, const XeenGameDescription *gameDesc) _locations = nullptr; _map = nullptr; _party = nullptr; + _patcher = nullptr; _resources = nullptr; _saves = nullptr; _screen = nullptr; @@ -75,6 +76,7 @@ XeenEngine::~XeenEngine() { delete _locations; delete _map; delete _party; + delete _patcher; delete _saves; delete _screen; delete _scripts; @@ -100,6 +102,7 @@ bool XeenEngine::initialize() { _locations = new LocationManager(); _map = new Map(this); _party = new Party(this); + _patcher = new Patcher(); _saves = new SavesManager(_targetName); _screen = new Screen(this); _scripts = new Scripts(this); |