map_render_work.h
MapRenderWork, the map renderer's work.
games/tbs/include/map_render_work.h on GitHub
MapRenderWork, the map renderer's work.
Structures
MapRenderWork
struct MapRenderWork
The world map's perspective work (struct PerspectiveWork) as the world map scene sees it, for the map's rotation.
| Field | Declared as | |
|---|---|---|
unk000 | u8 unk000[0xfc] | PerspectiveWork's fields before animationActive |
active | s8 active | PerspectiveWork's animationActive; not read by name |
unk0fd | u8 unk0fd[3] | not named by TBS code |
first | s16 first | PerspectiveWork's windowTop; not read by name |
second | s16 second | PerspectiveWork's windowBottom; not read by name |
unk104 | u8 unk104[0x16] | PerspectiveWork's shown window, tiles and pitch |
rotation | u16 rotation | PerspectiveWork's yaw, 1/65536 turns |
Used by WorldMap_ApplyMapRotation, WorldMap_ApplyMapRotationAndCollision.