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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user