From 462d48a901c3edc76bc117fed60606da5f06cc2d Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Mon, 15 Jul 2019 13:18:38 +0530 Subject: HDB: Unstub TODOs --- engines/hdb/hdb.cpp | 9 --------- engines/hdb/lua-script.cpp | 5 +---- engines/hdb/map.cpp | 8 +------- 3 files changed, 2 insertions(+), 20 deletions(-) diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index 47e1175974..cbba9af764 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -142,15 +142,6 @@ bool HDBGame::init() { return true; } -/* - Changes the current GameState to the next one. - Game State Transitions are deterministic: each state can - only a particular state. The next state is held in gameState. - - TODO: All the functionality hasn't been implemented yet since - their subsystems are incomplete. This section needs to be periodically - updated as soon as the subsytems are improved. -*/ void HDBGame::changeGameState() { switch (_gameState) { diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp index 8302fca579..5c1f1234fa 100644 --- a/engines/hdb/lua-script.cpp +++ b/engines/hdb/lua-script.cpp @@ -1745,10 +1745,7 @@ bool LuaScript::initScript(Common::SeekableReadStream *stream, const char *scrip lua_pushnumber(_state, 480 - 14); lua_setglobal(_state, "BOTTOM_Y"); - /* - TODO: Load the sound names and entity - spawn names into Lua once they are implemented. - */ + warning("STUB: Stick Sound Names into Lua"); // Set the Entity Spawn Names in Lua int j = 0; diff --git a/engines/hdb/map.cpp b/engines/hdb/map.cpp index 1a085f9103..fbaa4c98e2 100644 --- a/engines/hdb/map.cpp +++ b/engines/hdb/map.cpp @@ -323,13 +323,7 @@ bool Map::load(Common::SeekableReadStream *stream) { _iconList[i].value2 = stream->readUint16LE(); } - /* - TODO: Add the InfoList when it comes up - */ - - /* - TODO: Set the InMapName once its setup - */ + g_hdb->setInMapName(_name); _mapExplosions = (byte *)calloc(_width * _height, 1); _mapExpBarrels = (byte *)calloc(_width * _height, 1); -- cgit v1.2.3