diff options
author | Eugene Sandulenko | 2019-08-18 20:31:58 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:34 +0200 |
commit | 23c7dc8ebd6f6443f476de010129bb01aff210b4 (patch) | |
tree | 3f0279facd5f8bdac8042110cf2a0d1f5b40b4d9 /engines/hdb | |
parent | 62a0fb85519e8e2eefe08f7d51fd7dbb46bf365f (diff) | |
download | scummvm-rg350-23c7dc8ebd6f6443f476de010129bb01aff210b4.tar.gz scummvm-rg350-23c7dc8ebd6f6443f476de010129bb01aff210b4.tar.bz2 scummvm-rg350-23c7dc8ebd6f6443f476de010129bb01aff210b4.zip |
HDB: Implement differences in rendering pipeline for the PPC demo
Diffstat (limited to 'engines/hdb')
-rw-r--r-- | engines/hdb/hdb.cpp | 4 | ||||
-rw-r--r-- | engines/hdb/map.cpp | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index 43b419abdc..488158152e 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -1012,7 +1012,9 @@ Common::Error HDBGame::run() { if (e && e->level < 2) _ai->drawWayPoints(); - _map->drawEnts(); + if (!(g_hdb->isDemo() && g_hdb->isPPC())) + _map->drawEnts(); + _map->drawGratings(); if (e && e->level == 2) diff --git a/engines/hdb/map.cpp b/engines/hdb/map.cpp index 5defd8680e..e4acff3aba 100644 --- a/engines/hdb/map.cpp +++ b/engines/hdb/map.cpp @@ -910,6 +910,9 @@ void Map::draw() { screenY += kTileWidth; } + if (g_hdb->isDemo() && g_hdb->isPPC()) + drawEnts(); + // Animate FAST Map Tiles if (!(_animCycle % kAnimFastFrames)) { for (Common::Array<uint32>::iterator it = _listBGAnimFast.begin(); it != _listBGAnimFast.end(); ++it) { |