Fix Overworld sprite drawing system
- Updated the MapPropertiesSystem to improve the layout of the simplified map settings table, increasing column widths for better visibility and usability. - Adjusted button sizes in the OverworldEditor for Graphics, Palettes, Overlays, and Properties to enhance user interaction. - Implemented filtering of sprites in the OverworldEditor based on the current world, ensuring only relevant sprites are displayed. - Refactored sprite drawing logic to utilize global coordinates directly, improving accuracy in sprite rendering.
This commit is contained in:
@@ -205,8 +205,17 @@ class OverworldMap : public gfx::GfxContext {
|
||||
message_id_ = 0;
|
||||
area_graphics_ = 0;
|
||||
area_palette_ = 0;
|
||||
main_palette_ = 0;
|
||||
animated_gfx_ = 0;
|
||||
subscreen_overlay_ = 0;
|
||||
area_specific_bg_color_ = 0;
|
||||
custom_gfx_ids_.fill(0);
|
||||
sprite_graphics_.fill(0);
|
||||
sprite_palette_.fill(0);
|
||||
area_music_.fill(0);
|
||||
static_graphics_.fill(0);
|
||||
mosaic_expanded_.fill(false);
|
||||
area_size_ = AreaSizeEnum::SmallArea;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user