src/scene/gondowan_cliffs.c
The Gondowan Cliffs, the maze of ledges, vines and slides west of Madra on the way to Kibombo, and the river channel below them (SceneIdGondowanCliffs and SceneIdGondowanCliffsPass, which share this overlay). More…
#include "field/field_engine.h"#include "field/script_inline.h"#include "scene/scene.h"#include "game/game.h"#include "field/actor_script.h"#include "field/field_sprite.h"#include "field/call.h"#include "macros.h"#include "shared/tile_sprite_reset.c"#include "shared/field_effect_duration_scripts.c"#include "shared/actor_set_sprite_priority.c"#include "shared/actor_create_silhouette.c"#include "shared/scene_create_actor.c"#include "../field/field_effect_move.c"#include "shared/field_effect_spawn.c"#include "text/msg_ids.h"#include "shared/geyser_update.c"#include "shared/geyser_draw.c"#include "shared/geyser_start.c"
Structures
| Name | Description | |
|---|---|---|
struct | MAP_GROUND_EFFECTS | MAP_STATE.groundEffects read as its bit-fields: the footprints, and the kind of wading (1 in rooms with a second level). |
struct | GEYSER | The geyser Scoop digs up: it rises and falls on its timer, carrying the platform at its top, as Yampi Desert's geyser does. |
struct | GEYSER_WORK | The geysers' state, kept in the inventory snapshot's spare room. |
Macros
| Name | Description | |
|---|---|---|
#define | EFFECT_SET_MODE fdActorSelectAnimation | |
#define | EFFECT_SET_SCRIPT fdActorStartScript | |
#define | EFFECT_SPRITE_PRIORITY | |
#define | FLAG_GONDOWAN_CLIFFS_ROPE_LASHED FLAG_SCENE_TEMP(0x00) | The rope Lash ties, for this visit. |
#define | FLAG_GONDOWAN_CLIFFS_FIRST_PUDDLE_FROZEN FLAG_SCENE_TEMP(0x01) | Set as Frost freezes each puddle into a pillar of ice, for this visit. |
#define | FLAG_GONDOWAN_CLIFFS_SECOND_PUDDLE_FROZEN FLAG_SCENE_TEMP(0x02) |
Enumerations
| Name | Description | |
|---|---|---|
enum | anonymous enum { ACTOR_TIGHTROPE_POST_A, ACTOR_TIGHTROPE_POST_B, ACTOR_ROPE_P … } | The cliffs' actors by their rows (Jenna's and Sheba's rows take their own numbers). |
enum | anonymous enum { ACTOR_PASS_TILE_SPRITE_RESET, ACTOR_PASS_TIGHTROPE_POST_A, A … } | The river channel's actors: the unseen one that resets the tile sprites, the tightrope's two posts and the boulder Grind breaks. |
enum | anonymous enum { DOG_ANIMATION_LYING } | The white dog's sprite curled up asleep in the grass. |
enum | anonymous enum { METATILE_BEHAVIOR_GEYSER_SAND } | The metatile behavior of the patch of yellow sand beside the dog, metatile (119, 45), where Scoop digs up the geyser. |
enum | anonymous enum { ENTRANCE_PASS_BY_SHIP } | The river channel's entrance that sets the party aboard the ship and sends it on in by the way from the world map's north. |
enum | anonymous enum { ENTRANCE_STUMP_LEDGE } | Unused: an entrance on the tree stump's ledge, metatile (79, 34), between the stump and Kindle. |
Functions
| Name | Description | |
|---|---|---|
void | scGondowanCliffsFightKindle (void) | Talking to the red Djinni on the ledge near the tree stump starts the battle with Kindle, a Mars Djinni, who joins Felix once beaten. |
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 | scGondowanCliffsFreezeSecondPuddle (void) | Frost on the puddle in the grass at the east end of the cliffs, metatile (117, 35), raises a pillar of ice there that Felix can hop onto to jump the gap on the way to the Healing Fungus; it stays until he leaves the cliffs. |
void | scGondowanCliffsBlowAwayWeeds (void) | Whirlwind on the weeds hanging over a cave mouth west of the dog blows them away for good, opening the way into the cave where the Kibombo warriors hide. |
void | scFieldEffectSpawn (Sint32 x, Sint32 y, Sint32 z, Sint32 velocityX, Sint32 velocityY, Sint32 velocityZ, Uint32 flags, const EFFECT_OPTIONS *options) | Spawns a field effect at x, y, z moving at the velocity given, its type, scale, palette, priority, script, rotation, spin and update chosen by the EFFECT_USE_ flags from the options. |
void | scGeyserStart (Sint32 unused, Sint32 firstTerrain) | Starts the geysers: clears their state unless the party keeps its place, loads the column's tiles and starts scGeyserUpdate and btGeyserDraw. |
void | scGondowanCliffsSpinStump (ACTOR *actor) | The leaping stump's update: its sprite turns a 32nd of a turn a tick. |
void | scGondowanCliffsWaitToLand (ACTOR *actor, Sint32 height) | Waits until the actor has come down to height (16.16), a second at most. |
void | scGondowanCliffsLeapStumpIntoWater (Sint32 mode, Sint32 id) | Pushing the tree stump west with Move to the edge of its ledge, metatile (76, 34), sends it rolling off: it leaps into the stream and lands upright in the water with a thump and a splash, at metatile (74, 33), a stepping stone Felix can hop onto to cross. |
void | scGondowanCliffsFreezeFirstPuddle (void) | Frost on the puddle in the sandy gap between two ledges, near the tree stump, metatile (81, 28), raises a pillar of ice there that Felix can hop onto to cross the gap; it stays until he leaves the cliffs. |
void | scGondowanCliffsScoopUpGeyser (Sint32 stage, Sint32 tick) | Scoop on the patch of yellow sand beside the dog at the east end, metatile (119, 45), digs up a geyser that from then on rises and falls there, a lift Felix can ride up to the cliffs above. |
void | scGondowanCliffsTalkToDog (void) | Talking to the white dog lying in the grass at the east end makes it bark "Rrruff! |
void | scGondowanCliffsGrindTheRock (Sint32 unused, Sint32 id) | Grind on the tall brown boulder standing in the river channel grinds it away for good, so the ship can sail on 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 | scGondowanCliffsCycleWaterColors (void) | Makes the water shimmer: its four colours turn one step every 16 ticks. |
void | scGondowanCliffsSetUpPass (void) | Sets up the river channel: arriving aboard the ship, the party sails on, the tightrope across the channel is strung and the water starts to shimmer. |
void | scGondowanCliffsTurnBackToHelpPiers (void) | Coming back to the cliffs after meeting Piers in Kibombo, before the ceremony at the Gabomba Statue is over, the party stops as soon as it enters: Kraden asks "Felix! |
GEYSER * | scGeyserAdd ( Sint32 slot, Sint32 id, Sint32 timer, Sint32 minHeight, Sint32 maxHeight) | Makes actor id the geyser of entry slot, rising from minHeight to maxHeight pixels every six seconds, starting timer ticks into its round, with an unseen platform at its top for the leader. |
Sint32 | scInit (void) | Sets up the scene being entered. |
Sint32 | scPrepareMap (void) | Once Briggs is caught the pool has dried up: its colours take the dry ground's. |
Variables
| Name | Description | |
|---|---|---|
extern SCENE_ENTRANCE | GondowanCliffsEntrances [] | |
extern SCENE_ENTRANCE | GondowanCliffsPassEntrances [] | |
extern ACTOR_PLACE | GondowanCliffsActorPlacements [] | |
extern ACTOR_PLACE | GondowanCliffsPassActorPlacements [] | |
extern CUE | GondowanCliffsPassCues [] | |
extern CUE | GondowanCliffsCues [] | |
Uint16 | GondowanCliffsSavedWaterColors [WATER_COLORS] | The water's colours as the map loads them, which the shimmer turns through. |
extern Sint16 | GondowanCliffsCameraBoxes [] | The parts of the cliffs the camera keeps out of, left, top, right and bottom in pixels. |
extern Sint32 | GondowanCliffsResetTileSpriteScript [] | |
LATE_DATA Uint32 | SceneExits [] | The room has no exits of its own. |
LATE_DATA const Sint32 * | FieldEffectDurationScripts [] | The field effects' three scripts by how long an effect lasts: short, medium and long. |
Description
The Gondowan Cliffs, the maze of ledges, vines and slides west of Madra on
the way to Kibombo, and the river channel below them (SceneIdGondowanCliffs
and SceneIdGondowanCliffsPass, which share this overlay). Coming from Madra,
Felix finds a dog lying in the grass by the east entrance; Scoop on the
yellow sand beside it digs up a geyser that carries him up onto the cliffs to
the west. Whirlwind clears the weeds from a cave mouth nearby, where Kibombo
warriors are hiding. Further on, Move pushes a tree stump off its ledge into
the stream as a stepping stone, and close by Kindle, a Mars Djinni, waits to
be fought; the tightrope across the river in the far west leads on towards
Kibombo. Two puddles can be frozen with Frost once Felix has it, the eastern
one on a later visit for the Healing Fungus. If the party comes back here
after meeting Piers in Kibombo and before the ceremony at the Gabomba Statue
is over, Kraden, Jenna and Sheba turn Felix back. Late in the game, Grind
breaks the boulder in the river channel so the ship can sail on south to the
western sea.
Macros in detail
EFFECT_SET_MODE
#define EFFECT_SET_MODE fdActorSelectAnimation
Referenced by EFFECT_SPAWN.
Definition at line 143 of file gondowan_cliffs.c.
EFFECT_SET_SCRIPT
#define EFFECT_SET_SCRIPT fdActorStartScript
Referenced by EFFECT_SPAWN.
Definition at line 144 of file gondowan_cliffs.c.
EFFECT_SPRITE_PRIORITY
#define EFFECT_SPRITE_PRIORITY
Definition at line 145 of file gondowan_cliffs.c.
FLAG_GONDOWAN_CLIFFS_ROPE_LASHED
#define FLAG_GONDOWAN_CLIFFS_ROPE_LASHED FLAG_SCENE_TEMP(0x00)
The rope Lash ties, for this visit.
Referenced by GondowanCliffsCues and scInit().
Definition at line 149 of file gondowan_cliffs.c.
FLAG_GONDOWAN_CLIFFS_FIRST_PUDDLE_FROZEN
#define FLAG_GONDOWAN_CLIFFS_FIRST_PUDDLE_FROZEN FLAG_SCENE_TEMP(0x01)
Set as Frost freezes each puddle into a pillar of ice, for this visit.
Referenced by GondowanCliffsCues, scGondowanCliffsFreezeFirstPuddle() and scInit().
Definition at line 151 of file gondowan_cliffs.c.
FLAG_GONDOWAN_CLIFFS_SECOND_PUDDLE_FROZEN
#define FLAG_GONDOWAN_CLIFFS_SECOND_PUDDLE_FROZEN FLAG_SCENE_TEMP(0x02)
Referenced by GondowanCliffsCues, scGondowanCliffsFreezeSecondPuddle() and scInit().
Definition at line 152 of file gondowan_cliffs.c.
Enumerations in detail
anonymous enum
enum { ACTOR_TIGHTROPE_POST_A, ACTOR_TIGHTROPE_POST_B, ACTOR_ROPE_POST_A, ACTOR_ROPE_POST_B, … }
The cliffs' actors by their rows (Jenna's and Sheba's rows take their own numbers).
| Enumerator | Value | Description |
|---|---|---|
ACTOR_TIGHTROPE_POST_A | ACTOR_FIRST_PLACED | The posts of the tightrope |
ACTOR_TIGHTROPE_POST_B | across the river, strung once Briggs is caught. | |
ACTOR_ROPE_POST_A | The posts of the rope Lash | |
ACTOR_ROPE_POST_B | ties from the lower one up to the cliff. | |
ACTOR_FIRST_PUDDLE | The two puddles Frost | |
ACTOR_SECOND_PUDDLE | freezes into pillars of ice. | |
ACTOR_WEEDS | Over the mouth of the cave Whirlwind opens. | |
ACTOR_STUMP | The stump that stands in the stream once | |
ACTOR_DOG | FLAG_GONDOWAN_CLIFFS_STUMP_IN_WATER is set. | |
ACTOR_GEYSER | The unseen point the geyser rises from. | |
ACTOR_FIRST_WARRIOR | The two Kibombo warriors stranded by the river until | |
ACTOR_SECOND_WARRIOR | Briggs is caught. | |
ACTOR_SEA_ROCK | The boulder in the river channel, seen from the cliffs above until Grind breaks it. | |
ACTOR_KINDLE | ||
ACTOR_KRADEN |
Definition at line 33 of file gondowan_cliffs.c.
anonymous enum
enum { ACTOR_PASS_TILE_SPRITE_RESET, ACTOR_PASS_TIGHTROPE_POST_A, ACTOR_PASS_TIGHTROPE_POST_B, ACTOR_PASS_SEA_ROCK }
The river channel's actors: the unseen one that resets the tile sprites, the tightrope's two posts and the boulder Grind breaks.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_PASS_TILE_SPRITE_RESET | ACTOR_FIRST_PLACED | |
ACTOR_PASS_TIGHTROPE_POST_A | ||
ACTOR_PASS_TIGHTROPE_POST_B | ||
ACTOR_PASS_SEA_ROCK |
Definition at line 64 of file gondowan_cliffs.c.
anonymous enum
enum { DOG_ANIMATION_LYING }
The white dog's sprite curled up asleep in the grass.
| Enumerator | Value | Description |
|---|---|---|
DOG_ANIMATION_LYING | 4 |
Definition at line 73 of file gondowan_cliffs.c.
anonymous enum
enum { METATILE_BEHAVIOR_GEYSER_SAND }
The metatile behavior of the patch of yellow sand beside the dog, metatile (119, 45), where Scoop digs up the geyser.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_GEYSER_SAND | 10 |
Definition at line 80 of file gondowan_cliffs.c.
anonymous enum
enum { ENTRANCE_PASS_BY_SHIP }
The river channel's entrance that sets the party aboard the ship and sends it on in by the way from the world map's north. No exit or script in the game names it.
| Enumerator | Value | Description |
|---|---|---|
ENTRANCE_PASS_BY_SHIP | 99 |
Definition at line 88 of file gondowan_cliffs.c.
anonymous enum
enum { ENTRANCE_STUMP_LEDGE }
Unused: an entrance on the tree stump's ledge, metatile (79, 34), between the stump and Kindle. No exit, script or debug room leads to it.
| Enumerator | Value | Description |
|---|---|---|
ENTRANCE_STUMP_LEDGE | 99 |
Definition at line 95 of file gondowan_cliffs.c.
Functions in detail
scGondowanCliffsFightKindle
void scGondowanCliffsFightKindle(void)
Talking to the red Djinni on the ledge near the tree stump starts the battle with Kindle, a Mars Djinni, who joins Felix once beaten.
References fdRequestDjinnBattle().
Referenced by GondowanCliffsCues.
Definition at line 102 of file gondowan_cliffs.c.
scGetEntrances
const SCENE_ENTRANCE *scGetEntrances(void)
References GondowanCliffsEntrances, GondowanCliffsPassEntrances and MainRoutineStateWork.
Definition at line 107 of file gondowan_cliffs.c.
scGetExitRegions
const SCENE_REGION *scGetExitRegions(void)
Definition at line 114 of file gondowan_cliffs.c.
scGetExits
const Uint32 *scGetExits(void)
References SceneExits.
Definition at line 119 of file gondowan_cliffs.c.
scGetActorPlacements
const ACTOR_PLACE *scGetActorPlacements(void)
References GondowanCliffsActorPlacements, GondowanCliffsPassActorPlacements and MainRoutineStateWork.
Definition at line 127 of file gondowan_cliffs.c.
scGondowanCliffsFreezeSecondPuddle
void scGondowanCliffsFreezeSecondPuddle(void)
Frost on the puddle in the grass at the east end of the cliffs, metatile (117, 35), raises a pillar of ice there that Felix can hop onto to jump the gap on the way to the Healing Fungus; it stays until he leaves the cliffs.
The pillar's sprite stops moving and its height is set to 32 pixels, and the puddle's metatile takes the hop flag of the metatile two to its west.
References fdActorGet(), fdMapGridCopyMetatileAttributes() and fdScriptSetFlag().
Referenced by GondowanCliffsCues.
Definition at lines 196 and 324 of file gondowan_cliffs.c.
scGondowanCliffsBlowAwayWeeds
void scGondowanCliffsBlowAwayWeeds(void)
Whirlwind on the weeds hanging over a cave mouth west of the dog blows them away for good, opening the way into the cave where the Kibombo warriors hide.
The leaves are Whirlwind's own; the script only sets the flag that keeps the weeds gone and opens the cave's exit.
References syGameFlagSet().
Referenced by GondowanCliffsCues.
Definition at lines 197 and 341 of file gondowan_cliffs.c.
scGondowanCliffsSpinStump
void scGondowanCliffsSpinStump(ACTOR *actor)
The leaping stump's update: its sprite turns a 32nd of a turn a tick.
Referenced by scGondowanCliffsLeapStumpIntoWater().
Definition at line 209 of file gondowan_cliffs.c.
scGondowanCliffsWaitToLand
void scGondowanCliffsWaitToLand(ACTOR *actor, Sint32 height)
Waits until the actor has come down to height (16.16), a second at most.
References Sint32 and sySynch().
Referenced by scGondowanCliffsLeapStumpIntoWater().
Definition at line 217 of file gondowan_cliffs.c.
scGondowanCliffsLeapStumpIntoWater
void scGondowanCliffsLeapStumpIntoWater(Sint32 mode, Sint32 id)
Pushing the tree stump west with Move to the edge of its ledge, metatile (76, 34), sends it rolling off: it leaps into the stream and lands upright in the water with a thump and a splash, at metatile (74, 33), a stepping stone Felix can hop onto to cross.
The Move row answers every push; only a push that leaves the stump in column 76 starts the leap. The landing metatile takes the hop flag of the metatile two rows north of it.
References fdActorGetById(), fdActorSetAnimation(), fdActorSetDestination(), fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptStart(), scFieldActorWaitForMoveById(), scFieldEffectSpawn(), scFieldMapGridWaitForShakeToSettle(), scGondowanCliffsSpinStump(), scGondowanCliffsWaitToLand(), Sint32, syCos() and sySynch().
Referenced by GondowanCliffsCues.
Definition at line 238 of file gondowan_cliffs.c.
scGondowanCliffsFreezeFirstPuddle
void scGondowanCliffsFreezeFirstPuddle(void)
Frost on the puddle in the sandy gap between two ledges, near the tree stump, metatile (81, 28), raises a pillar of ice there that Felix can hop onto to cross the gap; it stays until he leaves the cliffs.
The pillar's sprite stops moving, and the puddle's metatile takes the hop flag of the metatile two to its west.
References fdActorGet(), fdMapGridCopyMetatileAttributes() and fdScriptSetFlag().
Referenced by GondowanCliffsCues.
Definition at line 308 of file gondowan_cliffs.c.
scGondowanCliffsScoopUpGeyser
void scGondowanCliffsScoopUpGeyser(Sint32 stage, Sint32 tick)
Scoop on the patch of yellow sand beside the dog at the east end, metatile (119, 45), digs up a geyser that from then on rises and falls there, a lift Felix can ride up to the cliffs above.
The Scoop row runs the script every tick of the dig; at SCOOP_DUG_TICK it
redraws the dug ground from a spare metatile of the map and moves the
geyser's unseen point onto it.
References fdActorGet(), fdMapGetTerrainHeight(), fdMapGridCopyMetatilesLayered(), fdScriptSetFlag() and Sint32.
Referenced by GondowanCliffsCues.
Definition at line 353 of file gondowan_cliffs.c.
scGondowanCliffsTalkToDog
void scGondowanCliffsTalkToDog(void)
Talking to the white dog lying in the grass at the east end makes it bark "Rrruff! Rrruff!" at Felix. When Felix is facing the yellow sand beside it, metatile (119, 45), the button opens the field menu instead, as it does where there is nothing to talk to, so that he can choose Scoop there.
References fdActorFaceDirection(), fdActorFaceEachOther(), fdActorGet(), fdScriptEnd(), fdScriptShowMessage(), fdScriptStart(), MainRoutineStateWork, scFieldScriptEndLastingPsynergy(), scFieldScriptSetMessageId() and Sint32.
Referenced by GondowanCliffsCues.
Definition at line 374 of file gondowan_cliffs.c.
scGondowanCliffsGrindTheRock
void scGondowanCliffsGrindTheRock(Sint32 unused, Sint32 id)
Grind on the tall brown boulder standing in the river channel grinds it away for good, so the ship can sail on through.
References fdScriptSetFlag() and Sint32.
Referenced by GondowanCliffsPassCues.
Definition at line 411 of file gondowan_cliffs.c.
scGetCues
const CUE *scGetCues(void)
References GondowanCliffsCues, GondowanCliffsPassCues and MainRoutineStateWork.
Definition at line 417 of file gondowan_cliffs.c.
scGondowanCliffsCycleWaterColors
void scGondowanCliffsCycleWaterColors(void)
Makes the water shimmer: its four colours turn one step every 16 ticks.
References GondowanCliffsSavedWaterColors, Sint32 and TickCount.
Referenced by scGondowanCliffsSetUpPass() and scInit().
Definition at line 428 of file gondowan_cliffs.c.
scGondowanCliffsSetUpPass
void scGondowanCliffsSetUpPass(void)
Sets up the river channel: arriving aboard the ship, the party sails on, the tightrope across the channel is strung and the water starts to shimmer.
References fdScriptSetDestination(), fdTightropeInit(), fdTightropePlace(), GondowanCliffsSavedWaterColors, MainRoutineStateWork, scGondowanCliffsCycleWaterColors(), Sint32, sySetTickEvent() and syWordsCopy().
Referenced by scInit().
Definition at line 446 of file gondowan_cliffs.c.
scGondowanCliffsTurnBackToHelpPiers
void scGondowanCliffsTurnBackToHelpPiers(void)
Coming back to the cliffs after meeting Piers in Kibombo, before the ceremony at the Gabomba Statue is over, the party stops as soon as it enters: Kraden asks "Felix! Where do you intend to go?", Jenna and Sheba side with him, everyone nods, and Felix walks back out to the world map to go and help Piers.
References fdActorFaceActor(), fdActorFaceDirection(), fdActorPlaceOnActor(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetAttachedEffect(), fdActorWalkToAndWait(), fdScriptFinishScreenTransition(), fdScriptPlaySound(), fdScriptShowMessage(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, scFieldActorJump(), scFieldActorShowEmote(), scFieldActorStop(), scFieldActorWatchAndSetScript(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetExitRequest(), scFieldScriptSetMessageId(), scFieldScriptWait() and Sint32.
Referenced by scInit().
Definition at line 469 of file gondowan_cliffs.c.
scGeyserAdd
GEYSER *scGeyserAdd( Sint32 slot, Sint32 id, Sint32 timer, Sint32 minHeight, Sint32 maxHeight)
Makes actor id the geyser of entry slot, rising from minHeight to maxHeight pixels every six seconds, starting timer ticks into its round, with an unseen platform at its top for the leader.
References fdActorGet(), fdActorSetSpriteFlags(), fdScriptGetFlag(), scFieldActorCreate() and Sint32.
Referenced by scInit() and scYampiDesertSetUpScorpionPit().
Definition at lines 528 and 629 of file gondowan_cliffs.c.
scInit
Sint32 scInit(void)
Sets up the scene being entered. The river channel has its own set-up; the cliffs turn the party back while Piers still needs their help, and otherwise tie the rope and string the tightrope, put back the weeds, the frozen puddles, the geyser and the stump as their flags say, and start the water shimmering.
References fdActorGetById(), fdActorSetAnimation(), fdMapGetTerrainHeight(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesLayered(), fdPartyGetLeaderActor(), fdRopeInit(), fdRopePlace(), fdTightropeInit(), fdTightropePlace(), GondowanCliffsSavedWaterColors, MainRoutineStateWork, scGeyserAdd(), scGeyserStart(), scGondowanCliffsCycleWaterColors(), scGondowanCliffsSetUpPass(), scGondowanCliffsTurnBackToHelpPiers(), Sint32, syGameFlagGet() and sySetTickEvent().
Definition at line 536 of file gondowan_cliffs.c.
scPrepareMap
Sint32 scPrepareMap(void)
References GondowanCliffsCameraBoxes, MainRoutineStateWork and Sint32.
Definition at line 612 of file gondowan_cliffs.c.
Variables in detail
GondowanCliffsEntrances
extern SCENE_ENTRANCE GondowanCliffsEntrances[]
LATE_DATA SCENE_ENTRANCE GondowanCliffsEntrances[]
Referenced by scGetEntrances().
Definition at lines 26 and 690 of file gondowan_cliffs.c.
GondowanCliffsPassEntrances
extern SCENE_ENTRANCE GondowanCliffsPassEntrances[]
LATE_DATA SCENE_ENTRANCE GondowanCliffsPassEntrances[]
Referenced by scGetEntrances().
Definition at lines 27 and 702 of file gondowan_cliffs.c.
GondowanCliffsActorPlacements
extern ACTOR_PLACE GondowanCliffsActorPlacements[]
LATE_DATA ACTOR_PLACE GondowanCliffsActorPlacements[]
Referenced by scGetActorPlacements().
Definition at lines 124 and 723 of file gondowan_cliffs.c.
GondowanCliffsPassActorPlacements
extern ACTOR_PLACE GondowanCliffsPassActorPlacements[]
LATE_DATA ACTOR_PLACE GondowanCliffsPassActorPlacements[]
References GondowanCliffsResetTileSpriteScript and Sint32.
Referenced by scGetActorPlacements().
Definition at lines 125 and 761 of file gondowan_cliffs.c.
GondowanCliffsPassCues
extern CUE GondowanCliffsPassCues[]
LATE_DATA CUE GondowanCliffsPassCues[]
References scGondowanCliffsGrindTheRock().
Referenced by scGetCues().
Definition at lines 406 and 779 of file gondowan_cliffs.c.
GondowanCliffsCues
extern CUE GondowanCliffsCues[]
LATE_DATA CUE GondowanCliffsCues[]
References scGondowanCliffsBlowAwayWeeds(), scGondowanCliffsFightKindle(), scGondowanCliffsFreezeFirstPuddle(), scGondowanCliffsFreezeSecondPuddle(), scGondowanCliffsLeapStumpIntoWater(), scGondowanCliffsScoopUpGeyser() and scGondowanCliffsTalkToDog().
Referenced by scGetCues().
Definition at lines 407 and 787 of file gondowan_cliffs.c.
GondowanCliffsSavedWaterColors
Uint16 GondowanCliffsSavedWaterColors[WATER_COLORS]
The water's colours as the map loads them, which the shimmer turns through.
Referenced by scGondowanCliffsCycleWaterColors(), scGondowanCliffsSetUpPass() and scInit().
Definition at line 425 of file gondowan_cliffs.c.
GondowanCliffsCameraBoxes
extern Sint16 GondowanCliffsCameraBoxes[]
LATE_DATA Sint16 GondowanCliffsCameraBoxes[]
The parts of the cliffs the camera keeps out of, left, top, right and bottom in pixels.
Referenced by scPrepareMap().
Definition at lines 610 and 817 of file gondowan_cliffs.c.
GondowanCliffsResetTileSpriteScript
extern Sint32 GondowanCliffsResetTileSpriteScript[]
LATE_DATA Sint32 GondowanCliffsResetTileSpriteScript[]
References scTileSpriteReset() and Sint32.
Referenced by GondowanCliffsPassActorPlacements.
Definition at lines 682 and 684 of file gondowan_cliffs.c.
SceneExits
LATE_DATA Uint32 SceneExits[]
Referenced by scGetExits().
Definition at line 707 of file gondowan_cliffs.c.
FieldEffectDurationScripts
LATE_DATA const Sint32 *FieldEffectDurationScripts[]
References FieldEffectLongScript, FieldEffectMediumScript, FieldEffectShortScript and Sint32.
Referenced by fdEffectSpawnResident(), scFieldEffectSpawn() and scFieldEffectSpawnLocal().
Definition at line 773 of file gondowan_cliffs.c.