Enhance Dungeon Map functionality and refactor code structure

- Added dungeon_map.cc to the build configuration for improved organization.
- Refactored namespace usage to yaze::zelda3 for better clarity.
- Updated LoadDungeonMaps and SaveDungeonMaps functions to use kNumRooms constant for room handling.
- Improved error handling in LoadDungeonMapGfxFromBinary function and added comments for better documentation.
This commit is contained in:
scawful
2025-05-19 17:28:45 -04:00
parent 095b3df27e
commit 3c734207be
3 changed files with 94 additions and 65 deletions

View File

@@ -5,6 +5,7 @@ set(
app/zelda3/overworld/overworld.cc
app/zelda3/screen/inventory.cc
app/zelda3/screen/title_screen.cc
app/zelda3/screen/dungeon_map.cc
app/zelda3/sprite/sprite.cc
app/zelda3/sprite/sprite_builder.cc
app/zelda3/music/tracker.cc