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:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user