Skip to Content
The Alchemy Project

include/field/perspective.h

The world map's perspective view state.

Included by world_map.c and map_grid.h.

Structures

NameDescription
structWORLD_MAP_VIEWThe world map's perspective view: the followed position, screen shake, view position, window, pitch and yaw, tile ids and zoom, in HEAP_SLOT_MAP_GRID where a map keeps its MAP_GRID_SCROLL_STATE.

Macros

NameDescription
#defineWORLD_MAP_STILL_FIRST_TILE 424The first tile, in BG1's character base, of the 30 by 20 tile picture of 256 colours that screen block 6 numbers: the still image's (fdWorldMapStartStillImage), and the map screen's (fdMapScreenShow).

Description

The world map's perspective view state.

Macros in detail

WORLD_MAP_STILL_FIRST_TILE

#define WORLD_MAP_STILL_FIRST_TILE 424

The first tile, in BG1's character base, of the 30 by 20 tile picture of 256 colours that screen block 6 numbers: the still image's (fdWorldMapStartStillImage), and the map screen's (fdMapScreenShow).

Referenced by fdMapScreenShow(), fdWorldMapLoadGraphics() and fdWorldMapPresentStillImage().

Definition at line 92 of file perspective.h.