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
| Name | Description | |
|---|---|---|
struct | MAP_STATE_GROUND_EFFECTS | MAP_STATE as far as groundEffects, read through its bits. |
Macros
| Name | Description | |
|---|---|---|
#define | fdMapSetUpperLevelWading (map) | Sets the map's kind of wading to that of a room with a second level. |
Enumerations
| Name | Description | |
|---|---|---|
enum | MAP_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).
| Enumerator | Value | Description |
|---|---|---|
MAP_WADING_UPPER_LEVEL | 1 | A room with a second level: the leader wades only on the level the water is on. |
MAP_WADING_MUD | 2 | Taopo Swamp: the leader sinks into the mud |
Definition at line 10 of file ground_effects.h.