Port ScreenEditor to use Tilemap, remove Tilesheet class

This commit is contained in:
scawful
2025-05-18 16:46:04 -04:00
parent 7cc808918d
commit a682ea9553
6 changed files with 63 additions and 553 deletions

View File

@@ -567,7 +567,8 @@ absl::Status EditorManager::SaveRom() {
}
if (core::FeatureFlags::get().kSaveDungeonMaps) {
RETURN_IF_ERROR(current_editor_set_->screen_editor_.SaveDungeonMaps());
RETURN_IF_ERROR(zelda3::SaveDungeonMaps(
*current_rom_, current_editor_set_->screen_editor_.dungeon_maps_));
}
RETURN_IF_ERROR(current_editor_set_->overworld_editor_.Save());