struct LIGHT_WHEEL
The ring of five lights above the rocks as it spins to its next light. More…
Declared in altmiller_cave.c.
Fields
| Name | Description | |
|---|---|---|
Sint16 | phase | WHEEL_SPEEDING_UP to WHEEL_STOPPED |
Sint16 | ticks | ticks into the phase |
Sint16 | unused | nothing reads or writes it |
Uint16 | angle | |
Uint16 | speed | |
Uint16 | travel | How far the ring has turned since its last click |
Description
The ring of five lights above the rocks as it spins to its next light. Angles are 16-bit turns, and the light at the top is the chosen one.
struct LIGHT_WHEEL
Referenced by AltmillerCaveLightWheel, AltmillerCaveLightWheelState, scAltmillerCaveSpinLights(), scAltmillerCaveTurnRock() and scInit().
Definition at line 307 of file altmiller_cave.c.
Fields in detail
phase
Sint16 phase
WHEEL_SPEEDING_UP to WHEEL_STOPPED
ticks
Sint16 ticks
ticks into the phase
unused
Sint16 unused
nothing reads or writes it
angle
Uint16 angle
speed
Uint16 speed
travel
Uint16 travel
How far the ring has turned since its last click