struct MERCURY_LIGHTHOUSE_LIGHTS
Published in the scene's slot for the leader's lights while the column is active.
Declared in mercury_lighthouse_lights.h.
Fields
| Name | Description | |
|---|---|---|
Sint32 | levels | The leader's lights, 0 to 3: the heart gives three and each hop into the pool spends one. |
Sint32 | poolBehavior | The pool's metatile behavior, the floor's region. |
Sint32 | rippleTimer | Ticks to the next ripple in |
FIXED | targetX | METATILE_BEHAVIOR_MERCURY_LIGHTHOUSE_POOL_WATER, 10 to 39; a hop zeroes it. |
FIXED | targetZ | column's metatile, where a sinking leader is put back. |
struct ACTOR * | column | The column of light over the leader, or null. |
struct ACTOR * | poolLight | The light holding the leader up where they landed in the pool, or null. |
Description
Published in the scene's slot for the leader's lights while the column is active.
struct MERCURY_LIGHTHOUSE_LIGHTS
Referenced by scInit(), scMercuryLighthouseChargeLights(), scMercuryLighthouseHopAcrossPool(), scMercuryLighthouseLoseLights(), scMercuryLighthouseRemoveColumnOnRetreat(), scMercuryLighthouseRestoreLights() and scMercuryLighthouseRippleAroundLeader().
Definition at line 33 of file mercury_lighthouse_lights.h.
Fields in detail
levels
Sint32 levels
The leader's lights, 0 to 3: the heart gives three and each hop into the pool spends one.
poolBehavior
Sint32 poolBehavior
The pool's metatile behavior, the floor's region.
rippleTimer
Sint32 rippleTimer
Ticks to the next ripple in
targetX
FIXED targetX
METATILE_BEHAVIOR_MERCURY_LIGHTHOUSE_POOL_WATER,
10 to 39; a hop zeroes it.
16.16 fixed-point pixels: the centre of the
targetZ
FIXED targetZ
column's metatile, where a sinking leader is put back.
column
struct ACTOR *column
The column of light over the leader, or null.
poolLight
struct ACTOR *poolLight
The light holding the leader up where they landed in the pool, or null.