Skip to Content
The Alchemy Project

include/scene/mercury_lighthouse_lights.h

The lights the pool of Mercury Lighthouse and its entrance give the leader, which hold him up as he hops across the water (shared/mercury_lighthouse_lights.c and shared/mercury_lighthouse_column.c).

Included by mercury_lighthouse.c and mercury_lighthouse_entrance.c.

Structures

NameDescription
structMERCURY_LIGHTHOUSE_LIGHTSPublished in the scene's slot for the leader's lights while the column is active.

Enumerations

NameDescription
enumMERCURY_LIGHTHOUSE_POOL_BEHAVIOR { METATILE_BEHAVIOR_MERCURY_LIGHTHOUSE_POOL_HEART, METATILE_BE … }The metatile behaviors Ply gives the pool's metatiles in MercuryLighthouseEntrance and MercuryLighthouseLower, which the hops and the lights answer.

Functions

NameDescription
voidscMercuryLighthouseRestoreLights (Sint32 region, MERCURY_LIGHTHOUSE_LIGHTS *st)Keeps the lights' state for the floor's region; returning to where the party was, the column and the light under the leader are made again.

Variables

NameDescription
extern Sint32PaletteCycleRedThe pool's shimmer, one counter for each colour channel (shared/mercury_lighthouse_palette_cycle.c), which each scene defines.
extern Sint32PaletteCycleGreen
extern Sint32PaletteCycleBlue

Description

The lights the pool of Mercury Lighthouse and its entrance give the leader, which hold him up as he hops across the water (shared/mercury_lighthouse_lights.c and shared/mercury_lighthouse_column.c).

Enumerations in detail

MERCURY_LIGHTHOUSE_POOL_BEHAVIOR

enum MERCURY_LIGHTHOUSE_POOL_BEHAVIOR

The metatile behaviors Ply gives the pool's metatiles in MercuryLighthouseEntrance and MercuryLighthouseLower, which the hops and the lights answer.

EnumeratorValueDescription
METATILE_BEHAVIOR_MERCURY_LIGHTHOUSE_POOL_HEART11The pool's heart,
METATILE_BEHAVIOR_MERCURY_LIGHTHOUSE_POOL_WATER21which gives the leader lights. Out in the water,
METATILE_BEHAVIOR_MERCURY_LIGHTHOUSE_POOL_STEP31where ripples spread from the leader. A plain stepping square of the pool or the floor at its edge, which takes the leader's lights.

Definition at line 17 of file mercury_lighthouse_lights.h.