diff options
author | Nipun Garg | 2019-06-21 07:52:10 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:53 +0200 |
commit | 80b76d24f8d26eb3463a9719f83d357efbd6a258 (patch) | |
tree | 3a49d9486d7f42d2430a7ba6eb2c90ebe076402d | |
parent | edb6133e42f2d701e16ad4bf1c2b9a144827ad5a (diff) | |
download | scummvm-rg350-80b76d24f8d26eb3463a9719f83d357efbd6a258.tar.gz scummvm-rg350-80b76d24f8d26eb3463a9719f83d357efbd6a258.tar.bz2 scummvm-rg350-80b76d24f8d26eb3463a9719f83d357efbd6a258.zip |
HDB: Add animating tile lists to Map::load
-rw-r--r-- | engines/hdb/map-loader.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/hdb/map-loader.cpp b/engines/hdb/map-loader.cpp index dff7f0a261..b04beccd5a 100644 --- a/engines/hdb/map-loader.cpp +++ b/engines/hdb/map-loader.cpp @@ -126,9 +126,11 @@ bool Map::load(Common::SeekableReadStream *stream) { g_hdb->_drawMan->setSky(sky); _mapX = _mapY = 0; - /* - TODO: Add the animating tile lists - */ + // Setup animating Tile lists + for (int i = 0; i < _width*_height;i++) { + addBGTileAnimation(i % _width, i / _width); + addFGTileAnimation(i % _width, i / _width); + } struct { AIType type; |