Enhance ScreenEditor: Refactor LoadDungeonMapTile16 to accept gfx data and bin mode, improve variable naming, and add functionality to load graphics from a BIN file

This commit is contained in:
scawful
2024-11-10 11:29:06 -05:00
parent 03da9d4eaa
commit 6d4f7974ae
2 changed files with 66 additions and 25 deletions

View File

@@ -64,7 +64,7 @@ class ScreenEditor : public SharedRom, public Editor {
void DrawInventoryToolset();
absl::Status LoadDungeonMaps();
absl::Status LoadDungeonMapTile16();
absl::Status LoadDungeonMapTile16(const std::vector<uint8_t>& gfx_data, bool bin_mode = false);
void DrawDungeonMapsTabs();
void DrawDungeonMapsEditor();