src/scene/lemuria_palace.c
Lemuria's palace. More…
#include "field/field_engine.h"#include "field/field_state.h"#include "field/field.h"#include "game/game.h"#include "field/script_inline.h"#include "scene/scene.h"#include "field/call.h"#include "macros.h"#include "text/msg_ids.h"#include "shared/leader_open_door_and_enter.c"
Macros
| Name | Description | |
|---|---|---|
#define | OWN_fdScriptEnd | The palace declares fdScriptEnd itself, in the form its king's audience calls it (below). |
#define | GLOW_PALETTE 12 | The glow palette: every sixth tick its rotating colours move along by one, and every four ticks its glow colour takes the next of GLOW_STEPS steps. |
#define | ROTATING_FIRST_COLOR 1 | |
#define | ROTATING_LAST_COLOR 14 | |
#define | GLOW_COLOR 15 | |
#define | GLOW_STEPS 12 | |
#define | MAP_PICTURE_BYTES (64 * 64) | The maps' pictures, 64 by 64 pixels of 256 colours each. |
#define | MAP_FADE_STEPS 16 | The steps of LemuriaPalaceMapFadeLevels the shown map shimmers through, eight ticks apiece. |
#define | MAP_BLEND_STEPS 28 | The steps of LemuriaPalaceMapBlendSteps, four ticks apiece: the first map shows from the first and the second from the middle. |
Enumerations
| Name | Description | |
|---|---|---|
enum | LEMURIA_PALACE_ACTOR_ID { ACTOR_GIRL_WAITING_ON_THE_KING, ACTOR_WOMAN_SHOWING_THE_WAY, … } | The palace, by the rows of ActorPlacements; the rows for Jenna, Sheba and Piers go to their party slots. |
enum | LEMURIA_PALACE_WAY { WAY_HALL_WEST_DOOR, WAY_HALL_EAST_DOOR, WAY_HALL_WEST_STAIRS … } | The ways between the palace's rooms, each an exit and the entrance beside it, in pairs: each way leads to its partner's entrance and back. |
enum | anonymous enum { METATILE_BEHAVIOR_BEFORE_THRONE, METATILE_BEHAVIOR_GREAT_ADV … } | The metatiles before the throne where the guard stops Felix (scLemuriaPalaceMeetKingHydros), and the bookcases, by the book each holds, and the wardrobe of bathrobes. |
enum | LEMURIA_PALACE_MAP_MODE { MAP_MODE_HELD, MAP_MODE_SHIMMER, MAP_MODE_ALTERNATE } | What scLemuriaPalaceDrawMaps does with the maps' blend each tick. |
Functions
| Name | Description | |
|---|---|---|
Sint32 | fdScriptEnd () | UB: declared with no parameter list and an Sint32 result, as scLemuriaPalaceMeetKingHydros calls it; the definition returns nothing, so the audience returns whatever it leaves behind. |
void | scLemuriaPalaceDrawMaps (void) | An event: draws the two maps floating above the throne room as they are shown, blending them by LemuriaPalaceMapMode. |
BSS_DATA | ALIGNED (16) | The sprite each of the two maps is drawn as. |
const SCENE_ENTRANCE * | scGetEntrances (void) | Where the party can enter: the cave under the spring has its own entrances. |
const SCENE_REGION * | scGetExitRegions (void) | The regions of the rooms whose exits are rectangles: the Chestbeaters' room and the stream room. |
const Uint32 * | scGetExits (void) | The dock's ways lead back the way the party came into Lemuria, which the harbour and the shore of Ancient Lemuria note in FLAG_LEMURIA_OTHER_WAY_IN. |
const ACTOR_PLACE * | scGetActorPlacements (void) | The scene's actor placements: a room of names for its entrance, else the debug room's. |
void | scLemuriaPalaceEnterDoor (Sint32 exit) | Felix walks north into one of the palace's doors: it opens and he goes through. |
const CUE * | scGetCues (void) | The scene's cues: the rooms of names' for any entrance above ENTRANCE_NAMES_ABOVE, else the debug room's. |
void | scLemuriaPalaceCycleGlowColors (void) | An event: every sixth tick the glow palette's rotating colours move along by one; every tick its glow colour takes the glow's step for the tick, each step four ticks long. |
Sint32 | scInit (void) | Sets up the palace: the glow's colours cycling, and once the party has met King Hydros, Piers gone to join it and Conservato gone from the throne room. |
Sint32 | scPrepareMap (void) | Once Briggs is caught the pool has dried up: its colours take the dry ground's. |
void | scLemuriaPalaceCastMapSparks (Sint32 actorId) | Hydros raises a hand and two glints fly up, as each map is called up. |
void | scLemuriaPalaceLoadMaps (void) | Loads the two maps the council shows the party, the ancient world and Lunpa's, and starts drawing them. |
void | scLemuriaPalaceFreeMaps (void) | Stops drawing the maps and frees their tiles. |
void | scLemuriaPalaceFadeMapsIn (void) | Fades the shown map in over 16 steps of four ticks, then lets it shimmer. |
void | scLemuriaPalaceFadeMapsOut (void) | Fades the shown map out over 16 steps of three ticks. |
Sint32 | scLemuriaPalaceMeetKingHydros (void) | Felix walks up the throne room towards King Hydros, metatiles (53, 35) and (54, 35), the first time: the guard steps in front of him, "You are Lord Felix, correct?" Answered no, the guard sends the party back. |
Variables
| Name | Description | |
|---|---|---|
extern MAP_EDIT | LemuriaPalaceDoors [] | The openings of the entrance hall's west and east doors, at their places on the map grid. |
extern MAP_EDIT | LemuriaPalaceBedroomDoor | The opening of the bedroom's north door, at its place on the map grid. |
extern Uint16 | LemuriaPalaceDoorOpening [] | How a palace door opens, as two ticks of metatiles copied over the closed door. |
Sint32 | LemuriaPalaceFirstMapVram | |
Sint32 | LemuriaPalaceSecondMapShown | |
EFFECT_SPR | LemuriaPalaceSecondMapSprite | The sprite each of the two maps is drawn as. |
Sint32 | LemuriaPalaceSecondMapTile | |
EFFECT_SPR | LemuriaPalaceFirstMapSprite | |
Sint32 | LemuriaPalaceFirstMapTile | |
Sint8 | LemuriaPalaceMapMode | |
Sint32 | LemuriaPalaceFirstMapShown | |
Sint32 | LemuriaPalaceSecondMapVram | |
Sint32 | LemuriaPalaceMapTime | |
extern const Uint8 | LemuriaPalaceMapFadeLevels [] | How far the shown map dims as it shimmers, a step every eight ticks (scLemuriaPalaceDrawMaps). |
extern const Uint8 | LemuriaPalaceFirstMapTiles [] | |
extern const Uint8 | LemuriaPalaceSecondMapTiles [] | |
extern Sint16 | LemuriaPalaceGlowColors [] | The glow's colours, in turn. |
extern Uint16 | LemuriaPalaceMapBlendSteps [] | |
SCENE_ENTRANCE | SceneEntrances [] | Besides the party's return to the pier after the ship is stolen, four unused spots about the mast: below the huge block, on the dock by its crate, on the deck, and at the top of the sail's east pole. |
Uint32 | SceneExits [] | The room has no exits of its own. |
ACTOR_PLACE | ActorPlacements [] | The room's people: the party's four rows, then PSYNERGY_TEST_ACTOR_ID's. |
CUE | SceneCues [] | The room's scripts: talking to its people, Mind Read on them, the metatiles examined, and the field Psynergy each spot answers. |
LATE_DATA | ALIGNED (4) Uint16 LemuriaPalaceMapBlendSteps[] | The blend of one turn of the two maps' alternation in the throne room, a step every four ticks: the first map fades up and down, then the second. |
Description
Lemuria's palace. From the city's avenue the party comes into the entrance hall, whose west door opens on a room of dressers and whose east door opens on the barracks. Two stairs at the back of the hall lead up into the throne room, where a guard stops Felix before King Hydros; then the king, Lunpa and Lord Conservato receive the party and show it two glowing maps, the ancient world and the one Lunpa had. Stairs either side of the throne climb to a room with a painting, whose passage south leads to a bedroom also entered from the top of the city.
Macros in detail
OWN_fdScriptEnd
#define OWN_fdScriptEnd
The palace declares fdScriptEnd itself, in the form its king's audience calls
it (below).
Definition at line 12 of file lemuria_palace.c.
GLOW_PALETTE
#define GLOW_PALETTE 12
The glow palette: every sixth tick its rotating colours move along by one,
and every four ticks its glow colour takes the next of GLOW_STEPS steps.
Referenced by fdSuperLuckyDiceRun() and scLemuriaPalaceCycleGlowColors().
Definition at line 104 of file lemuria_palace.c.
ROTATING_FIRST_COLOR
#define ROTATING_FIRST_COLOR 1
Referenced by scLemuriaPalaceCycleGlowColors().
Definition at line 105 of file lemuria_palace.c.
ROTATING_LAST_COLOR
#define ROTATING_LAST_COLOR 14
Referenced by scLemuriaPalaceCycleGlowColors().
Definition at line 106 of file lemuria_palace.c.
GLOW_COLOR
#define GLOW_COLOR 15
Referenced by scLemuriaPalaceCycleGlowColors().
Definition at line 107 of file lemuria_palace.c.
GLOW_STEPS
#define GLOW_STEPS 12
Referenced by scLemuriaPalaceCycleGlowColors().
Definition at line 108 of file lemuria_palace.c.
MAP_PICTURE_BYTES
#define MAP_PICTURE_BYTES (64 * 64)
The maps' pictures, 64 by 64 pixels of 256 colours each.
Referenced by scLemuriaPalaceLoadMaps().
Definition at line 119 of file lemuria_palace.c.
MAP_FADE_STEPS
#define MAP_FADE_STEPS 16
The steps of LemuriaPalaceMapFadeLevels the shown map shimmers through, eight
ticks apiece.
Referenced by scLemuriaPalaceDrawMaps().
Definition at line 122 of file lemuria_palace.c.
MAP_BLEND_STEPS
#define MAP_BLEND_STEPS 28
The steps of LemuriaPalaceMapBlendSteps, four ticks apiece: the first map
shows from the first and the second from the middle.
Referenced by scLemuriaPalaceDrawMaps() and scLemuriaPalaceMeetKingHydros().
Definition at line 125 of file lemuria_palace.c.
Enumerations in detail
LEMURIA_PALACE_ACTOR_ID
enum LEMURIA_PALACE_ACTOR_ID
The palace, by the rows of ActorPlacements; the rows for Jenna, Sheba and
Piers go to their party slots.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_GIRL_WAITING_ON_THE_KING | ACTOR_FIRST_PLACED | "He is still in chambers with Lord Conservato." |
ACTOR_WOMAN_SHOWING_THE_WAY | "If you seek the counsel of His Highness, the king, follow this passage..." | |
ACTOR_MAN_ON_THE_KINGS_MOOD | "His Highness never leaves a meeting with Conservato in a good mood." | |
ACTOR_LEMURIAN_WHO_HEARD_THE_YELLING | "Conservato and the king were yelling so loudly that I could hear them..." | |
ACTOR_LEMURIAN_PRAISING_HYDROS | "King Hydros is the | |
ACTOR_HYDROS | wisest of all the Lemurian kings..." | |
ACTOR_LUNPA | "So it would, Your | |
ACTOR_CONSERVATO | Highness." "There is no need, Lunpa." | |
ACTOR_PALACE_GUARD | "You are Lord Felix, | |
ACTOR_KRADEN | correct?" |
Definition at line 31 of file lemuria_palace.c.
LEMURIA_PALACE_WAY
enum LEMURIA_PALACE_WAY
The ways between the palace's rooms, each an exit and the entrance beside it, in pairs: each way leads to its partner's entrance and back. The hall's doors and the bedroom's open as Felix walks into them.
| Enumerator | Value | Description |
|---|---|---|
WAY_HALL_WEST_DOOR | 2 | to the dresser room's door |
WAY_HALL_EAST_DOOR | 3 | to the barracks' door |
WAY_HALL_WEST_STAIRS | 4 | up to the throne room's south-west corner |
WAY_HALL_EAST_STAIRS | 5 | up to the throne room's south-east corner |
WAY_DRESSER_ROOM_DOOR | 6 | to the hall's west door |
WAY_BARRACKS_DOOR | 7 | to the hall's east door |
WAY_THRONE_ROOM_SOUTH_WEST | 8 | down the hall's west stairs |
WAY_THRONE_ROOM_SOUTH_EAST | 9 | down the hall's east stairs |
WAY_THRONE_ROOM_WEST_STAIRS | 11 | up to the painting room's west side |
WAY_THRONE_ROOM_EAST_STAIRS | 12 | up to the painting room's east side |
WAY_PAINTING_ROOM_WEST_STAIRS | 13 | down to the throne room's west |
WAY_PAINTING_ROOM_EAST_STAIRS | 14 | down to the throne room's east |
WAY_PAINTING_ROOM_PASSAGE | 15 | south to the bedroom's door |
WAY_BEDROOM_DOOR | 16 | north to the painting room |
Definition at line 65 of file lemuria_palace.c.
anonymous enum
enum { METATILE_BEHAVIOR_BEFORE_THRONE, METATILE_BEHAVIOR_GREAT_ADVENTURES_OF_LUNPA, METATILE_BEHAVIOR_LETTER_FROM_BABI, METATILE_BEHAVIOR_HISTORY_OF_LEMURIA, … }
The metatiles before the throne where the guard stops Felix
(scLemuriaPalaceMeetKingHydros), and the bookcases, by the book each holds,
and the wardrobe of bathrobes.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_BEFORE_THRONE | 20 | |
METATILE_BEHAVIOR_GREAT_ADVENTURES_OF_LUNPA | 200 | |
METATILE_BEHAVIOR_LETTER_FROM_BABI | ||
METATILE_BEHAVIOR_HISTORY_OF_LEMURIA | ||
METATILE_BEHAVIOR_ELEMENTAL_LIGHTHOUSES | ||
METATILE_BEHAVIOR_GREAT_LEMURIAN_PEOPLE | ||
METATILE_BEHAVIOR_ALCHEMY_PART_I | ||
METATILE_BEHAVIOR_ALCHEMY_PART_II | ||
METATILE_BEHAVIOR_DIARY_OF_HYDROS | ||
METATILE_BEHAVIOR_BATHROBES |
Definition at line 88 of file lemuria_palace.c.
LEMURIA_PALACE_MAP_MODE
enum LEMURIA_PALACE_MAP_MODE
What scLemuriaPalaceDrawMaps does with the maps' blend each tick.
| Enumerator | Value | Description |
|---|---|---|
MAP_MODE_HELD | leaves it as the fades set it | |
MAP_MODE_SHIMMER | the shown map dims a little and back, now and then | |
MAP_MODE_ALTERNATE | the two maps fade into each other, back and forth |
Definition at line 111 of file lemuria_palace.c.
Functions in detail
scLemuriaPalaceDrawMaps
void scLemuriaPalaceDrawMaps(void)
An event: draws the two maps floating above the throne room as they are
shown, blending them by LemuriaPalaceMapMode. Each time the alternation turns
to a map, a sound marks it.
References fdCameraWorldToScreen(), fdEffectSpriteDraw(), fdScriptPlaySound(), LemuriaPalaceFirstMapShown, LemuriaPalaceFirstMapSprite, LemuriaPalaceMapBlendSteps, LemuriaPalaceMapFadeLevels, LemuriaPalaceMapMode, LemuriaPalaceMapTime, LemuriaPalaceSecondMapShown, LemuriaPalaceSecondMapSprite and Sint32.
Referenced by scLemuriaPalaceFreeMaps() and scLemuriaPalaceLoadMaps().
Definition at lines 130 and 286 of file lemuria_palace.c.
ALIGNED
BSS_DATA ALIGNED(16)
The sprite each of the two maps is drawn as.
Definition at lines 137 and 139 of file lemuria_palace.c.
scGetEntrances
const SCENE_ENTRANCE *scGetEntrances(void)
References SceneEntrances.
Definition at line 149 of file lemuria_palace.c.
scGetExitRegions
const SCENE_REGION *scGetExitRegions(void)
Definition at line 154 of file lemuria_palace.c.
scGetExits
const Uint32 *scGetExits(void)
References SceneExits.
Definition at line 159 of file lemuria_palace.c.
scGetActorPlacements
const ACTOR_PLACE *scGetActorPlacements(void)
References ActorPlacements.
Definition at line 164 of file lemuria_palace.c.
scLemuriaPalaceEnterDoor
void scLemuriaPalaceEnterDoor(Sint32 exit)
Felix walks north into one of the palace's doors: it opens and he goes through. The entrance hall's west door, metatile (5, 23), leads to a room of dressers where an old woman stands; its east door, metatile (30, 23), to the barracks with their beds and barrel; and the door in the north wall of the bedroom, metatile (56, 4), to the passage up to the room with a painting.
References LemuriaPalaceBedroomDoor, LemuriaPalaceDoors, scLeaderOpenDoorAndEnter() and Sint32.
Referenced by SceneCues.
Definition at line 176 of file lemuria_palace.c.
scGetCues
const CUE *scGetCues(void)
References SceneCues.
Definition at line 187 of file lemuria_palace.c.
scLemuriaPalaceCycleGlowColors
void scLemuriaPalaceCycleGlowColors(void)
An event: every sixth tick the glow palette's rotating colours move along by one; every tick its glow colour takes the glow's step for the tick, each step four ticks long.
References LemuriaPalaceGlowColors, Sint32 and TickCount.
Referenced by scInit().
Definition at line 197 of file lemuria_palace.c.
scInit
Sint32 scInit(void)
Sets up the palace: the glow's colours cycling, and once the party has met King Hydros, Piers gone to join it and Conservato gone from the throne room.
References fdActorGet(), fdScriptGetFlag(), MainRoutineStateWork, scFieldActorSetSpritePriority(), scLemuriaPalaceCycleGlowColors(), Sint32 and sySetTickEvent().
Definition at line 220 of file lemuria_palace.c.
scPrepareMap
Sint32 scPrepareMap(void)
References Sint32.
Definition at line 236 of file lemuria_palace.c.
scLemuriaPalaceCastMapSparks
void scLemuriaPalaceCastMapSparks(Sint32 actorId)
Hydros raises a hand and two glints fly up, as each map is called up. The caller passes an actor, but the glints always come from Hydros.
References fdActorGet(), fdActorRelease(), fdActorSetAnimation(), fdActorSpawn(), fdScriptPlaySound(), scFieldActorSetMoveTargetFX(), scFieldActorWaitForMove(), scFieldScriptWait() and Sint32.
Referenced by scLemuriaPalaceMeetKingHydros().
Definition at line 243 of file lemuria_palace.c.
scLemuriaPalaceLoadMaps
void scLemuriaPalaceLoadMaps(void)
Loads the two maps the council shows the party, the ancient world and Lunpa's, and starts drawing them.
References fdEffectSpriteInit(), LemuriaPalaceFirstMapShown, LemuriaPalaceFirstMapSprite, LemuriaPalaceFirstMapTile, LemuriaPalaceFirstMapTiles, LemuriaPalaceFirstMapVram, LemuriaPalaceMapMode, LemuriaPalaceMapTime, LemuriaPalaceSecondMapShown, LemuriaPalaceSecondMapSprite, LemuriaPalaceSecondMapTile, LemuriaPalaceSecondMapTiles, LemuriaPalaceSecondMapVram, mnVRAMLoad(), scLemuriaPalaceDrawMaps(), Sint32, syDecompressTaggedLZ(), syHeapAllocate(), syHeapCallAlternatePool(), syHeapRelease(), sySetTickEvent() and syVRAMCacheFindFreeEntry().
Referenced by scLemuriaPalaceMeetKingHydros().
Definition at line 343 of file lemuria_palace.c.
scLemuriaPalaceFreeMaps
void scLemuriaPalaceFreeMaps(void)
Stops drawing the maps and frees their tiles.
References LemuriaPalaceFirstMapVram, LemuriaPalaceSecondMapVram, scFieldCloseEvent(), scLemuriaPalaceDrawMaps() and syVRAMCacheFreeEntry().
Referenced by scLemuriaPalaceMeetKingHydros().
Definition at line 393 of file lemuria_palace.c.
scLemuriaPalaceFadeMapsIn
void scLemuriaPalaceFadeMapsIn(void)
Fades the shown map in over 16 steps of four ticks, then lets it shimmer.
References LemuriaPalaceMapMode, Sint32 and sySynch().
Referenced by scLemuriaPalaceMeetKingHydros().
Definition at line 401 of file lemuria_palace.c.
scLemuriaPalaceFadeMapsOut
void scLemuriaPalaceFadeMapsOut(void)
Fades the shown map out over 16 steps of three ticks.
References LemuriaPalaceMapMode, Sint32 and sySynch().
Referenced by scLemuriaPalaceMeetKingHydros().
Definition at line 417 of file lemuria_palace.c.
scLemuriaPalaceMeetKingHydros
Sint32 scLemuriaPalaceMeetKingHydros(void)
Felix walks up the throne room towards King Hydros, metatiles (53, 35) and (54, 35), the first time: the guard steps in front of him, "You are Lord Felix, correct?" Answered no, the guard sends the party back. Answered yes, he steps aside, and King Hydros and his council receive the warriors Piers spoke of.
References fdActorFaceActor(), fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorGetById(), fdActorJump(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorSetDestination(), fdActorShowEmote(), fdActorStartRepeatedMotion(), fdActorStop(), fdActorWaitForMoveById(), fdActorWalkBy(), fdActorWalkByAndWait(), fdActorWalkTo(), fdActorWalkToAndWait(), fdActorWatchAndSetScript(), fdCameraFollowActor(), fdCameraWaitForArrival(), fdScriptAskYesNoWithActorAnimation(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptOpenMessage(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptStartColorTransition(), fdScriptWait(), fdStartPaletteTransition(), gmPartyAddMember(), LemuriaPalaceFirstMapShown, LemuriaPalaceMapMode, LemuriaPalaceMapTime, LemuriaPalaceSecondMapShown, MainRoutineStateWork, scFieldActorLaunchFromLeader(), scFieldActorShowEmote(), scFieldScriptShowMessageThenWait(), scLemuriaPalaceCastMapSparks(), scLemuriaPalaceFadeMapsIn(), scLemuriaPalaceFadeMapsOut(), scLemuriaPalaceFreeMaps(), scLemuriaPalaceLoadMaps(), Sint32 and sySynch().
Referenced by SceneCues.
Definition at line 436 of file lemuria_palace.c.
Variables in detail
LemuriaPalaceDoors
extern MAP_EDIT LemuriaPalaceDoors[]
MAP_EDIT LemuriaPalaceDoors[]
The openings of the entrance hall's west and east doors, at their places on the map grid.
References LemuriaPalaceDoorOpening.
Referenced by scLemuriaPalaceEnterDoor().
Definition at lines 127 and 1445 of file lemuria_palace.c.
LemuriaPalaceBedroomDoor
extern MAP_EDIT LemuriaPalaceBedroomDoor
MAP_EDIT LemuriaPalaceBedroomDoor
The opening of the bedroom's north door, at its place on the map grid.
References LemuriaPalaceDoorOpening.
Referenced by scLemuriaPalaceEnterDoor().
Definition at lines 128 and 1451 of file lemuria_palace.c.
LemuriaPalaceDoorOpening
extern Uint16 LemuriaPalaceDoorOpening[]
Uint16 LemuriaPalaceDoorOpening[]
How a palace door opens, as two ticks of metatiles copied over the closed door.
Referenced by LemuriaPalaceBedroomDoor and LemuriaPalaceDoors.
Definition at lines 132 and 1434 of file lemuria_palace.c.
LemuriaPalaceFirstMapVram
Sint32 LemuriaPalaceFirstMapVram
References Sint32.
Referenced by scLemuriaPalaceFreeMaps() and scLemuriaPalaceLoadMaps().
Definition at line 134 of file lemuria_palace.c.
LemuriaPalaceSecondMapShown
Sint32 LemuriaPalaceSecondMapShown
References Sint32.
Referenced by scLemuriaPalaceDrawMaps(), scLemuriaPalaceLoadMaps() and scLemuriaPalaceMeetKingHydros().
Definition at line 135 of file lemuria_palace.c.
LemuriaPalaceSecondMapSprite
EFFECT_SPR LemuriaPalaceSecondMapSprite
The sprite each of the two maps is drawn as.
Referenced by scLemuriaPalaceDrawMaps() and scLemuriaPalaceLoadMaps().
Definition at line 137 of file lemuria_palace.c.
LemuriaPalaceSecondMapTile
Sint32 LemuriaPalaceSecondMapTile
References Sint32.
Referenced by scLemuriaPalaceLoadMaps().
Definition at line 138 of file lemuria_palace.c.
LemuriaPalaceFirstMapSprite
EFFECT_SPR LemuriaPalaceFirstMapSprite
Referenced by scLemuriaPalaceDrawMaps() and scLemuriaPalaceLoadMaps().
Definition at line 139 of file lemuria_palace.c.
LemuriaPalaceFirstMapTile
Sint32 LemuriaPalaceFirstMapTile
References Sint32.
Referenced by scLemuriaPalaceLoadMaps().
Definition at line 140 of file lemuria_palace.c.
LemuriaPalaceMapMode
Sint8 LemuriaPalaceMapMode
Referenced by scLemuriaPalaceDrawMaps(), scLemuriaPalaceFadeMapsIn(), scLemuriaPalaceFadeMapsOut(), scLemuriaPalaceLoadMaps() and scLemuriaPalaceMeetKingHydros().
Definition at line 141 of file lemuria_palace.c.
LemuriaPalaceFirstMapShown
Sint32 LemuriaPalaceFirstMapShown
References Sint32.
Referenced by scLemuriaPalaceDrawMaps(), scLemuriaPalaceLoadMaps() and scLemuriaPalaceMeetKingHydros().
Definition at line 142 of file lemuria_palace.c.
LemuriaPalaceSecondMapVram
Sint32 LemuriaPalaceSecondMapVram
References Sint32.
Referenced by scLemuriaPalaceFreeMaps() and scLemuriaPalaceLoadMaps().
Definition at line 143 of file lemuria_palace.c.
LemuriaPalaceMapTime
Sint32 LemuriaPalaceMapTime
References Sint32.
Referenced by scLemuriaPalaceDrawMaps(), scLemuriaPalaceLoadMaps() and scLemuriaPalaceMeetKingHydros().
Definition at line 144 of file lemuria_palace.c.
LemuriaPalaceMapFadeLevels
extern const Uint8 LemuriaPalaceMapFadeLevels[]
const Uint8 LemuriaPalaceMapFadeLevels[]
How far the shown map dims as it shimmers, a step every eight ticks (scLemuriaPalaceDrawMaps).
Only the first MAP_FADE_STEPS are read; the closing 0 never is.
Referenced by scLemuriaPalaceDrawMaps().
Definition at lines 145 and 1560 of file lemuria_palace.c.
LemuriaPalaceFirstMapTiles
extern const Uint8 LemuriaPalaceFirstMapTiles[]
Referenced by scLemuriaPalaceLoadMaps().
Definition at line 146 of file lemuria_palace.c.
LemuriaPalaceSecondMapTiles
extern const Uint8 LemuriaPalaceSecondMapTiles[]
Referenced by scLemuriaPalaceLoadMaps().
Definition at line 147 of file lemuria_palace.c.
LemuriaPalaceGlowColors
extern Sint16 LemuriaPalaceGlowColors[]
Sint16 LemuriaPalaceGlowColors[]
The glow's colours, in turn.
Referenced by scLemuriaPalaceCycleGlowColors().
Definition at lines 192 and 1550 of file lemuria_palace.c.
LemuriaPalaceMapBlendSteps
extern Uint16 LemuriaPalaceMapBlendSteps[]
Referenced by ALIGNED and scLemuriaPalaceDrawMaps().
Definition at line 281 of file lemuria_palace.c.
SceneEntrances
SCENE_ENTRANCE SceneEntrances[]
Referenced by scGetEntrances().
Definition at line 1326 of file lemuria_palace.c.
SceneExits
Uint32 SceneExits[]
Referenced by scGetExits().
Definition at line 1331 of file lemuria_palace.c.
ActorPlacements
ACTOR_PLACE ActorPlacements[]
Referenced by scGetActorPlacements().
Definition at line 1401 of file lemuria_palace.c.
SceneCues
CUE SceneCues[]
References scLemuriaPalaceEnterDoor() and scLemuriaPalaceMeetKingHydros().
Referenced by scGetCues().
Definition at line 1454 of file lemuria_palace.c.
ALIGNED
LATE_DATA ALIGNED(4) Uint16 LemuriaPalaceMapBlendSteps[]
The blend of one turn of the two maps' alternation in the throne room, a step every four ticks: the first map fades up and down, then the second.
References LemuriaPalaceMapBlendSteps.
Definition at line 1568 of file lemuria_palace.c.