Add EntranceContext for managing custom entrance tile types

This commit is contained in:
scawful
2024-04-12 15:48:11 -04:00
parent 4ab5ee8a68
commit fae853d5e1
3 changed files with 43 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ absl::Status OverworldEditor::Update() {
tile16_individual_,
*overworld_.mutable_all_tiles_types());
gfx_group_editor_.InitBlockset(tile16_blockset_bmp_);
RETURN_IF_ERROR(LoadEntranceTileTypes(*rom()));
all_gfx_loaded_ = true;
} else if (!rom()->is_loaded() && all_gfx_loaded_) {
Shutdown();