feat: Enhance Dungeon Editor with Advanced Room Properties and Layout Visualization
- Introduced advanced room properties UI in the Dungeon Editor, allowing users to set effects and tags for rooms through dropdown menus. - Updated the rendering logic to visualize room layouts, including walls, floors, pits, water, and doors, with appropriate color coding for clarity. - Improved texture management by processing texture updates immediately to ensure objects appear correctly in the editor. - Organized ROM address constants into a new header file for better maintainability and clarity in the codebase. - Refactored existing code to utilize the new constants, ensuring a cleaner and more consistent naming convention.
This commit is contained in:
@@ -105,7 +105,7 @@ class DungeonCanvasViewer {
|
||||
void CalculateWallDimensions(const zelda3::RoomObject& object, int& width, int& height);
|
||||
|
||||
// Visualization
|
||||
void DrawRoomLayout(const zelda3::Room& room);
|
||||
void DrawRoomLayout(zelda3::Room& room); // Non-const to call LoadLayout
|
||||
void DrawObjectPositionOutlines(const zelda3::Room& room);
|
||||
|
||||
// Room graphics management
|
||||
|
||||
Reference in New Issue
Block a user