include/scene/lighthouse_palettes.h
How the Jupiter Lighthouse rooms, and one Mars Lighthouse room that keeps a copy, load their cycling palette (shared/jupiter_lighthouse_load_palettes.c).
Included by jupiter_lighthouse_aerie.c, jupiter_lighthouse_basement.c, jupiter_lighthouse_central_room.c, jupiter_lighthouse_cracked_floor.c, jupiter_lighthouse_locked_doors.c, jupiter_lighthouse_right_tower_lower.c, jupiter_lighthouse_right_tower_upper.c, jupiter_lighthouse_terraces.c, jupiter_lighthouse_upper_hall.c, mars_lighthouse_towers.c and jupiter_lighthouse_load_palettes.c.
Enumerations
| Name | Description | |
|---|---|---|
enum | LIGHTHOUSE_PALETTES { LIGHTHOUSE_PALETTES_BY_FLAG, LIGHTHOUSE_PALETTES_LIT, LIGHTH … } | How scJupiterLighthouseLoadPalettes treats a room. |
Functions
| Name | Description | |
|---|---|---|
void | scJupiterLighthouseLoadPalettes (Sint32 mode) | Keeps a copy of the room's cycling palette and of UNLIT_PALETTE, then starts the cycle once the lighthouse is lit (FLAG_JUPITER_LIGHTHOUSE_ACTIVATED); else the cycle's places show the unlit colours. |
Description
How the Jupiter Lighthouse rooms, and one Mars Lighthouse room that keeps a
copy, load their cycling palette (shared/jupiter_lighthouse_load_palettes.c).
Enumerations in detail
LIGHTHOUSE_PALETTES
enum LIGHTHOUSE_PALETTES
How scJupiterLighthouseLoadPalettes treats a room.
| Enumerator | Value | Description |
|---|---|---|
LIGHTHOUSE_PALETTES_BY_FLAG | lit once the lighthouse is | |
LIGHTHOUSE_PALETTES_LIT | lit whatever the flag | |
LIGHTHOUSE_PALETTES_KEEP_COPIES | by the flag, keeping the copies it has |
Definition at line 10 of file lighthouse_palettes.h.