Added error handling for when creatures are specified in spawn zones but do not have a corresponding image. Gracefully handle random extra zones that are accidentally added with no type specified. Add in foresty boss/overworld sample themes. Add in placeholder frog info. Refactor MapName to just use strings instead of an enum since we don't want manual upkeep.

This commit is contained in:
2024-01-09 04:50:01 -06:00
parent bcc71601b6
commit 57f482016f
37 changed files with 177 additions and 120 deletions
+1 -2
View File
@@ -40,13 +40,12 @@ All rights reserved.
#include "safemap.h"
INCLUDE_game
INCLUDE_LEVEL_NAMES
float TileGroup::FADE_TIME=0.3f;
uint8_t TileGroup::FADE_AMT=160;
Map&MapHelper::MapFromString(std::string mapName){
return game->MAP_DATA.at(LEVEL_NAMES.at(mapName));
return game->MAP_DATA.at(mapName);
}
void TileGroup::InsertTile(TileRenderData tile){