HDB: Unstub TODOs

This commit is contained in:
Nipun Garg 2019-07-15 13:18:38 +05:30 committed by Eugene Sandulenko
parent 4876064372
commit 462d48a901
3 changed files with 2 additions and 20 deletions

View File

@ -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) {

View File

@ -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;

View File

@ -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);