Refactor MapPropertiesSystem for Improved UI and Functionality

- Updated the DrawSimplifiedMapSettings method to streamline the layout and enhance usability with new UI constants for table and button dimensions.
- Removed the Tools popup from the MapPropertiesSystem, consolidating editing functionalities for a cleaner interface.
- Enhanced the DrawGraphicsPopup and DrawPalettesPopup methods with custom input widths for better alignment and user experience.
- Improved the organization of map properties sections, adding clear headers for Basic Properties, Area Configuration, and Visual Effects.
- Adjusted button functionalities and hover hints for better user guidance and interaction.
This commit is contained in:
scawful
2025-09-24 21:28:10 -04:00
parent e8afc764a0
commit b9a4d07745
3 changed files with 130 additions and 130 deletions

View File

@@ -486,8 +486,14 @@ void OverworldMap::LoadMainBlocksetId() {
} else if (parent_ >= kDarkWorldMapIdStart &&
parent_ < kSpecialWorldMapIdStart) {
main_gfx_id_ = 0x21;
} else if (parent_ == 0x88) {
main_gfx_id_ = 0x24;
} else if (parent_ >= kSpecialWorldMapIdStart) {
// Special world maps - use appropriate graphics ID based on the specific map
if (parent_ == 0x88) {
main_gfx_id_ = 0x24;
} else {
// Default special world graphics ID
main_gfx_id_ = 0x20;
}
}
}