Skip to Content
The Alchemy Project

src/field/map_screen_markers.c

The map screen's markers (fdMapScreenShow).

Macros

NameDescription
#defineMAP_SCREEN_MARKER (tile, group, scene)A marker row: the marker tile (MAP_SCREEN_MARKER_TILE), the area group whose FLAG_AREA_VISITED shows it, and the scene whose area name (fdAreaGetNameIndex) the cursor shows near it.
#defineAREA_MARKER (group, scene)A town's or a place on the way's marker.
#defineLIGHTHOUSE_MARKER (group, scene)A lighthouse's or Sol Sanctum's marker.

Variables

NameDescription
const Sint32MapScreenAreaMarkers []A row for each World Map actor from WORLD_MAP_FIRST_AREA_ACTOR, whose marker is drawn where that actor stands, so a place's spot on the image is its actor's on the World Map.

Description

The map screen's markers (fdMapScreenShow).

Macros in detail

MAP_SCREEN_MARKER

#define MAP_SCREEN_MARKER(tile, group, scene)

A marker row: the marker tile (MAP_SCREEN_MARKER_TILE), the area group whose FLAG_AREA_VISITED shows it, and the scene whose area name (fdAreaGetNameIndex) the cursor shows near it.

Definition at line 10 of file map_screen_markers.c.

AREA_MARKER

#define AREA_MARKER(group, scene)

A town's or a place on the way's marker.

Referenced by MapScreenAreaMarkers.

Definition at line 13 of file map_screen_markers.c.

LIGHTHOUSE_MARKER

#define LIGHTHOUSE_MARKER(group, scene)

A lighthouse's or Sol Sanctum's marker.

Referenced by MapScreenAreaMarkers.

Definition at line 16 of file map_screen_markers.c.

Variables in detail

MapScreenAreaMarkers

const Sint32 MapScreenAreaMarkers[]

A row for each World Map actor from WORLD_MAP_FIRST_AREA_ACTOR, whose marker is drawn where that actor stands, so a place's spot on the image is its actor's on the World Map. A row of zeros is an actor with no marker, and -1 ends the table.

References Sint32.

Referenced by fdMapScreenUpdateMarkers().

Definition at line 24 of file map_screen_markers.c.