Skip to Content
The Alchemy Project

include/scene/ground_effects.h

The map state's ground effects byte as the scenes write it: its footprints and the kind of wading. More…

Included by field_player_control.c, alhafran_cave.c, apojii_islands.c, aqua_rock.c, aqua_rock_inside.c, atteka_inlet.c, daila_rooms.c, islets.c, shrine_of_the_sea_god.c, taopo_swamp.c and trial_road.c.

Structures

NameDescription
structMAP_STATE_GROUND_EFFECTSMAP_STATE as far as groundEffects, read through its bits.

Macros

NameDescription
#definefdMapSetUpperLevelWading (map)Sets the map's kind of wading to that of a room with a second level.

Enumerations

NameDescription
enumMAP_WADING { MAP_WADING_UPPER_LEVEL, MAP_WADING_MUD }The map's kind of wading (GROUND_EFFECTS_WADING).

Description

The map state's ground effects byte as the scenes write it: its footprints and the kind of wading. map_grid.h keeps the byte whole.

Macros in detail

fdMapSetUpperLevelWading

#define fdMapSetUpperLevelWading(map)

Sets the map's kind of wading to that of a room with a second level.

Referenced by scInit(), scIsletsInitSeaOfTime(), scPrepareMap(), scShrineOfTheSeaGodInitBrokenBridges(), scShrineOfTheSeaGodInitEntrance(), scShrineOfTheSeaGodInitFootprints() and scTrialRoadSetUpFountainStage().

Definition at line 27 of file ground_effects.h.

Enumerations in detail

MAP_WADING

enum MAP_WADING

The map's kind of wading (GROUND_EFFECTS_WADING).

EnumeratorValueDescription
MAP_WADING_UPPER_LEVEL1A room with a second level: the leader wades only on the level the water is on.
MAP_WADING_MUD2Taopo Swamp: the leader sinks into the mud

Definition at line 10 of file ground_effects.h.