diff options
author | Borja Lorente | 2016-06-21 03:02:14 +0200 |
---|---|---|
committer | Borja Lorente | 2016-08-14 18:31:16 +0200 |
commit | ccc76f2119dcd3b802604294fc1f7bccad645374 (patch) | |
tree | d8c5373dd9a12cf40371a6e34913105ea91e6d1c /engines/macventure/world.cpp | |
parent | bbf0c62f14326818d135a75bc6f9e58ad59346a1 (diff) | |
download | scummvm-rg350-ccc76f2119dcd3b802604294fc1f7bccad645374.tar.gz scummvm-rg350-ccc76f2119dcd3b802604294fc1f7bccad645374.tar.bz2 scummvm-rg350-ccc76f2119dcd3b802604294fc1f7bccad645374.zip |
MACVENTURE: Add PPIC0, 1 and 2 decoding
Diffstat (limited to 'engines/macventure/world.cpp')
-rw-r--r-- | engines/macventure/world.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/engines/macventure/world.cpp b/engines/macventure/world.cpp index c7b103efd7..36e9e21158 100644 --- a/engines/macventure/world.cpp +++ b/engines/macventure/world.cpp @@ -23,11 +23,15 @@ World::World(MacVentureEngine *engine, Common::MacResManager *resMan) { _objectConstants = new Container(_engine->getFilePath(kObjectPathID).c_str()); calculateObjectRelations(); - _gameText = new Container("Shadowgate II/Shadow Text"); + warning("Test functions about to happen"); + _gameGraphics = new Container("Shadowgate II/Shadow Graphic"); + _gameText = new Container("Shadowgate II/Shadow Text"); ObjID tid = (ObjID)1; TextAsset test = TextAsset(tid, _gameText, _engine->isOldText(), _engine->getDecodingHuffman()); + ImageAsset testImg(((428 * 2) + 1), _gameGraphics); + delete saveGameRes; saveGameFile.close(); } @@ -140,9 +144,9 @@ void World::updateObj(ObjID objID) { win = _engine->getObjWindow(objID); } if (win) { - //focusObjWin(objID); + _engine->focusObjWin(objID); _engine->runObjQueue(); - //_engine->updateWindow(win); + _engine->updateWindow(win); } } |