common
games/tbs/include/unit/scene/common on GitHub
colosso_item_icon.h
games/tbs/include/unit/scene/common/colosso_item_icon.h
colosso_marker.h
games/tbs/include/unit/scene/common/colosso_marker.h
colosso_occupant.h
games/tbs/include/unit/scene/common/colosso_occupant.h
colosso_setup.h
games/tbs/include/unit/scene/common/colosso_setup.h
colosso_solo.h
games/tbs/include/unit/scene/common/colosso_solo.h
effect_psynergy.h
games/tbs/include/unit/scene/common/effect_psynergy.h
effect_spawn.h
games/tbs/include/unit/scene/common/effect_spawn.h
kolima_forest_bridge_falling_effect.h
games/tbs/include/unit/scene/common/kolima_forest_bridge_falling_effect.h
kolima_palette.h
games/tbs/include/unit/scene/common/kolima_palette.h
mercury_lighthouse_lights.h
games/tbs/include/unit/scene/common/mercury_lighthouse_lights.h
Structures
MercuryLighthouseLights
struct MercuryLighthouseLights
Published in the scene's light-controller slot while the pillar is active.
| Field | Declared as | |
|---|---|---|
levels | s32 levels | The leader's lights, 0 to 3: the heart gives three and each hop into the pool spends one. |
terrainCode | s32 terrainCode | the pool's collision code, the floor's region |
sparkTimer | s32 sparkTimer | Frames to the next sparkle at trigger 21, 10 to 39; a hop zeroes it. |
targetX | s32 targetX | 16.16 fixed-point pixels: the centre of the column's cell, where a sinking leader is put back. |
targetZ | s32 targetZ | as targetX |
pillar | struct FieldActor *pillar | the column of light over the leader, or null |
stepEffect | struct FieldActor *stepEffect | The light holding the leader up where they landed in the pool, or null. |
Used by MercuryLighthouse_ChargeLights, MercuryLighthouse_HopAcrossPool, MercuryLighthouse_LoseLights, MercuryLighthouse_RemoveColumnOnRetreat, MercuryLighthouse_RestoreLights, MercuryLighthouse_SparkleAtLeader.
mercury_lighthouse_pillar.h
games/tbs/include/unit/scene/common/mercury_lighthouse_pillar.h
object_nearest.h
games/tbs/include/unit/scene/common/object_nearest.h
object_orbit.h
games/tbs/include/unit/scene/common/object_orbit.h
scroll_initialize_hblank_dma.h
games/tbs/include/unit/scene/common/scroll_initialize_hblank_dma.h
sol_sanctum_elemental_star_ring_setup.h
games/tbs/include/unit/scene/common/sol_sanctum_elemental_star_ring_setup.h
sol_sanctum_init_zoom.h
games/tbs/include/unit/scene/common/sol_sanctum_init_zoom.h
vault_itemobj.h
games/tbs/include/unit/scene/common/vault_itemobj.h
vault_range.h
games/tbs/include/unit/scene/common/vault_range.h
world_map_linked_effects.h
games/tbs/include/unit/scene/common/world_map_linked_effects.h