diff options
author | Eugene Sandulenko | 2019-06-24 14:55:26 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:59 +0200 |
commit | 8d087a3c7f33b20989dc40a9f326966dc94e3b02 (patch) | |
tree | ee16c7d52977e0c19d459800dc5703267eec1df7 /engines/hdb/hdb.cpp | |
parent | 32e30366a4825eb5e8647f03d2ffa9116c4df0f7 (diff) | |
download | scummvm-rg350-8d087a3c7f33b20989dc40a9f326966dc94e3b02.tar.gz scummvm-rg350-8d087a3c7f33b20989dc40a9f326966dc94e3b02.tar.bz2 scummvm-rg350-8d087a3c7f33b20989dc40a9f326966dc94e3b02.zip |
HDB: Added rest of the stubs for the rendering pipeline
Diffstat (limited to 'engines/hdb/hdb.cpp')
-rw-r--r-- | engines/hdb/hdb.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index 0b6eefb90f..0951eacde4 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -299,8 +299,20 @@ Common::Error HDBGame::run() { _map->draw(); _ai->processCines(); + + AIEntity *e = _ai->getPlayer(); + + if (e && e->level < 2) + _ai->drawWayPoints(); + _map->drawEnts(); _map->drawGratings(); + + if (e && e->level == 2) + _ai->drawWayPoints(); + + _ai->drawLevel2Ents(); + _map->drawForegrounds(); _ai->animateTargets(); |