Alchemy

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.

FieldDeclared as
unk000u8 unk000[0xfc]PerspectiveWork's fields before animationActive
actives8 activePerspectiveWork's animationActive; not read by name
unk0fdu8 unk0fd[3]not named by TBS code
firsts16 firstPerspectiveWork's windowTop; not read by name
seconds16 secondPerspectiveWork's windowBottom; not read by name
unk104u8 unk104[0x16]PerspectiveWork's shown window, tiles and pitch
rotationu16 rotationPerspectiveWork's yaw, 1/65536 turns

Used by WorldMap_ApplyMapRotation, WorldMap_ApplyMapRotationAndCollision.

Line 13

On this page