Context struct holding all data dependencies for map refresh operations. All pointers/references must remain valid for the lifetime of the MapRefreshCoordinator. More...
#include <map_refresh_coordinator.h>
Public Attributes | |
| Rom * | rom = nullptr |
| zelda3::Overworld * | overworld = nullptr |
| std::array< gfx::Bitmap, zelda3::kNumOverworldMaps > * | maps_bmp = nullptr |
| gfx::Tilemap * | tile16_blockset = nullptr |
| gfx::Bitmap * | current_gfx_bmp = nullptr |
| gfx::BitmapTable * | current_graphics_set = nullptr |
| gfx::SnesPalette * | palette = nullptr |
| gfx::IRenderer * | renderer = nullptr |
| Tile16Editor * | tile16_editor = nullptr |
| int * | current_world = nullptr |
| int * | current_map = nullptr |
| int * | current_blockset = nullptr |
| int * | game_state = nullptr |
| bool * | map_blockset_loaded = nullptr |
| absl::Status * | status = nullptr |
| std::function< void(int map_index)> | ensure_map_texture |
| Callback to ensure a map texture is created (stays in OverworldEditor) | |
Context struct holding all data dependencies for map refresh operations. All pointers/references must remain valid for the lifetime of the MapRefreshCoordinator.
Definition at line 41 of file map_refresh_coordinator.h.
| Rom* yaze::editor::MapRefreshContext::rom = nullptr |
Definition at line 42 of file map_refresh_coordinator.h.
Referenced by yaze::editor::OverworldEditor::InitMapRefreshCoordinator(), yaze::editor::MapRefreshCoordinator::RefreshChildMapOnDemand(), yaze::editor::MapRefreshCoordinator::RefreshMapPalette(), and yaze::editor::MapRefreshCoordinator::RefreshMapProperties().
| zelda3::Overworld* yaze::editor::MapRefreshContext::overworld = nullptr |
Definition at line 43 of file map_refresh_coordinator.h.
Referenced by yaze::editor::MapRefreshCoordinator::ForceRefreshGraphics(), yaze::editor::OverworldEditor::InitMapRefreshCoordinator(), yaze::editor::MapRefreshCoordinator::InvalidateGraphicsCache(), yaze::editor::MapRefreshCoordinator::RefreshChildMap(), yaze::editor::MapRefreshCoordinator::RefreshChildMapOnDemand(), yaze::editor::MapRefreshCoordinator::RefreshMapPalette(), yaze::editor::MapRefreshCoordinator::RefreshMapProperties(), yaze::editor::MapRefreshCoordinator::RefreshMultiAreaMapsSafely(), yaze::editor::MapRefreshCoordinator::RefreshSiblingMapGraphics(), and yaze::editor::MapRefreshCoordinator::RefreshTile16Blockset().
| std::array<gfx::Bitmap, zelda3::kNumOverworldMaps>* yaze::editor::MapRefreshContext::maps_bmp = nullptr |
Definition at line 44 of file map_refresh_coordinator.h.
Referenced by yaze::editor::MapRefreshCoordinator::ForceRefreshGraphics(), yaze::editor::OverworldEditor::InitMapRefreshCoordinator(), yaze::editor::MapRefreshCoordinator::RefreshChildMap(), yaze::editor::MapRefreshCoordinator::RefreshChildMapOnDemand(), yaze::editor::MapRefreshCoordinator::RefreshMapPalette(), yaze::editor::MapRefreshCoordinator::RefreshMultiAreaMapsSafely(), yaze::editor::MapRefreshCoordinator::RefreshOverworldMapOnDemand(), and yaze::editor::MapRefreshCoordinator::RefreshSiblingMapGraphics().
| gfx::Tilemap* yaze::editor::MapRefreshContext::tile16_blockset = nullptr |
| gfx::Bitmap* yaze::editor::MapRefreshContext::current_gfx_bmp = nullptr |
Definition at line 46 of file map_refresh_coordinator.h.
Referenced by yaze::editor::OverworldEditor::InitMapRefreshCoordinator(), yaze::editor::MapRefreshCoordinator::RefreshMapPalette(), and yaze::editor::MapRefreshCoordinator::RefreshTile16Blockset().
| gfx::BitmapTable* yaze::editor::MapRefreshContext::current_graphics_set = nullptr |
Definition at line 47 of file map_refresh_coordinator.h.
Referenced by yaze::editor::OverworldEditor::InitMapRefreshCoordinator(), and yaze::editor::MapRefreshCoordinator::InvalidateGraphicsCache().
| gfx::SnesPalette* yaze::editor::MapRefreshContext::palette = nullptr |
Definition at line 48 of file map_refresh_coordinator.h.
Referenced by yaze::editor::OverworldEditor::InitMapRefreshCoordinator(), yaze::editor::MapRefreshCoordinator::RefreshMapPalette(), and yaze::editor::MapRefreshCoordinator::RefreshTile16Blockset().
| gfx::IRenderer* yaze::editor::MapRefreshContext::renderer = nullptr |
Definition at line 49 of file map_refresh_coordinator.h.
Referenced by yaze::editor::OverworldEditor::InitMapRefreshCoordinator(), and yaze::editor::MapRefreshCoordinator::RefreshTile16Blockset().
| Tile16Editor* yaze::editor::MapRefreshContext::tile16_editor = nullptr |
Definition at line 50 of file map_refresh_coordinator.h.
Referenced by yaze::editor::OverworldEditor::InitMapRefreshCoordinator(), yaze::editor::MapRefreshCoordinator::RefreshMapPalette(), yaze::editor::MapRefreshCoordinator::RefreshTile16Blockset(), and yaze::editor::MapRefreshCoordinator::UpdateBlocksetWithPendingTileChanges().
| int* yaze::editor::MapRefreshContext::current_world = nullptr |
Definition at line 53 of file map_refresh_coordinator.h.
Referenced by yaze::editor::OverworldEditor::InitMapRefreshCoordinator(), yaze::editor::MapRefreshCoordinator::RefreshChildMap(), yaze::editor::MapRefreshCoordinator::RefreshChildMapOnDemand(), yaze::editor::MapRefreshCoordinator::RefreshMultiAreaMapsSafely(), and yaze::editor::MapRefreshCoordinator::RefreshOverworldMapOnDemand().
| int* yaze::editor::MapRefreshContext::current_map = nullptr |
Definition at line 54 of file map_refresh_coordinator.h.
Referenced by yaze::editor::OverworldEditor::InitMapRefreshCoordinator(), yaze::editor::MapRefreshCoordinator::RefreshMapPalette(), yaze::editor::MapRefreshCoordinator::RefreshMapProperties(), yaze::editor::MapRefreshCoordinator::RefreshMultiAreaMapsSafely(), yaze::editor::MapRefreshCoordinator::RefreshOverworldMap(), yaze::editor::MapRefreshCoordinator::RefreshOverworldMapOnDemand(), and yaze::editor::MapRefreshCoordinator::RefreshTile16Blockset().
| int* yaze::editor::MapRefreshContext::current_blockset = nullptr |
Definition at line 55 of file map_refresh_coordinator.h.
Referenced by yaze::editor::MapRefreshCoordinator::ForceRefreshGraphics(), yaze::editor::OverworldEditor::InitMapRefreshCoordinator(), and yaze::editor::MapRefreshCoordinator::RefreshTile16Blockset().
| int* yaze::editor::MapRefreshContext::game_state = nullptr |
Definition at line 56 of file map_refresh_coordinator.h.
Referenced by yaze::editor::OverworldEditor::InitMapRefreshCoordinator(), and yaze::editor::MapRefreshCoordinator::RefreshMapProperties().
| bool* yaze::editor::MapRefreshContext::map_blockset_loaded = nullptr |
Definition at line 57 of file map_refresh_coordinator.h.
Referenced by yaze::editor::OverworldEditor::InitMapRefreshCoordinator(), and yaze::editor::MapRefreshCoordinator::UpdateBlocksetWithPendingTileChanges().
| absl::Status* yaze::editor::MapRefreshContext::status = nullptr |
Definition at line 58 of file map_refresh_coordinator.h.
Referenced by yaze::editor::OverworldEditor::InitMapRefreshCoordinator(), and yaze::editor::MapRefreshCoordinator::RefreshChildMap().
| std::function<void(int map_index)> yaze::editor::MapRefreshContext::ensure_map_texture |
Callback to ensure a map texture is created (stays in OverworldEditor)
Definition at line 62 of file map_refresh_coordinator.h.
Referenced by yaze::editor::OverworldEditor::InitMapRefreshCoordinator(), and yaze::editor::MapRefreshCoordinator::RefreshMultiAreaMapsSafely().