Skip to Content
The Alchemy Project

struct WORLD_MAP_AFFINE_STATE

The world map's affine state (heap slot worldMapAffine): the scanline terms and two pages of per-line affine parameters, one built while the other is shown.

Declared in world_map_affine.h.

Fields

NameDescription
WORLD_MAP_SCANLINEscanlines [160]
WORLD_MAP_AFFINE_PAIRpages [2][160]
Uint8unused [4]allocated with the rest; no code reads it

Description

The world map's affine state (heap slot worldMapAffine): the scanline terms and two pages of per-line affine parameters, one built while the other is shown.

struct WORLD_MAP_AFFINE_STATE

Referenced by fdWorldMapApplyAffinePage(), fdWorldMapInitPerspective(), fdWorldMapStartStillImage() and fdWorldMapUpdateView().

Definition at line 42 of file world_map_affine.h.

Fields in detail

scanlines

WORLD_MAP_SCANLINE scanlines[160]

pages

WORLD_MAP_AFFINE_PAIR pages[2][160]

unused

Uint8 unused[4]

allocated with the rest; no code reads it