Scratch work while Map_ShowWorldMap owns gMapCellBuffer. More...
Data Fields | |
| u16 | markerVramBlock |
| owns the four generated marker tiles | |
| u16 | cursorVramBlock |
| owns the cursor picture's tiles | |
| union FieldCoordinate | cursorX |
| screen column, 16.16 pixels | |
| union FieldCoordinate | cursorY |
| screen row, 16.16 pixels | |
| u8 | padding0c [6] |
| not read by this screen | |
| s16 | namedMarker |
| actor whose name is drawn; -1 clears the name | |
| u8 | padding14 [4] |
| not read by this screen | |
| s32 | cursorSpeed |
| 16.16 screen pixels per frame | |
| struct UiWindow * | nameWindow |
| owned until this screen closes | |
| struct AnimationSpritePart | markers [WORLD_MAP_MARKER_CAPACITY+1] |
Scratch work while Map_ShowWorldMap owns gMapCellBuffer.
Setup runs before the marker task; cleanup removes its window before map graphics reuse it.
Definition at line 48 of file world_map.c.
| u16 WorldMapWork::markerVramBlock |
owns the four generated marker tiles
Definition at line 49 of file world_map.c.
Referenced by BattleFx_CleanupResourcesAndWindow(), BattleFx_SetupResourcesAndWindow(), and Map_UpdateWorldMapMarkers().
| u16 WorldMapWork::cursorVramBlock |
owns the cursor picture's tiles
Definition at line 50 of file world_map.c.
Referenced by BattleFx_CleanupResourcesAndWindow(), and BattleFx_SetupResourcesAndWindow().
| union FieldCoordinate WorldMapWork::cursorX |
screen column, 16.16 pixels
Definition at line 51 of file world_map.c.
Referenced by BattleFx_SetupResourcesAndWindow(), and Map_UpdateWorldMapMarkers().
| union FieldCoordinate WorldMapWork::cursorY |
screen row, 16.16 pixels
Definition at line 52 of file world_map.c.
Referenced by BattleFx_SetupResourcesAndWindow(), and Map_UpdateWorldMapMarkers().
| u8 WorldMapWork::padding0c[6] |
not read by this screen
Definition at line 53 of file world_map.c.
| s16 WorldMapWork::namedMarker |
actor whose name is drawn; -1 clears the name
Definition at line 54 of file world_map.c.
Referenced by BattleFx_SetupResourcesAndWindow(), and Map_UpdateWorldMapMarkers().
| u8 WorldMapWork::padding14[4] |
not read by this screen
Definition at line 55 of file world_map.c.
| s32 WorldMapWork::cursorSpeed |
16.16 screen pixels per frame
Definition at line 56 of file world_map.c.
Referenced by BattleFx_SetupResourcesAndWindow(), and Map_UpdateWorldMapMarkers().
| struct UiWindow* WorldMapWork::nameWindow |
owned until this screen closes
Definition at line 57 of file world_map.c.
Referenced by BattleFx_CleanupResourcesAndWindow(), BattleFx_SetupResourcesAndWindow(), and Map_UpdateWorldMapMarkers().
| struct AnimationSpritePart WorldMapWork::markers[WORLD_MAP_MARKER_CAPACITY+1] |
Definition at line 62 of file world_map.c.
Referenced by BattleFx_SetupResourcesAndWindow(), and Map_UpdateWorldMapMarkers().