Skip to Content
The Alchemy Project

struct WORLD_MAP_SCANLINE

One screen line's ground-plane terms on the world map: its width scale and distance, from which its affine parameters are built (fdWorldMapBuildScanlineTable, when the pitch changes).

Declared in world_map_affine.h.

Fields

NameDescription
FIXEDscale, depth , depthThe line's width scale and its signed ground distance, halved, both 16.16 fixed point; both 0 for a line above the horizon.
Sint32offsetX, offsetY , offsetY0 from fdWorldMapBuildScanlineTable
Sint16pa, pc , pc

Description

One screen line's ground-plane terms on the world map: its width scale and distance, from which its affine parameters are built (fdWorldMapBuildScanlineTable, when the pitch changes).

struct WORLD_MAP_SCANLINE

Referenced by fdWorldMapBuildScanlineTable() and fdWorldMapUpdateAffineLines().

Definition at line 14 of file world_map_affine.h.

Fields in detail

scale, depth

FIXED scale, depth

The line's width scale and its signed ground distance, halved, both 16.16 fixed point; both 0 for a line above the horizon.

offsetX, offsetY

Sint32 offsetX, offsetY

0 from fdWorldMapBuildScanlineTable

pa, pc

Sint16 pa, pc