Skip to Content
The Alchemy Project

src/scene/lemuria_palace.c

Lemuria's palace. More…

Macros

NameDescription
#defineOWN_fdScriptEndThe palace declares fdScriptEnd itself, in the form its king's audience calls it (below).
#defineGLOW_PALETTE 12The 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.
#defineROTATING_FIRST_COLOR 1
#defineROTATING_LAST_COLOR 14
#defineGLOW_COLOR 15
#defineGLOW_STEPS 12
#defineMAP_PICTURE_BYTES (64 * 64)The maps' pictures, 64 by 64 pixels of 256 colours each.
#defineMAP_FADE_STEPS 16The steps of LemuriaPalaceMapFadeLevels the shown map shimmers through, eight ticks apiece.
#defineMAP_BLEND_STEPS 28The steps of LemuriaPalaceMapBlendSteps, four ticks apiece: the first map shows from the first and the second from the middle.

Enumerations

NameDescription
enumLEMURIA_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.
enumLEMURIA_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.
enumanonymous 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.
enumLEMURIA_PALACE_MAP_MODE { MAP_MODE_HELD, MAP_MODE_SHIMMER, MAP_MODE_ALTERNATE }What scLemuriaPalaceDrawMaps does with the maps' blend each tick.

Functions

NameDescription
Sint32fdScriptEnd ()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.
voidscLemuriaPalaceDrawMaps (void)An event: draws the two maps floating above the throne room as they are shown, blending them by LemuriaPalaceMapMode.
BSS_DATAALIGNED (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.
voidscLemuriaPalaceEnterDoor (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.
voidscLemuriaPalaceCycleGlowColors (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.
Sint32scInit (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.
Sint32scPrepareMap (void)Once Briggs is caught the pool has dried up: its colours take the dry ground's.
voidscLemuriaPalaceCastMapSparks (Sint32 actorId)Hydros raises a hand and two glints fly up, as each map is called up.
voidscLemuriaPalaceLoadMaps (void)Loads the two maps the council shows the party, the ancient world and Lunpa's, and starts drawing them.
voidscLemuriaPalaceFreeMaps (void)Stops drawing the maps and frees their tiles.
voidscLemuriaPalaceFadeMapsIn (void)Fades the shown map in over 16 steps of four ticks, then lets it shimmer.
voidscLemuriaPalaceFadeMapsOut (void)Fades the shown map out over 16 steps of three ticks.
Sint32scLemuriaPalaceMeetKingHydros (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

NameDescription
extern MAP_EDITLemuriaPalaceDoors []The openings of the entrance hall's west and east doors, at their places on the map grid.
extern MAP_EDITLemuriaPalaceBedroomDoorThe opening of the bedroom's north door, at its place on the map grid.
extern Uint16LemuriaPalaceDoorOpening []How a palace door opens, as two ticks of metatiles copied over the closed door.
Sint32LemuriaPalaceFirstMapVram
Sint32LemuriaPalaceSecondMapShown
EFFECT_SPRLemuriaPalaceSecondMapSpriteThe sprite each of the two maps is drawn as.
Sint32LemuriaPalaceSecondMapTile
EFFECT_SPRLemuriaPalaceFirstMapSprite
Sint32LemuriaPalaceFirstMapTile
Sint8LemuriaPalaceMapMode
Sint32LemuriaPalaceFirstMapShown
Sint32LemuriaPalaceSecondMapVram
Sint32LemuriaPalaceMapTime
extern const Uint8LemuriaPalaceMapFadeLevels []How far the shown map dims as it shimmers, a step every eight ticks (scLemuriaPalaceDrawMaps).
extern const Uint8LemuriaPalaceFirstMapTiles []
extern const Uint8LemuriaPalaceSecondMapTiles []
extern Sint16LemuriaPalaceGlowColors []The glow's colours, in turn.
extern Uint16LemuriaPalaceMapBlendSteps []
SCENE_ENTRANCESceneEntrances []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.
Uint32SceneExits []The room has no exits of its own.
ACTOR_PLACEActorPlacements []The room's people: the party's four rows, then PSYNERGY_TEST_ACTOR_ID's.
CUESceneCues []The room's scripts: talking to its people, Mind Read on them, the metatiles examined, and the field Psynergy each spot answers.
LATE_DATAALIGNED (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.

EnumeratorValueDescription
ACTOR_GIRL_WAITING_ON_THE_KINGACTOR_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_HYDROSwisest of all the Lemurian kings..."
ACTOR_LUNPA"So it would, Your
ACTOR_CONSERVATOHighness." "There is no need, Lunpa."
ACTOR_PALACE_GUARD"You are Lord Felix,
ACTOR_KRADENcorrect?"

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.

EnumeratorValueDescription
WAY_HALL_WEST_DOOR2to the dresser room's door
WAY_HALL_EAST_DOOR3to the barracks' door
WAY_HALL_WEST_STAIRS4up to the throne room's south-west corner
WAY_HALL_EAST_STAIRS5up to the throne room's south-east corner
WAY_DRESSER_ROOM_DOOR6to the hall's west door
WAY_BARRACKS_DOOR7to the hall's east door
WAY_THRONE_ROOM_SOUTH_WEST8down the hall's west stairs
WAY_THRONE_ROOM_SOUTH_EAST9down the hall's east stairs
WAY_THRONE_ROOM_WEST_STAIRS11up to the painting room's west side
WAY_THRONE_ROOM_EAST_STAIRS12up to the painting room's east side
WAY_PAINTING_ROOM_WEST_STAIRS13down to the throne room's west
WAY_PAINTING_ROOM_EAST_STAIRS14down to the throne room's east
WAY_PAINTING_ROOM_PASSAGE15south to the bedroom's door
WAY_BEDROOM_DOOR16north 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.

EnumeratorValueDescription
METATILE_BEHAVIOR_BEFORE_THRONE20
METATILE_BEHAVIOR_GREAT_ADVENTURES_OF_LUNPA200
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.

EnumeratorValueDescription
MAP_MODE_HELDleaves it as the fades set it
MAP_MODE_SHIMMERthe shown map dims a little and back, now and then
MAP_MODE_ALTERNATEthe 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.