src/scene/mars_lighthouse_entrance.c
The Mars Lighthouse from its doors up to the dragons' hall: the steps outside in the storm and the frozen lower floors inside, in seven scenes that share this overlay. More…
#include "graphics/palette_buffers.h"#include "scene/flame_throwers.h"#include "field/field_engine.h"#include "field/script_inline.h"#include "scene/mars_lighthouse_entrance.h"#include "scene/scene.h"#include "field/field_effect.h"#include "scene/mars_lighthouse_shared.h"#include "edition.h"#include "field/call.h"#include "macros.h"#include "scene/script_check_spheres_overlap.h"#include "field/actor_script.h"#include "text/msg_ids.h"#include "window/window.h"#include "shared/map_metatile_get.c"#include "shared/map_metatile_set.c"#include "shared/actor_set_sprite_priority.c"#include "shared/actor_freeze.c"#include "shared/actor_is_touching.c"#include "shared/actor_is_beside.c"#include "shared/flame_update_forward.c"#include "shared/actor_reset_scripted_for.c"#include "shared/flame_thrower_send_forward.c"#include "shared/flame_update_sideways.c"#include "shared/actor_setup_scripted_part.c"#include "shared/flame_thrower_send_backward.c"#include "shared/flame_thrower_send_east.c"#include "shared/flame_thrower_send_west.c"#include "shared/actor_is_above.c"#include "shared/flame_thrower_update_spark.c"#include "shared/actor_setup_scripted_for.c"#include "shared/flame_thrower_send_spark.c"#include "shared/flame_throwers_puff.c"#include "shared/flame_throwers_create.c"#include "shared/beam_start.c"#include "shared/flame_thrower_is_active.c"#include "shared/flame_thrower_set_active.c"#include "shared/flame_throwers_advance_counter.c"#include "shared/flame_thrower_set.c"#include "shared/flame_thrower_set_puffs_off_screen.c"#include "shared/flame_throwers_set_stop.c"#include "shared/party_take_fall_damage.c"#include "shared/field_effect_advance_spin.c"#include "shared/actor_blink.c"#include "shared/leader_knock_back.c"#include "shared/actor_scatter_crumbs.c"#include "shared/ice_chips_spawn.c"#include "shared/actor_hold_during_script.c"#include "shared/actor_roll_and_crumble.c"#include "shared/actor_launch_ahead.c"#include "shared/actor_pop_up_slow.c"#include "shared/actor_pop_up.c"#include "shared/actor_park.c"#include "shared/actor_steer_by_pad.c"#include "shared/leader_stop_if_pending.c"#include "shared/leader_slide_on_ice.c"#include "shared/slide_on_ice_from_edge.c"#include "shared/leader_slide_on_ice_ahead.c"#include "shared/field_effect_set_sprite_priority.c"#include "../field/field_effect_move.c"#include "shared/cracked_tile_mask.c"#include "shared/cracked_tile_find.c"#include "shared/leader_center_in_metatile.c"#include "shared/cracked_tile_crack.c"#include "../field/field_effect_advance_motion.c"#include "shared/cracked_tile_drop_in.c"#include "shared/cracked_tile_step.c"#include "shared/cracked_tile_place_landing.c"#include "shared/teleport_shimmer.c"#include "shared/actors_set_metatiles_open.c"#include "shared/pound_sink_target.c"#include "shared/actor_set_metatile_open.c"#include "shared/debris_script.c"#include "shared/mars_lighthouse_part_scripts.c"#include "shared/slide_on_ice_angles.c"#include "shared/field_effect_duration_scripts.c"#include "shared/teleport_circle_palette.c"
Macros
| Name | Description | |
|---|---|---|
#define | FLAG_TELEPORTED_ONCE 0xa36 | Felix has teleported from the north circle once. |
#define | FLAG_ICE_SHAFT_GROUND 0xa3e | Grind on the shaft of ice cracked the ice sheet a floor below. |
#define | FLAG_ENTRANCE_SHEET_BURST 0xa3f | |
#define | FLAG_ENTRANCE_SECOND_SHEET_BURST 0xa47 | |
#define | FLAG_ENTRANCE_SECOND_SHEET_CRACKED 0xa48 | A fireball cracked it. |
#define | FLAG_HIDDEN_CIRCLE_ICE_MELTED 0xa49 | The fireball melted the ice in its path. |
#define | FLAG_HIDDEN_CIRCLE_SHEET_CRACKED 0xa4c | |
#define | FLAG_HIDDEN_CIRCLE_SHEET_BURST 0xa4d | |
#define | FLAG_DRAGON_FACE_STATUE_BLOCKS_FLAMES 0xa4e | |
#define | FLAG_ENTRANCE_STATUE_BLOCKS_FLAMES 0xa4f | |
#define | FLAG_ENTRANCE_SHEET_CRACKED FLAG_SCENE_TEMP(0x30) | |
#define | FLAG_ENTRANCE_SECOND_SHEET_SHOWN FLAG_SCENE_TEMP(0x31) | |
#define | FLAG_HIDDEN_CIRCLE_SHEET_SHOWN FLAG_SCENE_TEMP(0x32) | |
#define | FLAG_DRAGON_FACE_AWAKE FLAG_SCENE_TEMP(0x34) | |
#define | MAP_METATILE_FLOOR_HOLE MAP_METATILE_CLIMBABLE | The attribute bit that makes a floor metatile here a hole Felix drops through to the room below; the field engine reads it elsewhere as MAP_METATILE_CLIMBABLE. |
#define | SINK_TICKS 40 | The ticks Felix takes to shrink and sink out of sight through a hole. |
#define | DEFINE_BURST_ICE_SHEET (name, | Defines what Burst does to a sheet of ice, each tick of the cast: as the great blast dies down the sheet is gone and the colours come back; eight columns from x are drawn broken at row z, rows high, from the metatiles at row brokenZ, and take the ground of the metatiles at column groundSourceX, groundRows high from row groundZ; the sheet's actor goes and its flag is set. |
#define | SET_SPRITE_WINDOW_LAYERS () | Shows every layer and the sprites outside the windows, and every layer inside the sprite window. |
#define | METATILE_PUSH_SLOT_ENTRY syOAMAddSpriteAtDepthClamped | |
#define | TELEPORT_CIRCLE_FIRST_ENTRY 137 |
Enumerations
| Name | Description | |
|---|---|---|
enum | MARS_LIGHTHOUSE_ENTRANCE_TELEPORT_CIRCLE { ENTRANCE_SOUTH_CIRCLE, ENTRANCE_NORTH_CIRCLE, DRAGON_FACE_NO … } | The teleport circles that lead within one scene, each the metatile behaviour of its circle, the exit Teleport takes from it and the entrance on it. |
enum | anonymous enum { METATILE_BEHAVIOR_BLACK_ICE, METATILE_BEHAVIOR_CRACKED_ICE_T … } | The other metatile behaviours this overlay's cue rows answer, besides the circles' and the holes' (a hole's behaviour is the exit Felix drops through). |
enum | anonymous enum { BALM_EAST_HALL_NORTH_ENTRANCE } | Balm's room's entrance at the north end of its east hall, where the flame thrower is, which the set-up reads. |
enum | anonymous enum { DRAGON_FACE_SOUTHWEST_FROM_SOUTHEAST, DRAGON_FACE_SOUTHWEST_ … } | The dragon face rooms' entrances that the set-up reads: onto its southwest floor from the southeast and the middle east floors, and onto its north floor from the middle west one. |
enum | anonymous enum { ICE_SHAFT_EAST_TO_NORTHWEST, ICE_SHAFT_NORTHWEST_TO_EAST, IC … } | The ice shaft scene's passages between its parts: the east room, where the shaft stands, the west room and the corridors north-west and north-east of them. |
enum | anonymous enum { ENTRANCE_SOUTHWEST_TO_SOUTHEAST_WEST, ENTRANCE_SOUTHEAST_TO_ … } | The entrance rooms' passages between their parts: the south-west hall, the room south-east of it, the north rooms and the flame chamber north-west of them. |
enum | anonymous enum { BALM_SOUTHWEST_TO_CORRIDOR, BALM_CORRIDOR_TO_SOUTHWEST, BALM … } | Balm's rooms' passages into the long corridor between their south-west room and their east hall. |
enum | anonymous enum { HIDDEN_CIRCLE_SOUTH_TO_NORTHEAST, HIDDEN_CIRCLE_NORTHEAST_TO … } | The hidden circle rooms' passages between their parts: the south hall, the north-east room, the north-west room, the middle room below it and the south-east room. |
enum | anonymous enum { DRAGON_FACE_SOUTHWEST_TO_SOUTHEAST, DRAGON_FACE_SOUTHEAST_TO … } | The dragon face rooms' other passages between their floors: south-west, south-east, middle east, middle west and north. |
enum | anonymous enum { CRACKED_ICE_SOUTHWEST_TO_NORTH, CRACKED_ICE_NORTH_TO_SOUTHWE … } | The cracked ice rooms' passages between the south-west room of cracked tiles, the corridor north of it and the north-west room of the two dragon statues. |
enum | anonymous enum { STAR_ROOM_HALL_TO_CORRIDOR, STAR_ROOM_CORRIDOR_TO_HALL, STAR … } | The Mars Star rooms' passages from their hall to the corridor south-west of it and from that to the small room north of it, as mars_lighthouse_star_room.c names them. |
enum | anonymous enum { ICE_CONE_STANDING } | The pose of the ice cone sprite (SPRITE_STAKE) that a standing cone takes; the next is the cone Pound has flattened. |
enum | anonymous enum { ENTRANCE_STATUE_BLOCKING_COLUMN, DRAGON_FACE_STATUE_BLOCKING … } | The metatile columns where a pushed white dragon statue stands in the flames' way: under the last dragon head at the east end of the flame chamber, and under the dragon head on the wall of the dragon face rooms' urn torch. |
enum | anonymous enum { ICE_STATUE_PUSHED_WEST_COLUMN, ICE_STATUE_PUSHED_EAST_COLUMN } | The metatile columns Balm's room's dragon statue stops in on the black ice: pushed west from its place, from where it slides on to the ice's west end, and pushed east from there, from where it slides back. |
enum | MARS_LIGHTHOUSE_ICE_SHAFT_ACTOR_ID { ACTOR_ICE_SHAFT_ICE_CONE_A, ACTOR_ICE_SHAFT_ICE_CONE_B, ACTO … } | The rooms up the main hall's doorways (the ice shaft scene): two ice cones, the first placed out of sight at the map's corner, the shaft of ice Grind cracks (an unseen marker on it) and Fugue. |
enum | MARS_LIGHTHOUSE_ENTRANCE_ACTOR_ID { ACTOR_PUSHED_STATUE, ACTOR_ENTRANCE_FLAME_THROWER_A, ACTOR_E … } | The main hall and the rooms behind it (the entrance scene): the white dragon statue pushed into the flames, the flame chamber's four dragon heads, the urn torches at the main hall's west end (one lit in the same place as an unlit one, each shown by whether the lighthouse has thawed), two ice cones, the first placed out of sight at the map's corner, and the two ice sheets. |
enum | MARS_LIGHTHOUSE_BALM_ACTOR_ID { ACTOR_BALM_FLAME_THROWER, ACTOR_BALM_TORCH, ACTOR_BALM_WEST_ … } | Balm's rooms: the dragon head and the urn torch its flames light, which sends fireballs down the corridor of ice cones, the two white dragon statues beside the doorway onto the black ice, five ice cones and Balm. |
enum | MARS_LIGHTHOUSE_HIDDEN_CIRCLE_ACTOR_ID { ACTOR_WEST_LIT_TORCH, ACTOR_WEST_TORCH, ACTOR_EAST_LIT_TORCH … } | The hidden circle's rooms: on each side a lit urn torch and the urn torch Blaze sends a fireball from, and the ice sheet the west fireball cracks. |
enum | MARS_LIGHTHOUSE_DRAGON_FACE_ACTOR_ID { ACTOR_UPPER_FLAME_THROWER, ACTOR_UPPER_TORCH, ACTOR_DRAGON_F … } | The dragon face's rooms: the white dragon statue pushed into the flames, the dragon head on the wall and its urn torch, the dragon face that wakes and the torch below it, six ice cones, and the sparkle and fireball a torch sends. |
Functions
| Name | Description | |
|---|---|---|
Sint32 | scMarsLighthouseEntranceSetUpTorch (ACTOR *actor) | An urn torch's script call: the torches stand without a shadow. |
void | scMarsLighthouseEntranceFightFugue (void) | Talking to the Mars Djinni Fugue, east of the shaft of ice in the room at the dead end up the main hall's stairs, from its east or south side, starts the battle with it. |
void | scMarsLighthouseEntranceFightBalm (void) | Talking to the Mercury Djinni Balm, at the west end of the black ice below the two white dragon statues, starts the battle with it. |
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. |
Sint32 | scMarsLighthouseEntranceDryDragonFace (void) | The waking dragon face in the dragon face rooms' long hall has crawled to its west end and stops breathing fire. |
const ACTOR_PLACE * | scGetActorPlacements (void) | The scene's actor placements: a room of names for its entrance, else the debug room's. |
void | scMarsLighthouseEntranceStartBlazeOnStatue (void) | Unused: as the dragon hall's, makes the next cast of Blaze a long spray (FIELD_STATE.blazeLongSpray): cast at a target, Blaze then takes BLAZE_LONG_SPRAY over BLAZE_SPRAY, and each cast clears it as it starts. |
void | fdTeleportPlayWhirl (void) | The arriving half of a teleport: a whirl of sparks, the coloured orbs of RESOURCE_COLOURED_ORBS, falls in round the hidden leader with SE_SPARKLE_FALL, the leader spins and grows back to full size inside it, and the whirl dies away. |
void | fdTeleportPlaySparks (void) | The leaving half of a teleport, fdTeleportPlayWhirl's companion in the same scenes: the leader raises both arms in changing colours, spins faster and faster as sparks burst from it, shrinks away and is hidden. |
BSS_DATA | ALIGNED (4) | 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. |
Sint32 | scMapMetatileGetAttributes (Uint32 layer, Sint32 x, Sint32 z) | Returns a metatile's collision code and attributes as a halfword. |
Sint32 | fdMapGetTerrainHeight (Sint32 layer, Sint32 x, Sint32 z) | The ground height of a layer at (x, z), 16.16 pixels (fdMapGridGetTerrainHeight, through the overlay's own import row). |
void | scSetActorSpritePriority (ACTOR *actor, Sint32 priority) | Fixes the priority of the actor's sprite and its shadow, which then no longer follows the map metatile under it (clears ACTOR_PRIORITY_AUTOMATIC). |
void | scMarsLighthouseEntranceSetIceConeMetatiles (ACTOR *actor) | Sets the metatiles under an ice cone: standing, it blocks the way, the ground there is raised and it is drawn in front; flattened (its flag, ACTOR.flag, set), the metatiles are clear and the ground is lowered again. |
void | scMarsLighthouseEntrancePlaceIceCones (Uint16 *table) | Places the ice cones of a list ended by ACTOR_LIST_END, each row three halfwords: the cone, its standing pose and the flag set once Pound has flattened it, which picks the flattened pose after it. |
void | scMarsLighthouseEntrancePoundIceCone (Sint32 stage, Sint32 tick) | Each tick of Pound on an ice cone: while the great fist falls, eight ticks, the cone grows shorter and a chip of blue ice flies off it, lower each time; once the fist has landed the cone is gone, its flag set and its metatiles cleared (scMarsLighthouseEntranceSetIceConeMetatiles), so Felix can walk over the spot. |
void | scMarsLighthouseEntranceStartPoundIceCone (Sint32 stage, Sint32 tick) | Felix casts Pound on one of the ice cones that stand on the lighthouse's frozen floors (one up the main hall's stairs, one in the main hall, five in the corridor of Balm's rooms, six in the dragon face rooms' long hall): a great fist beats it down into the floor, chips of ice flying, until it is gone and the way is clear. |
void | scMarsLighthouseEntranceScatterIceChips (Sint32 id) | Throws six chips of ice from an actor as its ice cracks or breaks, as the star room's scMarsLighthouseStarRoomScatterIceChips does; each overlay keeps its own, this one creating them through its other import row. |
void | scMarsLighthouseEntranceGrindIce (void) | Felix casts Grind on the shaft of ice poking up through the floor of the dead-end room up the main hall's stairs: it crumbles away in bursts of ice chips, and the scene cuts to the small room east of the main hall below, where the floor shakes and a crack runs through the ice wall, ready for Burst, before Felix is brought back. |
void | scMarsLighthouseEntranceCheckIce (void) | Felix examines the shaft of ice in the dead-end room up the main hall's stairs: "Felix checked the ice." and "A shaft of ice is poking up through the floor." |
void | scMarsLighthouseEntranceTeleportFromNorthCircle (void) | Felix casts Teleport on the north circle, beside the Teleport Lapis chest: the screen turns grey, sparks swirl round him and he appears on the south circle in the room behind the burst ice wall. |
void | scMarsLighthouseEntranceTeleportFromSouthCircle (void) | Felix casts Teleport on the south circle, in the room behind the burst ice wall: in a swirl of sparks he appears on the north circle, on the ledge beside the Teleport Lapis chest. |
void | scMarsLighthouseEntranceBurstIceSheet (Sint32 stage, Sint32 tick) | |
void | scMarsLighthouseEntranceBlazeTorch (void) | Felix casts Blaze at the urn torch at the west end of the main hall: a fireball sets off east along the hall toward the big sheet of ice. |
void | scMarsLighthouseEntranceWatchFireballCrackIce (void) | As the fireball from the main hall's west torch rolls east, the camera follows it along the hall to the sheet of ice it cracks and holds there. |
void | scMarsLighthouseEntranceDrawCrackedSheet (void) | Draws the main hall's big sheet of ice cracked, on both floors. |
void | scMarsLighthouseEntranceCrackIceSheet (void) | The fireball from the main hall's west torch reaches the big sheet of ice and cracks it, with a crack of ice. |
DEFINE_BURST_ICE_SHEET( | MarsLighthouseEntranceBurstSecondIceSheet , 28, 92, 8, 100, 92, 38, 8, ACTOR_SECOND_ICE_SHEET, FLAG_ENTRANCE_SECOND_SHEET_BURST) | Felix casts Burst on the big sheet of ice in the east of the main hall (metatiles (29, 43) and (30, 43)), once the west torch's fireball has cracked it: it blows apart in fiery blasts and the way past it is clear. |
void | scMarsLighthouseEntrancePushStatueIntoFlames (Sint32 unused, Sint32 id) | Each time Felix pushes or Moves the white dragon statue along the flame chamber, west of the room behind the burst ice wall, the game checks where it stands. |
void | scMarsLighthouseEntranceBlockRetreatAtChest (void) | Felix examines the Teleport Lapis chest, on the ledge above the north circle; besides the chest opening as usual, Retreat stops working, and casting it answers "Retreat... |
void | scMarsLighthouseEntranceTeleportFromBalm (void) | Felix casts Teleport on the circle in the room of the Orihalcon chest: in a swirl of sparks he appears on the hidden circle among the stone posts. |
void | scMarsLighthouseEntranceSlideStatueOnIce (Sint32 unused, Sint32 id) | Felix Moves the west one of the two white dragon statues beside the doorway onto Balm's black ice: pushed west, it slides along the ice to the wall (x 152), where it will stop Felix's own slides; pushed east from there, it slides back to its place by the doorway (x 200). |
void | scMarsLighthouseEntranceBlazeHiddenCircleWestTorch (void) | Felix casts Blaze at the urn torch at the west end of the room beyond the first black ice: the camera moves to the torch as it sends a fireball east toward the sheet of ice over the lower passage. |
void | scMarsLighthouseEntranceWatchFireballCrackHiddenCircleIce (void) | The camera holds for two seconds on the sheet of ice the west torch's fireball cracks. |
void | scMarsLighthouseEntranceCrackHiddenCircleIceSheet (void) | The west torch's fireball reaches the sheet of ice before the hidden circle's rooms, which cracks with a crack of ice, unless Burst has broken it already. |
void | scMarsLighthouseEntranceBlazeHiddenCircleEastTorch (void) | Felix casts Blaze at the urn torch under the great carved dragon face in the right-hand room of ice cones: the torch sends a fireball rolling south through the ice. |
void | scMarsLighthouseEntranceWatchFireballMeltIce (void) | The camera follows the east torch's fireball south as it melts the ice in its path, and holds on the cleared way. |
void | scMarsLighthouseEntranceTeleportFromHiddenCircle (void) | Felix casts Teleport on the hidden circle among the stone posts: in a swirl of sparks he appears on the circle in the room of the Orihalcon chest. |
void | scMarsLighthouseEntranceRevealTeleportCircle (void) | While Felix's Reveal lasts, the teleport circle hidden in the floor among the room's six stone posts shows (metatiles (53, 48) to (56, 50)). |
void | scMarsLighthouseEntranceHideTeleportCircle (void) | As Reveal fades, the hidden teleport circle among the stone posts is covered again. |
DEFINE_BURST_ICE_SHEET( | MarsLighthouseEntranceBurstHiddenCircleIceSheet , 12, 95, 6, 101, 76, 40, 5, ACTOR_HIDDEN_CIRCLE_ICE_SHEET, FLAG_HIDDEN_CIRCLE_SHEET_BURST) | Felix casts Burst on the sheet of ice the west torch's fireball cracked (metatiles (14, 42) and (15, 42)): it blows apart in fiery blasts and the lower passage is open. |
void | scMarsLighthouseEntranceMeltIceInPath (void) | The east torch's fireball melts the ice in its path and opens the way south to the doorway. |
void | scMarsLighthouseEntranceClearFireballRow (void) | The fireball in the dragon face rooms' long hall has passed: the metatiles of its row are cleared. |
void | scMarsLighthouseEntranceTeleportFromDragonFaceNorth (void) | Felix casts Teleport on the north circle of the dragon face's rooms (metatiles (12, 25) to (15, 27)): in a swirl of sparks he appears on the south circle in the room below, by the dragon head on its west wall. |
void | scMarsLighthouseEntranceTeleportFromDragonFaceSouth (void) | Felix casts Teleport on the south circle of the dragon face's rooms (metatiles (11, 44) to (14, 46)), by the dragon head on its west wall: in a swirl of sparks he appears on the north circle. |
void | scMarsLighthouseEntrancePushStatueIntoDragonFaceFlames (Sint32 unused, Sint32 id) | Felix Moves the white dragon statue on the ledge at the west of the south circle's room: pushed one metatile east (metatile (5, 43)), it stands under the small dragon head on the wall and blocks the flames it breathes at the urn torch, and stays there from then on. |
void | scMarsLighthouseEntranceDrawHoleMask (void) | Each tick of a fall through the floor: the mask sprite is drawn over Felix's metatile, so that he sinks out of sight through the hole. |
void | scMarsLighthouseEntranceStartHoleMask (void) | Hides Felix's sprite below the floor as he drops through it: a sprite of colour 1 in a VRAM block of its own, drawn each tick in the OBJ window over his metatile (scMarsLighthouseEntranceDrawHoleMask). |
void | scMarsLighthouseEntranceFallIntoHole (Sint32 exitId) | Felix walks onto one of the purple holes on the upper floor of the dragon face's rooms (metatiles (15, 43) to (16, 46) east of the south circle, and (54, 8) to (55, 11) in the long hall): startled, he raises his arms and sinks out of sight, the screen closes in on him, and he drops into a room of the dragons' hall below, landing in a puff of dust. |
void | scMarsLighthouseEntranceWakeDragonFace (void) | Felix steps onto metatile (52, 8) in the dragon face rooms' long hall, at the head of the slide down the ice: with a click the dragon face wakes, and the game can no longer be saved. |
void | scMarsLighthouseEntranceSlideFromEdge (void) | Stepping onto the black ice in the dragon face rooms' long hall, Felix slides on across it; if a fireball has hit him he rides along with it. |
void | syGameFlagSetByte (Sint32 flag, Sint32 value) | Sets the whole byte flags is in. |
void | scMarsLighthouseEntranceFallThroughCrack (const MAP_METATILE *metatile) | Felix drops through a cracked tile of the cracked ice room: startled, he raises his arms and sinks out of sight, and lands in the room below. |
void | scMarsLighthouseEntranceJumpOrSlide (void) | Felix walks onto one of the pillar tops of the cracked ice room's jumping puzzle (metatiles (13, 28), (7, 30), (11, 34), (8, 36) and (14, 37)): he hops on across the gap the way he is walking where there is somewhere to land, and otherwise slides on as on ice. |
void | scMarsLighthouseEntranceCheckCrackedFloor (void) | Felix steps on one of the pale cracked tiles among the pillar tops of the cracked ice room (on its upper floor, metatiles (8, 29) to (14, 38)): those that give way drop him through to the room below, as scMarsLighthouseEntranceFallThroughCrack shows; the others hold. |
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 | scMarsLighthouseEntrancePulseDragonFire (void) | The dragon face at the west end of the long hall breathes fire for a second and stops for four, in turn. |
void | scMarsLighthouseEntranceFlickerDragonFace (ACTOR *actor) | Each tick the waking dragon face flickers: tinted red for two ticks in eight. |
void | scMarsLighthouseEntranceFlingIceCone (ACTOR *actor) | An ice cone the dragon face's fireball reaches spins and flies off east, shrinking. |
void | scMarsLighthouseEntranceWaitForDragonFace (ACTOR *actor) | An ice cone waits until the dragon face's fireball comes within 32 pixels across, then is flung away. |
void | scMarsLighthouseEntranceStopSlideWhileRiding (void) | Each tick in the dragon face's rooms: once the dragon face's fireball has hit Felix on the ice, he sits blinking on it, red, as it carries him east across the ice to the hole at its end, where "!" shows over him and he falls through to the room below; his own slide on the ice is held stopped meanwhile, so that only the fireball moves him. |
void | scFlameThrowersStart (Uint16 *targets, Uint16 *stops, Sint32 onStopped, Sint32 hitCue) | Sets the flame throwers going, unless the scene starts where the party was: up to four listed actors with their flags and reach, and up to four actors their flames stop at; then what is called back when a flame meets a blocked one and the step cue a hit raises. |
void | scFlameThrowerSetPuffsOffScreen (Sint32 index, Sint16 value) | Sets whether flame thrower index puffs even off screen. |
void | scPaletteSetColorsFade (Uint16 *slots, Uint16 *colours, Uint16 *cycleColors, Uint16 *cycleSlots) | Writes each listed background colour from its red, green and blue, keeps the lists for the shimmer, and saves the palettes as the fade's source; arriving by Teleport, the party then arrives on the circle. |
void | scMarsLighthouseEntranceShootDragonFaceUpperFireball (void) | The flames of the dragon face rooms' dragon head reach the urn torch below it, and its fireball sets off east. |
Sint32 | scInit (void) | Opens the room through the window transition, and in the debug room draws the cat 1.7 times its size. |
Sint32 | scPrepareMap (void) | Once Briggs is caught the pool has dried up: its colours take the dry ground's. |
void | scMarsLighthouseEntranceShootDragonFaceLowerFireball (void) | The flames reach the urn torch at the west end of the long hall, and its fireball sets off east along the hall. |
void | scMarsLighthouseEntranceShootBalmFireball (void) | The dragon head's flames reach the urn torch at the head of the corridor of ice cones in Balm's rooms, and its fireball sets off south down it. |
void | scMarsLighthouseEntranceShootFireballAtHiddenCircleIceSheet (void) | The west urn torch's fireball sets off east for the sheet of ice. |
void | scMarsLighthouseEntranceShootFireballThroughIce (void) | The urn torch under the dragon face sends its fireball south through the ice. |
void | scMarsLighthouseEntranceShootFireballAtIceSheet (void) | The main hall's west torch sends its fireball east for the big sheet of ice. |
void | scFlameThrowerUpdateSpark (ACTOR *actor) | A flame thrower's spark in flight: it drifts on, slowing, growing and spinning; just over the leader's head it stops going on and rises away. |
void | scFlameThrowersRelease (void) | Releases the kept flame. |
void | scFlameThrowersSetMode (Sint16 value) | Sets whether the flame throwers keep puffing while Psynergy is used. |
void | scFlameThrowersPuff (void) | The flame throwers' tick event: every ninth tick each flame thrower in view puffs its flame (forward, back, east or west) or its spark, as its flags say. |
Sint32 | scFlameThrowersGetCounter (void) | The flame throwers' counter, which scFlameThrowersAdvanceCounter steps. |
Sint32 | scFlameThrowerGetFlags (Sint32 index) | Flame thrower index's flags: which flame it sends and how far. |
void | scMarsLighthouseEntranceKnockBackIfHit (void) | Hit by the flames, Felix is knocked back. |
Sint32 | scMarsLighthouseEntranceRideFireball (void) | A rolling fireball hits Felix in Balm's corridor of ice cones or the dragon face's rooms: the party takes damage, and he sits blinking on the fireball and is carried along with it until it stops (FLAME_HIT_STATE.car), kept to a metatile's centre over rounded ground. |
Bool | scMarsLighthouseEntranceRideFireballIfHit (void) | Stepping onto the south circle of the dragon face's rooms while a fireball has hit him, Felix is carried along with it (scMarsLighthouseEntranceRideFireball); otherwise nothing happens. |
Sint32 | scFlameThrowersHasHitLeader (void) | Whether a flame or fireball has hit Felix. |
Sint32 | scActorAttach (Sint32 torchId, Sint32 sparkleId, Sint32 fireballId, Sint32 facing, const void *path) | Sends a sparkle from a torch along its path, at whose end it sets a fireball rolling toward facing (scActorPark). |
void | fdActorSteerByPad (ACTOR *actor) | While the leader slides on ice, turns him toward the held direction, at most a sixteenth of a turn a tick; with none held, or a menu open, he looks around. |
void | scLeaderSetSlideStopped (Sint32 value) | Stops the leader's slide on the ice where it is (nonzero), or lets it run. |
void | scFieldEffectSpawn (Sint32 x, Sint32 y, Sint32 z, Sint32 velocityX, Sint32 velocityY, Sint32 velocityZ, Uint32 flags, const EFFECT_OPTIONS *options) | Puts a short-lived effect sprite, dust unless options names another, at a point, moving off at the velocity given and drawn at the leader's priority: this overlay's own copy of field_effect_spawn.c. |
void | scCrackedTileFall (METATILE_TARGET *table, METATILE_TARGET_ENTRY *entry) | A cracked tile gives way under Felix, who drops through it. |
Variables
| Name | Description | |
|---|---|---|
extern ACTOR_PLACE | MarsLighthouseEntranceEmptyPlacements [] | |
extern ACTOR_PLACE | MarsLighthouseOutsidePlacements [] | |
extern ACTOR_PLACE | MarsLighthouseIceShaftPlacements [] | |
extern ACTOR_PLACE | MarsLighthouseEntrancePlacements [] | |
extern ACTOR_PLACE | MarsLighthouseBalmPlacements [] | |
extern ACTOR_PLACE | MarsLighthouseHiddenCirclePlacements [] | |
extern ACTOR_PLACE | MarsLighthouseDragonFacePlacements [] | |
extern ACTOR_PLACE | MarsLighthouseCrackedIcePlacements [] | |
Sint32 | WhirlwindRiding | Set while a whirlwind carries the leader in the two Jupiter Lighthouse rooms that raise one (jupiter_lighthouse_terraces.c and jupiter_lighthouse_right_tower_upper.c); shared/whirlwind_update.c clears it as the ride ends. |
Uint16 | PaletteCycleBright | The teleport circle's shimmer, a palette cycle that fdPaletteCycleFade steps. |
Uint16 | PaletteCycleTimer | |
Uint16 | PaletteCycleDelay | |
Uint16 | MarsLighthouseEntranceHoleMaskVram | |
Uint32 | MarsLighthouseEntranceHoleMaskSprite [3] | |
volatile Sint16 | SlideOnIceStopped | |
METATILE_TARGET | CrackedTiles | The cracked floors' metatiles, found by shared/cracked_tile_find.c. |
extern Uint32 | DebrisScript [] | A piece of debris flies for 40 ticks, then blinks ten times and is gone. |
extern Sint32 | MarsLighthouseEntranceDragonFaceCrawlsWest [] | The woken dragon face crawls west along the long hall's north wall, rising and dropping as it goes, and stops breathing fire at the west end. |
extern CUE | MarsLighthouseEntranceEmptyCues [] | |
extern CUE | MarsLighthouseOutsideCues [] | |
extern CUE | MarsLighthouseIceShaftCues [] | |
extern CUE | MarsLighthouseEntranceCues [] | |
extern CUE | MarsLighthouseBalmCues [] | |
extern CUE | MarsLighthouseHiddenCircleCues [] | |
extern CUE | MarsLighthouseDragonFaceCues [] | |
extern CUE | MarsLighthouseCrackedIceCues [] | |
extern Sint16 | MarsLighthouseEntranceDragonFireOn | 1 while the dragon face at the west end of the long hall breathes fire. |
extern Sint32 | MarsLighthouseEntranceDragonFaceAtWestEnd [] | The dragon face already at the long hall's west end, as Felix comes back. |
extern Uint16 | MarsLighthouseIceShaftIceCones [] | Each room's ice cones (scMarsLighthouseEntrancePlaceIceCones), and its flame throwers for scFlameThrowersStart, each with its flame's kind and reach, with the actors their flames stop at, 1 where reaching one calls the function scFlameThrowersStart is given. |
extern Uint16 | MarsLighthouseEntranceFlameThrowers [] | |
extern Uint16 | MarsLighthouseEntranceFlameStops [] | |
extern Uint16 | MarsLighthouseEntranceIceCones [] | |
extern Uint16 | MarsLighthouseBalmFlameThrowers [] | |
extern Uint16 | MarsLighthouseBalmFlameStops [] | |
extern Uint16 | MarsLighthouseBalmIceCones [] | |
extern Uint16 | MarsLighthouseDragonFaceUpperFlameThrowers [] | |
extern Uint16 | MarsLighthouseDragonFaceUpperFlameStops [] | |
extern Uint16 | MarsLighthouseDragonFaceLowerFlameThrowers [] | |
extern Uint16 | MarsLighthouseDragonFaceLowerFlameStops [] | |
extern Uint16 | MarsLighthouseDragonFaceIceCones [] | |
extern Uint16 | TeleportCirclePaletteSlots [] | The entries the circle is drawn in. |
extern Uint16 | TeleportCircleColors [] | The circle's colours: one pale grey-green on every entry. |
extern Uint16 | TeleportCircleShimmerColors [] | The shimmer's colours, which it moves round the entries: lilac, blues deepening to violet, and white. |
extern Uint16 | TeleportCircleShimmerSlots [] | The shimmer's six steps: for each, the entries its colours go to. |
extern Sint32 | MarsLighthouseDragonFaceUpperFireballPath [] | The sparkles' ways from each urn torch to where its fireball sets off; at the end of some, the function the fireball's arrival calls. |
extern Sint32 | MarsLighthouseDragonFaceLowerFireballPath [] | |
extern Sint32 | MarsLighthouseBalmFireballPath [] | |
extern Sint32 | MarsLighthouseEntranceFireballToHiddenCircleIceSheet [] | |
extern Sint32 | MarsLighthouseEntranceFireballThroughIce [] | |
extern Sint32 | MarsLighthouseEntranceFireballToIceSheet [] | |
extern Sint32 | ScriptedPartScript [] | A scripted part waits half a second, is placed at 0, 0, 0 and released. |
extern Uint32 | CrumbsScript [] | A crumb (scActorScatterCrumbs) waits 20 ticks, flickers for ten pairs of ticks and is released. |
extern Uint32 | IceChipsScript [] | An ice chip (scIceChipsSpawn) does the same. |
extern Sint16 | SlideOnIceSteerAngles [] | The heading fdActorSteerByPad turns toward, diagonals included; a second row of sixteen keeps only the four straight headings. |
extern Sint16 | SlideOnIceAnglesByKey [] | The heading a slide sets off in: a diagonal goes the way of its left or right key. |
extern Sint32 | FieldEffectDurationScripts [] | The field effects' three scripts by how long an effect lasts: short, medium and long. |
Sint32 | MarsLighthouseEntranceWestFlameThrowerRoute [] | The flame chamber's two moving dragon heads, each sliding along the north wall and pausing at each end. |
Sint32 | MarsLighthouseEntranceEastFlameThrowerRoute [] | |
Sint32 | MarsLighthouseBalmFlameThrowerRoute [] | The dragon head in Balm's rooms, raised on its wall, sliding back and forth above the urn torch. |
Sint32 | MarsLighthouseDragonFaceWestFlameThrowerRoute [] | The dragon face rooms' dragon heads: the one on the south circle's room's wall slides back and forth over the urn torch; the long hall's dragon face stays raised on its wall until it wakes. |
Sint32 | MarsLighthouseDragonFaceEastFlameThrowerRoute [] | |
Sint32 | MarsLighthouseEntranceTorchScript [] | |
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. |
Sint32 | MarsLighthouseEntranceIceConeScript [] |
Description
The Mars Lighthouse from its doors up to the dragons' hall: the steps outside in the storm and the frozen lower floors inside, in seven scenes that share this overlay.
Felix climbs the ladders outside in the rain to the doors. Inside is the main hall, a maze of ice cones that Pound hammers flat, with arched doorways along its north wall. Up the stairs from one of them, at a dead end, a shaft of ice pokes through the floor: Grind on it sends a crack down into the ice wall in the small room east of the main hall, and Burst then blows that wall away. Behind it a room holds a teleport circle, and west of that a chamber of dragon heads breathes fire down at the floor until a white dragon statue, pushed all the way east, blocks the last of them. Past black ice where Felix slides until something stops him, white urn torches lit by Blaze send fireballs that crack a sheet of ice for Burst and melt the ice in their path, and Reveal shows a hidden circle in a room of stone posts. Balm, the Mercury Djinni, waits at the end of a black ice slide, and the Teleport Lapis lies in a chest on a ledge above the first room's circle. Teleport from the hidden circle leads on to the dragon face's rooms, where a dragon face wakes and crawls west breathing fire while Felix crosses the ice ahead of it, and holes in the floor drop him to the dragons' hall; the jumping puzzle round the Sol Blade chest has cracked tiles that do the same. Last of all, Blaze at the main hall's westernmost torch cracks its big sheet of ice, on the way to the Mars Djinni Fugue.
Macros in detail
FLAG_TELEPORTED_ONCE
#define FLAG_TELEPORTED_ONCE 0xa36
Felix has teleported from the north circle once.
Referenced by scMarsLighthouseEntranceTeleportFromNorthCircle().
Definition at line 42 of file mars_lighthouse_entrance.c.
FLAG_ICE_SHAFT_GROUND
#define FLAG_ICE_SHAFT_GROUND 0xa3e
Grind on the shaft of ice cracked the ice sheet a floor below.
Referenced by MarsLighthouseIceShaftCues and scInit().
Definition at line 44 of file mars_lighthouse_entrance.c.
FLAG_ENTRANCE_SHEET_BURST
#define FLAG_ENTRANCE_SHEET_BURST 0xa3f
Referenced by scInit() and scMarsLighthouseEntranceBurstIceSheet().
Definition at line 45 of file mars_lighthouse_entrance.c.
FLAG_ENTRANCE_SECOND_SHEET_BURST
#define FLAG_ENTRANCE_SECOND_SHEET_BURST 0xa47
Referenced by scInit() and scMarsLighthouseEntranceCrackIceSheet().
Definition at line 46 of file mars_lighthouse_entrance.c.
FLAG_ENTRANCE_SECOND_SHEET_CRACKED
#define FLAG_ENTRANCE_SECOND_SHEET_CRACKED 0xa48
A fireball cracked it.
Referenced by scInit() and scMarsLighthouseEntranceCrackIceSheet().
Definition at line 48 of file mars_lighthouse_entrance.c.
FLAG_HIDDEN_CIRCLE_ICE_MELTED
#define FLAG_HIDDEN_CIRCLE_ICE_MELTED 0xa49
The fireball melted the ice in its path.
Referenced by scInit() and scMarsLighthouseEntranceMeltIceInPath().
Definition at line 50 of file mars_lighthouse_entrance.c.
FLAG_HIDDEN_CIRCLE_SHEET_CRACKED
#define FLAG_HIDDEN_CIRCLE_SHEET_CRACKED 0xa4c
Referenced by scInit() and scMarsLighthouseEntranceCrackHiddenCircleIceSheet().
Definition at line 51 of file mars_lighthouse_entrance.c.
FLAG_HIDDEN_CIRCLE_SHEET_BURST
#define FLAG_HIDDEN_CIRCLE_SHEET_BURST 0xa4d
Referenced by scInit() and scMarsLighthouseEntranceCrackHiddenCircleIceSheet().
Definition at line 52 of file mars_lighthouse_entrance.c.
FLAG_DRAGON_FACE_STATUE_BLOCKS_FLAMES
#define FLAG_DRAGON_FACE_STATUE_BLOCKS_FLAMES 0xa4e
Referenced by MarsLighthouseDragonFaceCues, scInit() and scMarsLighthouseEntrancePushStatueIntoDragonFaceFlames().
Definition at line 53 of file mars_lighthouse_entrance.c.
FLAG_ENTRANCE_STATUE_BLOCKS_FLAMES
#define FLAG_ENTRANCE_STATUE_BLOCKS_FLAMES 0xa4f
Referenced by MarsLighthouseEntranceCues, scInit() and scMarsLighthouseEntrancePushStatueIntoFlames().
Definition at line 54 of file mars_lighthouse_entrance.c.
FLAG_ENTRANCE_SHEET_CRACKED
#define FLAG_ENTRANCE_SHEET_CRACKED FLAG_SCENE_TEMP(0x30)
Referenced by MarsLighthouseEntranceCues and scInit().
Definition at line 55 of file mars_lighthouse_entrance.c.
FLAG_ENTRANCE_SECOND_SHEET_SHOWN
#define FLAG_ENTRANCE_SECOND_SHEET_SHOWN FLAG_SCENE_TEMP(0x31)
Referenced by MarsLighthouseEntranceCues, scInit() and scMarsLighthouseEntranceCrackIceSheet().
Definition at line 56 of file mars_lighthouse_entrance.c.
FLAG_HIDDEN_CIRCLE_SHEET_SHOWN
#define FLAG_HIDDEN_CIRCLE_SHEET_SHOWN FLAG_SCENE_TEMP(0x32)
Referenced by MarsLighthouseHiddenCircleCues, scInit() and scMarsLighthouseEntranceCrackHiddenCircleIceSheet().
Definition at line 57 of file mars_lighthouse_entrance.c.
FLAG_DRAGON_FACE_AWAKE
#define FLAG_DRAGON_FACE_AWAKE FLAG_SCENE_TEMP(0x34)
Referenced by MarsLighthouseDragonFaceCues and scMarsLighthouseEntranceWakeDragonFace().
Definition at line 58 of file mars_lighthouse_entrance.c.
MAP_METATILE_FLOOR_HOLE
#define MAP_METATILE_FLOOR_HOLE MAP_METATILE_CLIMBABLE
The attribute bit that makes a floor metatile here a hole Felix drops through
to the room below; the field engine reads it elsewhere as
MAP_METATILE_CLIMBABLE.
Referenced by scMarsLighthouseEntranceCheckCrackedFloor(), scMarsLighthouseEntranceFallIntoHole() and scMarsLighthouseEntranceFallThroughCrack().
Definition at line 250 of file mars_lighthouse_entrance.c.
SINK_TICKS
#define SINK_TICKS 40
The ticks Felix takes to shrink and sink out of sight through a hole.
Referenced by scCrackedTileFall(), scMarsLighthouseEntranceFallIntoHole() and scMarsLighthouseEntranceFallThroughCrack().
Definition at line 260 of file mars_lighthouse_entrance.c.
DEFINE_BURST_ICE_SHEET
#define DEFINE_BURST_ICE_SHEET(name,
Defines what Burst does to a sheet of ice, each tick of the cast: as the great blast dies down the sheet is gone and the colours come back; eight columns from x are drawn broken at row z, rows high, from the metatiles at row brokenZ, and take the ground of the metatiles at column groundSourceX, groundRows high from row groundZ; the sheet's actor goes and its flag is set. Chips of ice scatter from it every half second, and the screen fades to white at the end.
Definition at line 824 of file mars_lighthouse_entrance.c.
SET_SPRITE_WINDOW_LAYERS
#define SET_SPRITE_WINDOW_LAYERS()
Shows every layer and the sprites outside the windows, and every layer inside the sprite window.
Referenced by scMarsLighthouseEntranceFallIntoHole().
Definition at line 1168 of file mars_lighthouse_entrance.c.
METATILE_PUSH_SLOT_ENTRY
#define METATILE_PUSH_SLOT_ENTRY syOAMAddSpriteAtDepthClamped
Referenced by scCrackedTileUpdate().
Definition at line 2159 of file mars_lighthouse_entrance.c.
TELEPORT_CIRCLE_FIRST_ENTRY
#define TELEPORT_CIRCLE_FIRST_ENTRY 137
Definition at line 2554 of file mars_lighthouse_entrance.c.
Enumerations in detail
MARS_LIGHTHOUSE_ENTRANCE_TELEPORT_CIRCLE
enum MARS_LIGHTHOUSE_ENTRANCE_TELEPORT_CIRCLE
The teleport circles that lead within one scene, each the metatile behaviour of its circle, the exit Teleport takes from it and the entrance on it. In the entrance rooms the south circle is the one behind the burst ice wall and the north circle the one by the Teleport Lapis chest; in the dragon face's rooms the north circle is in the room by the long hall and the south one below it, by a dragon head on the wall. Each circle sends the party to the other of its pair.
| Enumerator | Value | Description |
|---|---|---|
ENTRANCE_SOUTH_CIRCLE | 17 | |
ENTRANCE_NORTH_CIRCLE | 18 | |
DRAGON_FACE_NORTH_CIRCLE | 12 | |
DRAGON_FACE_SOUTH_CIRCLE | 13 |
Definition at line 67 of file mars_lighthouse_entrance.c.
anonymous enum
enum { METATILE_BEHAVIOR_BLACK_ICE, METATILE_BEHAVIOR_CRACKED_ICE_TILE, METATILE_BEHAVIOR_PILLAR_TOP, METATILE_BEHAVIOR_WAKE_DRAGON_FACE, … }
The other metatile behaviours this overlay's cue rows answer, besides the
circles' and the holes' (a hole's behaviour is the exit Felix drops through).
Black ice Felix slides across; the cracked ice room's cracked tiles, of which
those with MAP_METATILE_FLOOR_HOLE give way, and its pillar tops; the
metatile at the head of the dragon face rooms' slide that wakes the dragon
face; the ice wall Grind cracks and the sheet over the lower passage, and the
main hall's big sheet of ice, each answering Burst.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_BLACK_ICE | 30 | |
METATILE_BEHAVIOR_CRACKED_ICE_TILE | 31 | |
METATILE_BEHAVIOR_PILLAR_TOP | 35 | |
METATILE_BEHAVIOR_WAKE_DRAGON_FACE | 35 | |
METATILE_BEHAVIOR_CRACKED_ICE_WALL | 80 | |
METATILE_BEHAVIOR_BIG_ICE_SHEET | 81 |
Definition at line 82 of file mars_lighthouse_entrance.c.
anonymous enum
enum { BALM_EAST_HALL_NORTH_ENTRANCE }
Balm's room's entrance at the north end of its east hall, where the flame thrower is, which the set-up reads.
| Enumerator | Value | Description |
|---|---|---|
BALM_EAST_HALL_NORTH_ENTRANCE | 10 |
Definition at line 94 of file mars_lighthouse_entrance.c.
anonymous enum
enum { DRAGON_FACE_SOUTHWEST_FROM_SOUTHEAST, DRAGON_FACE_SOUTHWEST_FROM_MIDDLE_EAST, DRAGON_FACE_NORTH_FROM_MIDDLE_WEST }
The dragon face rooms' entrances that the set-up reads: onto its southwest floor from the southeast and the middle east floors, and onto its north floor from the middle west one.
| Enumerator | Value | Description |
|---|---|---|
DRAGON_FACE_SOUTHWEST_FROM_SOUTHEAST | 2 | |
DRAGON_FACE_SOUTHWEST_FROM_MIDDLE_EAST | 4 | |
DRAGON_FACE_NORTH_FROM_MIDDLE_WEST | 11 |
Definition at line 102 of file mars_lighthouse_entrance.c.
anonymous enum
enum { ICE_SHAFT_EAST_TO_NORTHWEST, ICE_SHAFT_NORTHWEST_TO_EAST, ICE_SHAFT_WEST_TO_NORTHWEST, ICE_SHAFT_NORTHWEST_TO_WEST, … }
The ice shaft scene's passages between its parts: the east room, where the shaft stands, the west room and the corridors north-west and north-east of them.
| Enumerator | Value | Description |
|---|---|---|
ICE_SHAFT_EAST_TO_NORTHWEST | 3 | |
ICE_SHAFT_NORTHWEST_TO_EAST | ||
ICE_SHAFT_WEST_TO_NORTHWEST | 7 | |
ICE_SHAFT_NORTHWEST_TO_WEST | ||
ICE_SHAFT_EAST_TO_NORTHEAST | ||
ICE_SHAFT_NORTHEAST_TO_EAST | ||
ICE_SHAFT_NORTHWEST_FROM_EAST | 4 | |
ICE_SHAFT_WEST_FROM_NORTHWEST | 7 | |
ICE_SHAFT_NORTHWEST_FROM_WEST | ||
ICE_SHAFT_EAST_FROM_NORTHEAST | ||
ICE_SHAFT_NORTHEAST_FROM_EAST |
Definition at line 117 of file mars_lighthouse_entrance.c.
anonymous enum
enum { ENTRANCE_SOUTHWEST_TO_SOUTHEAST_WEST, ENTRANCE_SOUTHEAST_TO_SOUTHWEST_WEST, ENTRANCE_SOUTHWEST_TO_SOUTHEAST_EAST, ENTRANCE_SOUTHEAST_TO_SOUTHWEST_EAST, … }
The entrance rooms' passages between their parts: the south-west hall, the room south-east of it, the north rooms and the flame chamber north-west of them.
| Enumerator | Value | Description |
|---|---|---|
ENTRANCE_SOUTHWEST_TO_SOUTHEAST_WEST | 6 | |
ENTRANCE_SOUTHEAST_TO_SOUTHWEST_WEST | ||
ENTRANCE_SOUTHWEST_TO_SOUTHEAST_EAST | ||
ENTRANCE_SOUTHEAST_TO_SOUTHWEST_EAST | ||
ENTRANCE_SOUTHEAST_TO_NORTH | ||
ENTRANCE_NORTH_TO_SOUTHEAST | ||
ENTRANCE_NORTH_TO_FLAME_CHAMBER_WEST | ||
ENTRANCE_FLAME_CHAMBER_TO_NORTH_WEST | ||
ENTRANCE_NORTH_TO_FLAME_CHAMBER_EAST | ||
ENTRANCE_FLAME_CHAMBER_TO_NORTH_EAST | ||
ENTRANCE_SOUTHWEST_FROM_SOUTHEAST_WEST | 6 | |
ENTRANCE_SOUTHEAST_FROM_SOUTHWEST_WEST | ||
ENTRANCE_SOUTHWEST_FROM_SOUTHEAST_EAST | ||
ENTRANCE_SOUTHEAST_FROM_SOUTHWEST_EAST | ||
ENTRANCE_SOUTHEAST_FROM_NORTH | ||
ENTRANCE_NORTH_FROM_SOUTHEAST | ||
ENTRANCE_NORTH_FROM_FLAME_CHAMBER_WEST | ||
ENTRANCE_FLAME_CHAMBER_FROM_NORTH_WEST | ||
ENTRANCE_NORTH_FROM_FLAME_CHAMBER_EAST | ||
ENTRANCE_FLAME_CHAMBER_FROM_NORTH_EAST |
Definition at line 135 of file mars_lighthouse_entrance.c.
anonymous enum
enum { BALM_SOUTHWEST_TO_CORRIDOR, BALM_CORRIDOR_TO_SOUTHWEST, BALM_EAST_HALL_TO_CORRIDOR, BALM_CORRIDOR_TO_EAST_HALL, … }
Balm's rooms' passages into the long corridor between their south-west room and their east hall.
| Enumerator | Value | Description |
|---|---|---|
BALM_SOUTHWEST_TO_CORRIDOR | 8 | |
BALM_CORRIDOR_TO_SOUTHWEST | ||
BALM_EAST_HALL_TO_CORRIDOR | ||
BALM_CORRIDOR_TO_EAST_HALL | ||
BALM_SOUTHWEST_FROM_CORRIDOR | 8 | |
BALM_CORRIDOR_FROM_SOUTHWEST | ||
BALM_CORRIDOR_FROM_EAST_HALL | 11 |
Definition at line 161 of file mars_lighthouse_entrance.c.
anonymous enum
enum { HIDDEN_CIRCLE_SOUTH_TO_NORTHEAST, HIDDEN_CIRCLE_NORTHEAST_TO_SOUTH, HIDDEN_CIRCLE_NORTHEAST_TO_MIDDLE, HIDDEN_CIRCLE_MIDDLE_TO_NORTHEAST, … }
The hidden circle rooms' passages between their parts: the south hall, the north-east room, the north-west room, the middle room below it and the south-east room.
| Enumerator | Value | Description |
|---|---|---|
HIDDEN_CIRCLE_SOUTH_TO_NORTHEAST | 3 | |
HIDDEN_CIRCLE_NORTHEAST_TO_SOUTH | ||
HIDDEN_CIRCLE_NORTHEAST_TO_MIDDLE | 6 | |
HIDDEN_CIRCLE_MIDDLE_TO_NORTHEAST | ||
HIDDEN_CIRCLE_NORTHWEST_TO_MIDDLE_EAST | ||
HIDDEN_CIRCLE_MIDDLE_TO_NORTHWEST_EAST | ||
HIDDEN_CIRCLE_NORTHWEST_TO_MIDDLE_WEST | ||
HIDDEN_CIRCLE_MIDDLE_TO_NORTHWEST_WEST | ||
HIDDEN_CIRCLE_MIDDLE_TO_SOUTHEAST | ||
HIDDEN_CIRCLE_SOUTHEAST_TO_MIDDLE | ||
HIDDEN_CIRCLE_SOUTH_FROM_NORTHEAST | 3 | |
HIDDEN_CIRCLE_NORTHEAST_FROM_SOUTH | ||
HIDDEN_CIRCLE_NORTHEAST_FROM_MIDDLE | 6 | |
HIDDEN_CIRCLE_MIDDLE_FROM_NORTHEAST | ||
HIDDEN_CIRCLE_NORTHWEST_FROM_MIDDLE_EAST | ||
HIDDEN_CIRCLE_MIDDLE_FROM_NORTHWEST_EAST | ||
HIDDEN_CIRCLE_NORTHWEST_FROM_MIDDLE_WEST | ||
HIDDEN_CIRCLE_MIDDLE_FROM_NORTHWEST_WEST | ||
HIDDEN_CIRCLE_MIDDLE_FROM_SOUTHEAST | ||
HIDDEN_CIRCLE_SOUTHEAST_FROM_MIDDLE |
Definition at line 175 of file mars_lighthouse_entrance.c.
anonymous enum
enum { DRAGON_FACE_SOUTHWEST_TO_SOUTHEAST, DRAGON_FACE_SOUTHEAST_TO_SOUTHWEST, DRAGON_FACE_SOUTHWEST_TO_MIDDLE_EAST, DRAGON_FACE_MIDDLE_EAST_TO_SOUTHWEST, … }
The dragon face rooms' other passages between their floors: south-west, south-east, middle east, middle west and north.
| Enumerator | Value | Description |
|---|---|---|
DRAGON_FACE_SOUTHWEST_TO_SOUTHEAST | 2 | |
DRAGON_FACE_SOUTHEAST_TO_SOUTHWEST | ||
DRAGON_FACE_SOUTHWEST_TO_MIDDLE_EAST | ||
DRAGON_FACE_MIDDLE_EAST_TO_SOUTHWEST | ||
DRAGON_FACE_MIDDLE_WEST_TO_NORTH | 10 | |
DRAGON_FACE_NORTH_TO_MIDDLE_WEST | ||
DRAGON_FACE_MIDDLE_EAST_TO_MIDDLE_WEST | 14 | |
DRAGON_FACE_MIDDLE_WEST_TO_MIDDLE_EAST | ||
DRAGON_FACE_SOUTHEAST_FROM_SOUTHWEST | 3 | |
DRAGON_FACE_MIDDLE_EAST_FROM_SOUTHWEST | 5 | |
DRAGON_FACE_MIDDLE_WEST_FROM_NORTH | 10 | |
DRAGON_FACE_MIDDLE_EAST_FROM_MIDDLE_WEST | 14 | |
DRAGON_FACE_MIDDLE_WEST_FROM_MIDDLE_EAST |
Definition at line 201 of file mars_lighthouse_entrance.c.
anonymous enum
enum { CRACKED_ICE_SOUTHWEST_TO_NORTH, CRACKED_ICE_NORTH_TO_SOUTHWEST, CRACKED_ICE_NORTH_TO_NORTHWEST, CRACKED_ICE_NORTHWEST_TO_NORTH, … }
The cracked ice rooms' passages between the south-west room of cracked tiles, the corridor north of it and the north-west room of the two dragon statues.
| Enumerator | Value | Description |
|---|---|---|
CRACKED_ICE_SOUTHWEST_TO_NORTH | 2 | |
CRACKED_ICE_NORTH_TO_SOUTHWEST | ||
CRACKED_ICE_NORTH_TO_NORTHWEST | ||
CRACKED_ICE_NORTHWEST_TO_NORTH | 6 | |
CRACKED_ICE_SOUTHWEST_FROM_NORTH | 2 | |
CRACKED_ICE_NORTH_FROM_SOUTHWEST | ||
CRACKED_ICE_NORTH_FROM_NORTHWEST | ||
CRACKED_ICE_NORTHWEST_FROM_NORTH | 6 |
Definition at line 220 of file mars_lighthouse_entrance.c.
anonymous enum
enum { STAR_ROOM_HALL_TO_CORRIDOR, STAR_ROOM_CORRIDOR_TO_HALL, STAR_ROOM_CORRIDOR_TO_SMALL_ROOM, STAR_ROOM_SMALL_ROOM_TO_CORRIDOR, … }
The Mars Star rooms' passages from their hall to the corridor south-west of
it and from that to the small room north of it, as
mars_lighthouse_star_room.c names them.
| Enumerator | Value | Description |
|---|---|---|
STAR_ROOM_HALL_TO_CORRIDOR | 1 | |
STAR_ROOM_CORRIDOR_TO_HALL | ||
STAR_ROOM_CORRIDOR_TO_SMALL_ROOM | ||
STAR_ROOM_SMALL_ROOM_TO_CORRIDOR | ||
STAR_ROOM_HALL_FROM_CORRIDOR | 1 | |
STAR_ROOM_CORRIDOR_FROM_HALL | ||
STAR_ROOM_CORRIDOR_FROM_SMALL_ROOM | ||
STAR_ROOM_SMALL_ROOM_FROM_CORRIDOR |
Definition at line 235 of file mars_lighthouse_entrance.c.
anonymous enum
enum { ICE_CONE_STANDING }
The pose of the ice cone sprite (SPRITE_STAKE) that a standing cone takes;
the next is the cone Pound has flattened.
| Enumerator | Value | Description |
|---|---|---|
ICE_CONE_STANDING | 7 |
Definition at line 254 of file mars_lighthouse_entrance.c.
anonymous enum
enum { ENTRANCE_STATUE_BLOCKING_COLUMN, DRAGON_FACE_STATUE_BLOCKING_COLUMN }
The metatile columns where a pushed white dragon statue stands in the flames' way: under the last dragon head at the east end of the flame chamber, and under the dragon head on the wall of the dragon face rooms' urn torch.
| Enumerator | Value | Description |
|---|---|---|
ENTRANCE_STATUE_BLOCKING_COLUMN | 20 | |
DRAGON_FACE_STATUE_BLOCKING_COLUMN | 5 |
Definition at line 265 of file mars_lighthouse_entrance.c.
anonymous enum
enum { ICE_STATUE_PUSHED_WEST_COLUMN, ICE_STATUE_PUSHED_EAST_COLUMN }
The metatile columns Balm's room's dragon statue stops in on the black ice: pushed west from its place, from where it slides on to the ice's west end, and pushed east from there, from where it slides back.
| Enumerator | Value | Description |
|---|---|---|
ICE_STATUE_PUSHED_WEST_COLUMN | 11 | |
ICE_STATUE_PUSHED_EAST_COLUMN | 10 |
Definition at line 274 of file mars_lighthouse_entrance.c.
MARS_LIGHTHOUSE_ICE_SHAFT_ACTOR_ID
enum MARS_LIGHTHOUSE_ICE_SHAFT_ACTOR_ID
The rooms up the main hall's doorways (the ice shaft scene): two ice cones, the first placed out of sight at the map's corner, the shaft of ice Grind cracks (an unseen marker on it) and Fugue.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_ICE_SHAFT_ICE_CONE_A | ACTOR_FIRST_PLACED | |
ACTOR_ICE_SHAFT_ICE_CONE_B | ||
ACTOR_ICE_SHAFT | ||
ACTOR_FUGUE |
Definition at line 283 of file mars_lighthouse_entrance.c.
MARS_LIGHTHOUSE_ENTRANCE_ACTOR_ID
enum MARS_LIGHTHOUSE_ENTRANCE_ACTOR_ID
The main hall and the rooms behind it (the entrance scene): the white dragon statue pushed into the flames, the flame chamber's four dragon heads, the urn torches at the main hall's west end (one lit in the same place as an unlit one, each shown by whether the lighthouse has thawed), two ice cones, the first placed out of sight at the map's corner, and the two ice sheets.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_PUSHED_STATUE | ACTOR_FIRST_PLACED | |
ACTOR_ENTRANCE_FLAME_THROWER_A | ||
ACTOR_ENTRANCE_FLAME_THROWER_B | ||
ACTOR_ENTRANCE_FLAME_THROWER_C | ||
ACTOR_ENTRANCE_FLAME_THROWER_D | ||
ACTOR_ENTRANCE_TORCH_A | ||
ACTOR_ENTRANCE_TORCH_B | ||
ACTOR_LIT_TORCH | ||
ACTOR_ENTRANCE_ICE_CONE_A | ||
ACTOR_ENTRANCE_ICE_CONE_B | ||
ACTOR_ICE_SHEET | ||
ACTOR_UNLIT_TORCH | ||
ACTOR_SECOND_ICE_SHEET | ||
ACTOR_ENTRANCE_SPARKLE | the sparkle that leaves the lit torch | |
ACTOR_ENTRANCE_FIREBALL | the fireball the sparkle sets rolling | |
ACTOR_TELEPORT_LAPIS_CHEST | 64 | the Teleport Lapis chest, first actor its map's chests make |
Definition at line 296 of file mars_lighthouse_entrance.c.
MARS_LIGHTHOUSE_BALM_ACTOR_ID
enum MARS_LIGHTHOUSE_BALM_ACTOR_ID
Balm's rooms: the dragon head and the urn torch its flames light, which sends fireballs down the corridor of ice cones, the two white dragon statues beside the doorway onto the black ice, five ice cones and Balm.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_BALM_FLAME_THROWER | ACTOR_FIRST_PLACED | |
ACTOR_BALM_TORCH | ||
ACTOR_BALM_WEST_STATUE | ||
ACTOR_BALM_EAST_STATUE | ||
ACTOR_BALM_ICE_CONE_A | ||
ACTOR_BALM_ICE_CONE_B | ||
ACTOR_BALM_ICE_CONE_C | ||
ACTOR_BALM_ICE_CONE_D | ||
ACTOR_BALM_ICE_CONE_E | ||
ACTOR_BALM | ||
ACTOR_BALM_SPARKLE | the sparkle that leaves the lit torch | |
ACTOR_BALM_SECOND_SPARKLE | placed, and sent nowhere | |
ACTOR_BALM_FIREBALL | the fireball the sparkle sets rolling |
Definition at line 320 of file mars_lighthouse_entrance.c.
MARS_LIGHTHOUSE_HIDDEN_CIRCLE_ACTOR_ID
enum MARS_LIGHTHOUSE_HIDDEN_CIRCLE_ACTOR_ID
The hidden circle's rooms: on each side a lit urn torch and the urn torch Blaze sends a fireball from, and the ice sheet the west fireball cracks.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_WEST_LIT_TORCH | ACTOR_FIRST_PLACED | |
ACTOR_WEST_TORCH | ||
ACTOR_EAST_LIT_TORCH | ||
ACTOR_EAST_TORCH | ||
ACTOR_HIDDEN_CIRCLE_ICE_SHEET | ||
ACTOR_HIDDEN_CIRCLE_SPARKLE | the sparkle that leaves the lit torch | |
ACTOR_HIDDEN_CIRCLE_FIREBALL | the fireball the sparkle sets rolling |
Definition at line 339 of file mars_lighthouse_entrance.c.
MARS_LIGHTHOUSE_DRAGON_FACE_ACTOR_ID
enum MARS_LIGHTHOUSE_DRAGON_FACE_ACTOR_ID
The dragon face's rooms: the white dragon statue pushed into the flames, the dragon head on the wall and its urn torch, the dragon face that wakes and the torch below it, six ice cones, and the sparkle and fireball a torch sends.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_UPPER_FLAME_THROWER | ACTOR_FIRST_PLACED + 1 | |
ACTOR_UPPER_TORCH | ||
ACTOR_DRAGON_FACE | ||
ACTOR_LOWER_TORCH | ||
ACTOR_DRAGON_FACE_ICE_CONE_A | ||
ACTOR_DRAGON_FACE_ICE_CONE_B | ||
ACTOR_DRAGON_FACE_ICE_CONE_C | ||
ACTOR_DRAGON_FACE_ICE_CONE_D | ||
ACTOR_DRAGON_FACE_ICE_CONE_E | ||
ACTOR_DRAGON_FACE_ICE_CONE_F | ||
ACTOR_DRAGON_FACE_SPARKLE | the sparkle that leaves the lit torch | |
ACTOR_DRAGON_FACE_FIREBALL | the fireball the sparkle sets rolling |
Definition at line 353 of file mars_lighthouse_entrance.c.
Functions in detail
scMarsLighthouseEntranceSetUpTorch
Sint32 scMarsLighthouseEntranceSetUpTorch(ACTOR *actor)
An urn torch's script call: the torches stand without a shadow.
References fdActorSetSpriteFlags() and Sint32.
Referenced by MarsLighthouseEntranceTorchScript.
Definition at line 370 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceFightFugue
void scMarsLighthouseEntranceFightFugue(void)
Talking to the Mars Djinni Fugue, east of the shaft of ice in the room at the dead end up the main hall's stairs, from its east or south side, starts the battle with it.
References fdRequestDjinnBattle().
Referenced by MarsLighthouseIceShaftCues.
Definition at line 379 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceFightBalm
void scMarsLighthouseEntranceFightBalm(void)
Talking to the Mercury Djinni Balm, at the west end of the black ice below the two white dragon statues, starts the battle with it.
References fdRequestDjinnBattle().
Referenced by MarsLighthouseBalmCues.
Definition at line 386 of file mars_lighthouse_entrance.c.
scGetEntrances
const SCENE_ENTRANCE *scGetEntrances(void)
References SceneEntrances.
Definition at line 391 of file mars_lighthouse_entrance.c.
scGetExitRegions
const SCENE_REGION *scGetExitRegions(void)
Definition at line 396 of file mars_lighthouse_entrance.c.
scGetExits
const Uint32 *scGetExits(void)
References SceneExits.
Definition at line 401 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceDryDragonFace
Sint32 scMarsLighthouseEntranceDryDragonFace(void)
The waking dragon face in the dragon face rooms' long hall has crawled to its west end and stops breathing fire.
References scFlameThrowerSet() and Sint32.
Referenced by MarsLighthouseEntranceDragonFaceCrawlsWest.
Definition at line 417 of file mars_lighthouse_entrance.c.
scGetActorPlacements
const ACTOR_PLACE *scGetActorPlacements(void)
References MainRoutineStateWork, MarsLighthouseBalmPlacements, MarsLighthouseCrackedIcePlacements, MarsLighthouseDragonFacePlacements, MarsLighthouseEntranceEmptyPlacements, MarsLighthouseEntrancePlacements, MarsLighthouseHiddenCirclePlacements, MarsLighthouseIceShaftPlacements and MarsLighthouseOutsidePlacements.
Definition at line 423 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceStartBlazeOnStatue
void scMarsLighthouseEntranceStartBlazeOnStatue(void)
Unused: as the dragon hall's, makes the next cast of Blaze a long spray
(FIELD_STATE.blazeLongSpray): cast at a target, Blaze then takes
BLAZE_LONG_SPRAY over BLAZE_SPRAY, and each cast clears it as it starts.
Definition at line 445 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceSetIceConeMetatiles
void scMarsLighthouseEntranceSetIceConeMetatiles(ACTOR *actor)
Sets the metatiles under an ice cone: standing, it blocks the way, the ground
there is raised and it is drawn in front; flattened (its flag, ACTOR.flag,
set), the metatiles are clear and the ground is lowered again.
References fdMapGetTerrainHeight(), fdMapGridSetMetatileHeight(), fdScriptGetFlag(), scMapMetatileGetAttributes(), scMapMetatileSetAttributes(), scSetActorSpritePriority() and Sint32.
Referenced by scMarsLighthouseEntrancePlaceIceCones() and scMarsLighthouseEntrancePoundIceCone().
Definition at line 488 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntrancePlaceIceCones
void scMarsLighthouseEntrancePlaceIceCones(Uint16 *table)
Places the ice cones of a list ended by ACTOR_LIST_END, each row three
halfwords: the cone, its standing pose and the flag set once Pound has
flattened it, which picks the flattened pose after it.
References fdActorGet(), fdActorSelectAnimation(), fdActorSetSpriteFlags(), fdScriptGetFlag() and scMarsLighthouseEntranceSetIceConeMetatiles().
Referenced by scInit().
Definition at line 526 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntrancePoundIceCone
void scMarsLighthouseEntrancePoundIceCone(Sint32 stage, Sint32 tick)
Each tick of Pound on an ice cone: while the great fist falls, eight ticks,
the cone grows shorter and a chip of blue ice flies off it, lower each time;
once the fist has landed the cone is gone, its flag set and its metatiles
cleared (scMarsLighthouseEntranceSetIceConeMetatiles), so Felix can walk over
the spot.
References fdActorGet(), fdScriptSetFlag(), scFieldEffectSpawn(), scMarsLighthouseEntranceSetIceConeMetatiles(), Sint32 and syRandom().
Referenced by scMarsLighthouseEntranceStartPoundIceCone().
Definition at line 556 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceStartPoundIceCone
void scMarsLighthouseEntranceStartPoundIceCone(Sint32 stage, Sint32 tick)
Felix casts Pound on one of the ice cones that stand on the lighthouse's
frozen floors (one up the main hall's stairs, one in the main hall, five in
the corridor of Balm's rooms, six in the dragon face rooms' long hall): a
great fist beats it down into the floor, chips of ice flying, until it is
gone and the way is clear. Each tick comes here with Pound's stage and the
tick's count, and scMarsLighthouseEntrancePoundIceCone does the work.
References scMarsLighthouseEntrancePoundIceCone() and Sint32.
Referenced by MarsLighthouseBalmCues, MarsLighthouseDragonFaceCues, MarsLighthouseEntranceCues and MarsLighthouseIceShaftCues.
Definition at line 597 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceScatterIceChips
void scMarsLighthouseEntranceScatterIceChips(Sint32 id)
Throws six chips of ice from an actor as its ice cracks or breaks, as the
star room's scMarsLighthouseStarRoomScatterIceChips does; each overlay keeps
its own, this one creating them through its other import row.
References DebrisScript, fdActorGet(), fdActorSetSpriteColorMode(), fdActorSetSpriteFlags(), fdActorStartScript(), scFieldActorCreate(), Sint32, syCos(), syRandom() and sySin().
Referenced by scInit(), scMarsLighthouseEntranceBurstIceSheet() and scMarsLighthouseEntranceGrindIce().
Definition at line 607 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceGrindIce
void scMarsLighthouseEntranceGrindIce(void)
Felix casts Grind on the shaft of ice poking up through the floor of the dead-end room up the main hall's stairs: it crumbles away in bursts of ice chips, and the scene cuts to the small room east of the main hall below, where the floor shakes and a crack runs through the ice wall, ready for Burst, before Felix is brought back.
References fdActorTableSnapshot(), fdMapGridCopyMetatilesLayered(), fdScriptPlaySound(), scFieldScriptSetExitRequest(), scMarsLighthouseEntranceScatterIceChips(), Sint32 and sySynch().
Referenced by MarsLighthouseIceShaftCues.
Definition at line 650 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceCheckIce
void scMarsLighthouseEntranceCheckIce(void)
Felix examines the shaft of ice in the dead-end room up the main hall's stairs: "Felix checked the ice." and "A shaft of ice is poking up through the floor."
References mnFieldMessageShow() and Sint32.
Referenced by MarsLighthouseIceShaftCues.
Definition at line 672 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceTeleportFromNorthCircle
void scMarsLighthouseEntranceTeleportFromNorthCircle(void)
Felix casts Teleport on the north circle, beside the Teleport Lapis chest: the screen turns grey, sparks swirl round him and he appears on the south circle in the room behind the burst ice wall. The first time, the game moves him and the camera there itself; after that it takes the exit between the two circles.
References fdActorGet(), fdActorSetPosFX(), fdCameraWaitForArrival(), fdPsynergyFadeFromCastColor(), fdScriptEnd(), fdScriptGetFlag(), fdScriptSetFlag(), fdScriptStart(), fdTeleportPlaySparks(), fdTeleportPlayWhirl(), MainRoutineStateWork, scFieldActorSetSpriteColor(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetExitRequest(), scFieldScriptWait(), scTeleportStartShimmer(), scTeleportStopShimmer() and sySynch().
Referenced by MarsLighthouseEntranceCues.
Definition at line 688 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceTeleportFromSouthCircle
void scMarsLighthouseEntranceTeleportFromSouthCircle(void)
Felix casts Teleport on the south circle, in the room behind the burst ice wall: in a swirl of sparks he appears on the north circle, on the ledge beside the Teleport Lapis chest.
References fdTeleportPlaySparks(), MainRoutineStateWork, scFieldScriptSetExitRequest(), scFieldScriptWait(), scTeleportStartShimmer() and scTeleportStopShimmer().
Referenced by MarsLighthouseEntranceCues.
Definition at line 726 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceBurstIceSheet
void scMarsLighthouseEntranceBurstIceSheet(Sint32 stage, Sint32 tick)
Felix casts Burst on the cracked ice wall in the small room east of the main
hall (metatiles (51,
41) to (53, 41)): it blows apart in fiery blasts, chips of ice flying, and
the arched doorway
behind it is clear. Written out as DEFINE_BURST_ICE_SHEET's work, for a wall
ten metatiles wide.References fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesLayered(), fdPaletteFadeApplyTarget(), fdPaletteFadeInterpolate(), fdScriptPlaySound(), fdScriptSetFlag(), scMarsLighthouseEntranceScatterIceChips() and Sint32.
Referenced by MarsLighthouseEntranceCues.
Definition at line 742 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceBlazeTorch
void scMarsLighthouseEntranceBlazeTorch(void)
Felix casts Blaze at the urn torch at the west end of the main hall: a fireball sets off east along the hall toward the big sheet of ice.
References scMarsLighthouseEntranceShootFireballAtIceSheet().
Referenced by MarsLighthouseEntranceCues.
Definition at line 765 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceWatchFireballCrackIce
void scMarsLighthouseEntranceWatchFireballCrackIce(void)
As the fireball from the main hall's west torch rolls east, the camera follows it along the hall to the sheet of ice it cracks and holds there.
References fdCameraMoveToFX(), fdCameraWaitForArrival(), fdScriptClearFlag(), fdScriptEnd(), fdScriptStart(), scFieldScriptEndLastingPsynergy(), scFieldScriptWait() and sySynch().
Referenced by MarsLighthouseEntranceCues.
Definition at line 772 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceDrawCrackedSheet
void scMarsLighthouseEntranceDrawCrackedSheet(void)
Draws the main hall's big sheet of ice cracked, on both floors.
References fdMapGridCopyMetatileAttributes() and fdMapGridCopyMetatilesLayered().
Referenced by scInit() and scMarsLighthouseEntranceCrackIceSheet().
Definition at line 791 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceCrackIceSheet
void scMarsLighthouseEntranceCrackIceSheet(void)
The fireball from the main hall's west torch reaches the big sheet of ice and cracks it, with a crack of ice.
References fdActorGet(), fdScriptGetFlag(), fdScriptPlaySound(), fdScriptSetFlag() and scMarsLighthouseEntranceDrawCrackedSheet().
Referenced by MarsLighthouseEntranceFireballToIceSheet.
Definition at line 802 of file mars_lighthouse_entrance.c.
MarsLighthouseEntranceBurstSecondIceSheet
DEFINE_BURST_ICE_SHEET(MarsLighthouseEntranceBurstSecondIceSheet, 28, 92, 8, 100, 92, 38, 8, ACTOR_SECOND_ICE_SHEET, FLAG_ENTRANCE_SECOND_SHEET_BURST)
Felix casts Burst on the big sheet of ice in the east of the main hall (metatiles (29, 43) and (30, 43)), once the west torch's fireball has cracked it: it blows apart in fiery blasts and the way past it is clear.
Referenced by MarsLighthouseEntranceCues.
Definition at line 859 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntrancePushStatueIntoFlames
void scMarsLighthouseEntrancePushStatueIntoFlames(Sint32 unused, Sint32 id)
Each time Felix pushes or Moves the white dragon statue along the flame chamber, west of the room behind the burst ice wall, the game checks where it stands. Once it is under the last dragon head at the chamber's east end (metatile (20, 7)), it settles a pixel south into the head's flames, blocks them, and stays there from then on.
References fdActorGet(), fdScriptSetFlag(), scFieldScriptWait() and Sint32.
Referenced by MarsLighthouseEntranceCues.
Definition at line 875 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceBlockRetreatAtChest
void scMarsLighthouseEntranceBlockRetreatAtChest(void)
Felix examines the Teleport Lapis chest, on the ledge above the north circle;
besides the chest opening as usual, Retreat stops working, and casting it
answers "Retreat... It doesn't work here." Retreat works again once the party
enters another scene: every ordinary arrival clears the flag (gmArrive), but
walking on within this scene does not.
References syGameFlagSet().
Referenced by MarsLighthouseEntranceCues.
Definition at line 897 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceTeleportFromBalm
void scMarsLighthouseEntranceTeleportFromBalm(void)
Felix casts Teleport on the circle in the room of the Orihalcon chest: in a swirl of sparks he appears on the hidden circle among the stone posts.
References fdTeleportPlaySparks(), MainRoutineStateWork, scFieldScriptSetExitRequest(), scFieldScriptWait(), scTeleportStartShimmer() and scTeleportStopShimmer().
Referenced by MarsLighthouseBalmCues.
Definition at line 904 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceSlideStatueOnIce
void scMarsLighthouseEntranceSlideStatueOnIce(Sint32 unused, Sint32 id)
Felix Moves the west one of the two white dragon statues beside the doorway onto Balm's black ice: pushed west, it slides along the ice to the wall (x 152), where it will stop Felix's own slides; pushed east from there, it slides back to its place by the doorway (x 200).
References fdActorGet(), scFieldActorSetMoveTargetFX() and Sint32.
Referenced by MarsLighthouseBalmCues.
Definition at line 919 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceBlazeHiddenCircleWestTorch
void scMarsLighthouseEntranceBlazeHiddenCircleWestTorch(void)
Felix casts Blaze at the urn torch at the west end of the room beyond the first black ice: the camera moves to the torch as it sends a fireball east toward the sheet of ice over the lower passage.
References scMarsLighthouseEntranceShootFireballAtHiddenCircleIceSheet().
Referenced by MarsLighthouseHiddenCircleCues.
Definition at line 942 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceWatchFireballCrackHiddenCircleIce
void scMarsLighthouseEntranceWatchFireballCrackHiddenCircleIce(void)
The camera holds for two seconds on the sheet of ice the west torch's fireball cracks.
References fdCameraWaitForArrival(), fdScriptClearFlag(), fdScriptEnd(), fdScriptStart(), scFieldScriptEndLastingPsynergy() and scFieldScriptWait().
Referenced by MarsLighthouseHiddenCircleCues.
Definition at line 951 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceCrackHiddenCircleIceSheet
void scMarsLighthouseEntranceCrackHiddenCircleIceSheet(void)
The west torch's fireball reaches the sheet of ice before the hidden circle's rooms, which cracks with a crack of ice, unless Burst has broken it already.
References fdActorGet(), fdScriptGetFlag(), fdScriptPlaySound() and fdScriptSetFlag().
Referenced by MarsLighthouseEntranceFireballToHiddenCircleIceSheet.
Definition at line 965 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceBlazeHiddenCircleEastTorch
void scMarsLighthouseEntranceBlazeHiddenCircleEastTorch(void)
Felix casts Blaze at the urn torch under the great carved dragon face in the right-hand room of ice cones: the torch sends a fireball rolling south through the ice.
References scMarsLighthouseEntranceShootFireballThroughIce().
Referenced by MarsLighthouseHiddenCircleCues.
Definition at line 982 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceWatchFireballMeltIce
void scMarsLighthouseEntranceWatchFireballMeltIce(void)
The camera follows the east torch's fireball south as it melts the ice in its path, and holds on the cleared way.
References fdCameraMoveToFX(), fdCameraWaitForArrival(), fdScriptClearFlag(), fdScriptEnd(), fdScriptStart(), scFieldScriptEndLastingPsynergy() and scFieldScriptWait().
Referenced by MarsLighthouseHiddenCircleCues.
Definition at line 989 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceTeleportFromHiddenCircle
void scMarsLighthouseEntranceTeleportFromHiddenCircle(void)
Felix casts Teleport on the hidden circle among the stone posts: in a swirl of sparks he appears on the circle in the room of the Orihalcon chest.
References fdTeleportPlaySparks(), MainRoutineStateWork, scFieldScriptSetExitRequest(), scFieldScriptWait(), scTeleportStartShimmer() and scTeleportStopShimmer().
Referenced by MarsLighthouseHiddenCircleCues.
Definition at line 1008 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceRevealTeleportCircle
void scMarsLighthouseEntranceRevealTeleportCircle(void)
While Felix's Reveal lasts, the teleport circle hidden in the floor among the room's six stone posts shows (metatiles (53, 48) to (56, 50)).
References fdMapGridCopyMetatiles() and fdMapGridCopyMetatilesLayered().
Referenced by MarsLighthouseHiddenCircleCues.
Definition at line 1021 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceHideTeleportCircle
void scMarsLighthouseEntranceHideTeleportCircle(void)
As Reveal fades, the hidden teleport circle among the stone posts is covered again.
References fdMapGridCopyMetatiles() and fdMapGridCopyMetatilesLayered().
Referenced by MarsLighthouseHiddenCircleCues.
Definition at line 1029 of file mars_lighthouse_entrance.c.
MarsLighthouseEntranceBurstHiddenCircleIceSheet
DEFINE_BURST_ICE_SHEET(MarsLighthouseEntranceBurstHiddenCircleIceSheet, 12, 95, 6, 101, 76, 40, 5, ACTOR_HIDDEN_CIRCLE_ICE_SHEET, FLAG_HIDDEN_CIRCLE_SHEET_BURST)
Felix casts Burst on the sheet of ice the west torch's fireball cracked (metatiles (14, 42) and (15, 42)): it blows apart in fiery blasts and the lower passage is open.
Referenced by MarsLighthouseHiddenCircleCues.
Definition at line 1038 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceMeltIceInPath
void scMarsLighthouseEntranceMeltIceInPath(void)
The east torch's fireball melts the ice in its path and opens the way south to the doorway.
References fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesLayered() and fdScriptSetFlag().
Referenced by MarsLighthouseEntranceFireballThroughIce and scInit().
Definition at line 1051 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceClearFireballRow
void scMarsLighthouseEntranceClearFireballRow(void)
The fireball in the dragon face rooms' long hall has passed: the metatiles of its row are cleared.
References fdMapGridCopyMetatileAttributes().
Referenced by MarsLighthouseDragonFaceLowerFireballPath.
Definition at line 1061 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceTeleportFromDragonFaceNorth
void scMarsLighthouseEntranceTeleportFromDragonFaceNorth(void)
Felix casts Teleport on the north circle of the dragon face's rooms (metatiles (12, 25) to (15, 27)): in a swirl of sparks he appears on the south circle in the room below, by the dragon head on its west wall.
References fdTeleportPlaySparks(), MainRoutineStateWork, scFieldScriptSetExitRequest(), scFieldScriptWait(), scTeleportStartShimmer() and scTeleportStopShimmer().
Referenced by MarsLighthouseDragonFaceCues.
Definition at line 1069 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceTeleportFromDragonFaceSouth
void scMarsLighthouseEntranceTeleportFromDragonFaceSouth(void)
Felix casts Teleport on the south circle of the dragon face's rooms (metatiles (11, 44) to (14, 46)), by the dragon head on its west wall: in a swirl of sparks he appears on the north circle.
References fdTeleportPlaySparks(), MainRoutineStateWork, scFieldScriptSetExitRequest(), scFieldScriptWait(), scTeleportStartShimmer() and scTeleportStopShimmer().
Referenced by MarsLighthouseDragonFaceCues.
Definition at line 1082 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntrancePushStatueIntoDragonFaceFlames
void scMarsLighthouseEntrancePushStatueIntoDragonFaceFlames(Sint32 unused, Sint32 id)
Felix Moves the white dragon statue on the ledge at the west of the south circle's room: pushed one metatile east (metatile (5, 43)), it stands under the small dragon head on the wall and blocks the flames it breathes at the urn torch, and stays there from then on.
References fdActorGet(), fdScriptSetFlag(), scFieldScriptWait() and Sint32.
Referenced by MarsLighthouseDragonFaceCues.
Definition at line 1096 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceDrawHoleMask
void scMarsLighthouseEntranceDrawHoleMask(void)
Each tick of a fall through the floor: the mask sprite is drawn over Felix's metatile, so that he sinks out of sight through the hole.
References fdActorGet(), fdMapGetTerrainHeight(), fdMapStateView(), MainRoutineStateWork, MarsLighthouseEntranceHoleMaskSprite, MarsLighthouseEntranceHoleMaskVram, Sint32, syOAMAddSpriteAtDepthClamped() and VramCacheEntries.
Referenced by scMarsLighthouseEntranceStartHoleMask().
Definition at line 1115 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceStartHoleMask
void scMarsLighthouseEntranceStartHoleMask(void)
Hides Felix's sprite below the floor as he drops through it: a sprite of
colour 1 in a VRAM block of its own, drawn each tick in the OBJ window over
his metatile (scMarsLighthouseEntranceDrawHoleMask).
References MarsLighthouseEntranceHoleMaskVram, mnVRAMLoad(), scMarsLighthouseEntranceDrawHoleMask(), Sint32, syHeapAllocate(), syHeapRelease(), sySetTickEvent() and syVRAMCacheFindFreeEntry().
Referenced by scMarsLighthouseEntranceFallIntoHole() and scMarsLighthouseEntranceFallThroughCrack().
Definition at line 1150 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceFallIntoHole
void scMarsLighthouseEntranceFallIntoHole(Sint32 exitId)
Felix walks onto one of the purple holes on the upper floor of the dragon face's rooms (metatiles (15, 43) to (16, 46) east of the south circle, and (54, 8) to (55, 11) in the long hall): startled, he raises his arms and sinks out of sight, the screen closes in on him, and he drops into a room of the dragons' hall below, landing in a puff of dust. The metatile's behaviour is the exit he takes.
References fdActorGet(), fdActorSelectAnimation(), fdActorSetAnimation(), fdActorSetAnimationSpeed(), fdActorSetSpriteFlags(), fdScriptFinishScreenTransition(), fdScriptPlaySound(), fdScriptStart(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, MapGridMetatileBuffer, scFieldActorShowEmote(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetExitRequest(), scFieldScriptWait(), scMarsLighthouseEntranceStartHoleMask(), Sint32 and sySynch().
Referenced by MarsLighthouseDragonFaceCues.
Definition at line 1184 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceWakeDragonFace
void scMarsLighthouseEntranceWakeDragonFace(void)
Felix steps onto metatile (52, 8) in the dragon face rooms' long hall, at the head of the slide down the ice: with a click the dragon face wakes, and the game can no longer be saved. Great fireballs roll east along the ice towards him, shattering the ice blocks in their way and bursting into flames at the hall's east end, and the face crawls along the hall's north wall, coming east almost to Felix, then turning and crawling back west out of sight, still spitting fire. Felix has to cross the ice ahead of it. While he stays at the head of the slide nothing else happens to him.
References fdActorSetScript(), fdScriptPlaySound(), fdScriptSetFlag(), MarsLighthouseEntranceDragonFaceCrawlsWest and scFlameThrowerSet().
Referenced by MarsLighthouseDragonFaceCues.
Definition at line 1263 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceSlideFromEdge
void scMarsLighthouseEntranceSlideFromEdge(void)
Stepping onto the black ice in the dragon face rooms' long hall, Felix slides on across it; if a fireball has hit him he rides along with it.
References scLeaderSlideOnIceFromEdge() and scMarsLighthouseEntranceRideFireballIfHit().
Referenced by MarsLighthouseDragonFaceCues.
Definition at line 1275 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceFallThroughCrack
void scMarsLighthouseEntranceFallThroughCrack(const MAP_METATILE *metatile)
Felix drops through a cracked tile of the cracked ice room: startled, he
raises his arms and sinks out of sight, and lands in the room below. The
metatile he fell through is kept, so the landing room can place him under it;
metatile is the one south of it, which tells whether his sinking sprite
needs the hole's mask.
References fdActorGet(), fdActorSelectAnimation(), fdActorSetAnimation(), fdActorSetAnimationSpeed(), fdActorSetSpriteFlags(), fdScriptFinishScreenTransition(), fdScriptPlaySound(), fdScriptStart(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, scFieldActorShowEmote(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetExitRequest(), scFieldScriptWait(), scMarsLighthouseEntranceStartHoleMask(), Sint32, syGameFlagSetByte() and sySynch().
Referenced by scMarsLighthouseEntranceCheckCrackedFloor().
Definition at line 1288 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceJumpOrSlide
void scMarsLighthouseEntranceJumpOrSlide(void)
Felix walks onto one of the pillar tops of the cracked ice room's jumping puzzle (metatiles (13, 28), (7, 30), (11, 34), (8, 36) and (14, 37)): he hops on across the gap the way he is walking where there is somewhere to land, and otherwise slides on as on ice.
References fdLeaderSlideOnIceAhead() and fdTryJumpForward().
Referenced by MarsLighthouseCrackedIceCues.
Definition at line 1346 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceCheckCrackedFloor
void scMarsLighthouseEntranceCheckCrackedFloor(void)
Felix steps on one of the pale cracked tiles among the pillar tops of the
cracked ice room (on its upper floor, metatiles (8, 29) to (14, 38)): those
that give way drop him through to the room below, as
scMarsLighthouseEntranceFallThroughCrack shows; the others hold.
References fdActorGet(), MainRoutineStateWork, MapGridMetatileBuffer, scMarsLighthouseEntranceFallThroughCrack() and Sint32.
Referenced by MarsLighthouseCrackedIceCues.
Definition at line 1356 of file mars_lighthouse_entrance.c.
scGetCues
const CUE *scGetCues(void)
References MainRoutineStateWork, MarsLighthouseBalmCues, MarsLighthouseCrackedIceCues, MarsLighthouseDragonFaceCues, MarsLighthouseEntranceCues, MarsLighthouseEntranceEmptyCues, MarsLighthouseHiddenCircleCues, MarsLighthouseIceShaftCues and MarsLighthouseOutsideCues.
Definition at line 1376 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntrancePulseDragonFire
void scMarsLighthouseEntrancePulseDragonFire(void)
The dragon face at the west end of the long hall breathes fire for a second and stops for four, in turn.
References MarsLighthouseEntranceDragonFireOn and scFlameThrowerSet().
Referenced by scInit().
Definition at line 1403 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceFlickerDragonFace
void scMarsLighthouseEntranceFlickerDragonFace(ACTOR *actor)
Each tick the waking dragon face flickers: tinted red for two ticks in eight.
References fdActorSetSpriteColorMode() and TickCount.
Referenced by scInit().
Definition at line 1426 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceFlingIceCone
void scMarsLighthouseEntranceFlingIceCone(ACTOR *actor)
An ice cone the dragon face's fireball reaches spins and flies off east, shrinking.
Referenced by scMarsLighthouseEntranceWaitForDragonFace().
Definition at line 1437 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceWaitForDragonFace
void scMarsLighthouseEntranceWaitForDragonFace(ACTOR *actor)
An ice cone waits until the dragon face's fireball comes within 32 pixels across, then is flung away.
References scMarsLighthouseEntranceFlingIceCone().
Referenced by scInit().
Definition at line 1460 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceStopSlideWhileRiding
void scMarsLighthouseEntranceStopSlideWhileRiding(void)
Each tick in the dragon face's rooms: once the dragon face's fireball has hit Felix on the ice, he sits blinking on it, red, as it carries him east across the ice to the hole at its end, where "!" shows over him and he falls through to the room below; his own slide on the ice is held stopped meanwhile, so that only the fireball moves him.
References scFlameThrowersHasHitLeader() and scLeaderSetSlideStopped().
Referenced by scInit().
Definition at line 1473 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceShootDragonFaceUpperFireball
void scMarsLighthouseEntranceShootDragonFaceUpperFireball(void)
The flames of the dragon face rooms' dragon head reach the urn torch below it, and its fireball sets off east.
References MarsLighthouseDragonFaceUpperFireballPath and scActorAttach().
Referenced by scInit().
Definition at lines 1488 and 1766 of file mars_lighthouse_entrance.c.
scInit
Sint32 scInit(void)
References fdActorGet(), fdActorSetScript(), fdEffectStartBlankOverlay(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesLayered(), fdScriptClearFlag(), fdScriptGetFlag(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), fdWeatherStartRain(), MainRoutineStateWork, MarsLighthouseBalmFlameStops, MarsLighthouseBalmFlameThrowers, MarsLighthouseBalmIceCones, MarsLighthouseDragonFaceIceCones, MarsLighthouseDragonFaceLowerFlameStops, MarsLighthouseDragonFaceLowerFlameThrowers, MarsLighthouseDragonFaceUpperFlameStops, MarsLighthouseDragonFaceUpperFlameThrowers, MarsLighthouseEntranceDragonFaceAtWestEnd, MarsLighthouseEntranceFlameStops, MarsLighthouseEntranceFlameThrowers, MarsLighthouseEntranceIceCones, MarsLighthouseIceShaftIceCones, scActorFreeze(), scFieldActorSetSpritePriority(), scFieldScriptEndLastingPsynergy(), scFieldScriptSetExitRequest(), scFieldScriptWait(), scFlameThrowersCreate(), scFlameThrowerSet(), scFlameThrowerSetPuffsOffScreen(), scFlameThrowersSetMode(), scFlameThrowersStart(), scMarsLighthouseEntranceDrawCrackedSheet(), scMarsLighthouseEntranceFlickerDragonFace(), scMarsLighthouseEntranceMeltIceInPath(), scMarsLighthouseEntrancePlaceIceCones(), scMarsLighthouseEntrancePulseDragonFire(), scMarsLighthouseEntranceScatterIceChips(), scMarsLighthouseEntranceShootBalmFireball(), scMarsLighthouseEntranceShootDragonFaceLowerFireball(), scMarsLighthouseEntranceShootDragonFaceUpperFireball(), scMarsLighthouseEntranceStopSlideWhileRiding(), scMarsLighthouseEntranceWaitForDragonFace(), scPaletteSetColorsFade(), Sint32 and 7 more.
Definition at line 1507 of file mars_lighthouse_entrance.c.
scPrepareMap
Sint32 scPrepareMap(void)
References fdMapCopyPalette(), fdScriptGetFlag(), MainRoutineStateWork and Sint32.
Definition at line 1755 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceShootDragonFaceLowerFireball
void scMarsLighthouseEntranceShootDragonFaceLowerFireball(void)
The flames reach the urn torch at the west end of the long hall, and its fireball sets off east along the hall.
References MarsLighthouseDragonFaceLowerFireballPath and scActorAttach().
Referenced by scInit().
Definition at line 1777 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceShootBalmFireball
void scMarsLighthouseEntranceShootBalmFireball(void)
The dragon head's flames reach the urn torch at the head of the corridor of ice cones in Balm's rooms, and its fireball sets off south down it.
References MarsLighthouseBalmFireballPath and scActorAttach().
Referenced by scInit().
Definition at line 1788 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceShootFireballAtHiddenCircleIceSheet
void scMarsLighthouseEntranceShootFireballAtHiddenCircleIceSheet(void)
The west urn torch's fireball sets off east for the sheet of ice.
References MarsLighthouseEntranceFireballToHiddenCircleIceSheet and scActorAttach().
Referenced by scMarsLighthouseEntranceBlazeHiddenCircleWestTorch().
Definition at line 1798 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceShootFireballThroughIce
void scMarsLighthouseEntranceShootFireballThroughIce(void)
The urn torch under the dragon face sends its fireball south through the ice.
References MarsLighthouseEntranceFireballThroughIce and scActorAttach().
Referenced by scMarsLighthouseEntranceBlazeHiddenCircleEastTorch().
Definition at line 1808 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceShootFireballAtIceSheet
void scMarsLighthouseEntranceShootFireballAtIceSheet(void)
The main hall's west torch sends its fireball east for the big sheet of ice.
References MarsLighthouseEntranceFireballToIceSheet and scActorAttach().
Referenced by scMarsLighthouseEntranceBlazeTorch().
Definition at line 1818 of file mars_lighthouse_entrance.c.
scFlameThrowersRelease
void scFlameThrowersRelease(void)
Releases the kept flame.
References fdActorRelease().
Definition at line 1856 of file mars_lighthouse_entrance.c.
scFlameThrowersSetMode
void scFlameThrowersSetMode(Sint16 value)
Sets whether the flame throwers keep puffing while Psynergy is used.
Referenced by scInit().
Definition at line 1865 of file mars_lighthouse_entrance.c.
scFlameThrowersGetCounter
Sint32 scFlameThrowersGetCounter(void)
The flame throwers' counter, which scFlameThrowersAdvanceCounter steps.
References Sint32.
Definition at line 1878 of file mars_lighthouse_entrance.c.
scFlameThrowerGetFlags
Sint32 scFlameThrowerGetFlags(Sint32 index)
Flame thrower index's flags: which flame it sends and how far.
References Sint32.
Referenced by scMarsLighthouseTowersPushPipeOrJump().
Definition at line 1888 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceKnockBackIfHit
void scMarsLighthouseEntranceKnockBackIfHit(void)
Hit by the flames, Felix is knocked back.
References fdLeaderKnockBack().
Definition at line 1902 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceRideFireball
Sint32 scMarsLighthouseEntranceRideFireball(void)
A rolling fireball hits Felix in Balm's corridor of ice cones or the dragon
face's rooms: the party takes damage, and he sits blinking on the fireball
and is carried along with it until it stops (FLAME_HIT_STATE.car), kept to a
metatile's centre over rounded ground.
References fdActorBlink(), fdActorGet(), fdActorSelectAnimation(), fdActorSetSpriteColorMode(), fdMapGridGetTerrainKindOrBumpAt(), fdScreenTransitionStart(), fdScriptClearFlag(), fdScriptSetFlag(), fdScriptStart(), gmPartyTakeFallDamage(), MainRoutineStateWork, scFieldScriptEndLastingPsynergy(), scFieldScriptWait(), Sint32 and sySynch().
Referenced by MarsLighthouseBalmCues, MarsLighthouseDragonFaceCues and scMarsLighthouseEntranceRideFireballIfHit().
Definition at line 1912 of file mars_lighthouse_entrance.c.
scMarsLighthouseEntranceRideFireballIfHit
Bool scMarsLighthouseEntranceRideFireballIfHit(void)
Stepping onto the south circle of the dragon face's rooms while a fireball
has hit him, Felix is carried along with it
(scMarsLighthouseEntranceRideFireball); otherwise nothing happens. The slide
from the ice's edge asks the same, ignoring the answer.
References scMarsLighthouseEntranceRideFireball().
Referenced by MarsLighthouseDragonFaceCues and scMarsLighthouseEntranceSlideFromEdge().
Definition at line 1984 of file mars_lighthouse_entrance.c.
scFlameThrowersHasHitLeader
Sint32 scFlameThrowersHasHitLeader(void)
Whether a flame or fireball has hit Felix.
References Sint32.
Referenced by scMarsLighthouseEntranceStopSlideWhileRiding() and scMarsLighthouseTowersStopSlideWhileHit().
Definition at line 1995 of file mars_lighthouse_entrance.c.
scActorAttach
Sint32 scActorAttach(Sint32 torchId, Sint32 sparkleId, Sint32 fireballId, Sint32 facing, const void *path)
Sends a sparkle from a torch along its path, at whose end it sets a fireball
rolling toward facing (scActorPark). Its callers take it as returning a
word; it returns none.
References fdActorGet(), fdActorSelectAnimation(), fdActorSetSpriteFlags(), fdActorStartScript(), scActorHoldDuringScript(), scFieldActorSetPosAndResetMotion() and Sint32.
Referenced by scMarsLighthouseEntranceShootBalmFireball(), scMarsLighthouseEntranceShootDragonFaceLowerFireball(), scMarsLighthouseEntranceShootDragonFaceUpperFireball(), scMarsLighthouseEntranceShootFireballAtHiddenCircleIceSheet(), scMarsLighthouseEntranceShootFireballAtIceSheet(), scMarsLighthouseEntranceShootFireballThroughIce(), scMarsLighthouseStarRoomShootFireballs(), scMarsLighthouseTowersDropFireball(), scMarsLighthouseTowersShootFireballAtIcebergs() and scMarsLighthouseTowersShootFireballAtWall().
Definition at line 2014 of file mars_lighthouse_entrance.c.
scLeaderSetSlideStopped
void scLeaderSetSlideStopped(Sint32 value)
Stops the leader's slide on the ice where it is (nonzero), or lets it run.
References Sint32 and SlideOnIceStopped.
Referenced by scMarsLighthouseEntranceStopSlideWhileRiding() and scMarsLighthouseTowersStopSlideWhileHit().
Definition at line 2059 of file mars_lighthouse_entrance.c.
scFieldEffectSpawn
void scFieldEffectSpawn(Sint32 x, Sint32 y, Sint32 z, Sint32 velocityX, Sint32 velocityY, Sint32 velocityZ, Uint32 flags, const EFFECT_OPTIONS *options)
Puts a short-lived effect sprite, dust unless options names another, at a
point, moving off at the velocity given and drawn at the leader's priority:
this overlay's own copy of field_effect_spawn.c.
References fdActorGetById(), fdActorSelectAnimation(), fdActorSetSpriteFlags(), fdActorStartScript(), fdEffectUpdateMotionScaleAndSpin(), FieldEffectDurationScripts, MainRoutineStateWork, scEffectSetSpritePriority(), scFieldActorSetSpriteColor(), Sint32 and syImportActorCreate().
Referenced by scActorEmitMist(), scActorEmitSmoke(), scActorEmitSmokeUnused(), scActorEmitSparkles(), scAirsRockBlowGust(), scAirsRockCrumbleRock(), scAirsRockInsideBlowGust(), scAirsRockInsideBurstDust(), scAirsRockInsideLandInHall(), scAirsRockInsideScatterSparks(), scAirsRockInsideStatueBreathesPooledWhirlwind(), scAirsRockInsideStatueBreathesWhirlwind(), scAirsRockStatueBreathesWhirlwind(), scAirsRockWhirlwindClearsWall(), scAnemosInnerSanctumLightPlate(), scAnkohlRuinsLandFromFall(), scAnkohlRuinsPourSand(), scCavernsFinishMovingAngaraBlock(), scContigoForceFreesDjinni(), scCrackedTileDropIn(), scDehkanPlateauLandFromFall(), scGabombaStatueLandFromFall(), scGaiaRockInsideRaiseDust(), scGaiaRockInsideRingOfDust(), scGarohScatterDustRing(), scGondowanCliffsLeapStumpIntoWater(), scJupiterLighthouseAlexAppears(), scKandoreanTempleLandFromAbove(), scMagmaRockBurnStatue(), scMagmaRockDropLeaderFromSummit(), scMagmaRockFireFromStatue(), scMagmaRockInsideDrainLava(), scMagmaRockInsideFireFromStatue(), scMagmaRockInsideRaiseLava(), scMagmaRockInsideReleaseRocks(), scMagmaRockInsideSmokeEmber(), scMagmaRockInsideTrailEmbers(), scMagmaRockInsideTrailSparks(), scMagmaRockKnockLeaderOffWall(), scMagmaRockLeaveEmbers(), scMagmaRockRaiseFlameTop(), scMagmaRockScatterEmbers(), scMagmaRockThrowEmbers(), scMarsLighthouseEntrancePoundIceCone(), scMtAlephSummitScatterDustRing(), scProngSparkle(), scSeaOfTimeCountLaps(), scSeaOfTimeFacePoseidon(), scSeaOfTimeFollowChannel(), scSeaOfTimeOpen() and 17 more.
Definition at line 2074 of file mars_lighthouse_entrance.c.
scCrackedTileFall
void scCrackedTileFall(METATILE_TARGET *table, METATILE_TARGET_ENTRY *entry)
A cracked tile gives way under Felix, who drops through it.
References fdActorGet(), fdActorSetAnimation(), fdActorSetSpriteFlags(), fdMapGridCopyMetatiles(), fdScriptFinishScreenTransition(), fdScriptPlaySound(), fdScriptWaitTransitionTicks(), MainRoutineStateWork, scFieldScriptWait(), scLeaderCenterInMetatile(), Sint32 and sySynch().
Referenced by scCrackedTileStep().
Definition at line 2166 of file mars_lighthouse_entrance.c.
Variables in detail
MarsLighthouseEntranceEmptyPlacements
extern ACTOR_PLACE MarsLighthouseEntranceEmptyPlacements[]
ACTOR_PLACE MarsLighthouseEntranceEmptyPlacements[]
Referenced by scGetActorPlacements().
Definition at lines 406 and 2757 of file mars_lighthouse_entrance.c.
MarsLighthouseOutsidePlacements
extern ACTOR_PLACE MarsLighthouseOutsidePlacements[]
ACTOR_PLACE MarsLighthouseOutsidePlacements[]
Referenced by scGetActorPlacements().
Definition at lines 407 and 2761 of file mars_lighthouse_entrance.c.
MarsLighthouseIceShaftPlacements
extern ACTOR_PLACE MarsLighthouseIceShaftPlacements[]
ACTOR_PLACE MarsLighthouseIceShaftPlacements[]
References MarsLighthouseEntranceIceConeScript.
Referenced by scGetActorPlacements().
Definition at lines 408 and 2770 of file mars_lighthouse_entrance.c.
MarsLighthouseEntrancePlacements
extern ACTOR_PLACE MarsLighthouseEntrancePlacements[]
ACTOR_PLACE MarsLighthouseEntrancePlacements[]
References MarsLighthouseEntranceEastFlameThrowerRoute, MarsLighthouseEntranceIceConeScript, MarsLighthouseEntranceTorchScript, MarsLighthouseEntranceWestFlameThrowerRoute and Sint32.
Referenced by scGetActorPlacements().
Definition at lines 409 and 2823 of file mars_lighthouse_entrance.c.
MarsLighthouseBalmPlacements
extern ACTOR_PLACE MarsLighthouseBalmPlacements[]
ACTOR_PLACE MarsLighthouseBalmPlacements[]
References MarsLighthouseBalmFlameThrowerRoute, MarsLighthouseEntranceIceConeScript, MarsLighthouseEntranceTorchScript and Sint32.
Referenced by scGetActorPlacements().
Definition at lines 410 and 2862 of file mars_lighthouse_entrance.c.
MarsLighthouseHiddenCirclePlacements
extern ACTOR_PLACE MarsLighthouseHiddenCirclePlacements[]
ACTOR_PLACE MarsLighthouseHiddenCirclePlacements[]
References MarsLighthouseEntranceTorchScript and Sint32.
Referenced by scGetActorPlacements().
Definition at lines 411 and 2896 of file mars_lighthouse_entrance.c.
MarsLighthouseDragonFacePlacements
extern ACTOR_PLACE MarsLighthouseDragonFacePlacements[]
ACTOR_PLACE MarsLighthouseDragonFacePlacements[]
References MarsLighthouseDragonFaceEastFlameThrowerRoute, MarsLighthouseDragonFaceWestFlameThrowerRoute, MarsLighthouseEntranceIceConeScript, MarsLighthouseEntranceTorchScript and Sint32.
Referenced by scGetActorPlacements().
Definition at lines 412 and 2918 of file mars_lighthouse_entrance.c.
MarsLighthouseCrackedIcePlacements
extern ACTOR_PLACE MarsLighthouseCrackedIcePlacements[]
ACTOR_PLACE MarsLighthouseCrackedIcePlacements[]
Referenced by scGetActorPlacements().
Definition at lines 413 and 2952 of file mars_lighthouse_entrance.c.
WhirlwindRiding
Sint32 WhirlwindRiding
Set while a whirlwind carries the leader in the two Jupiter Lighthouse rooms
that raise one (jupiter_lighthouse_terraces.c and
jupiter_lighthouse_right_tower_upper.c); shared/whirlwind_update.c clears it
as the ride ends. The rooms of this overlay have no whirlwind, and nothing
here but scInit's clear touches it.
References Sint32.
Referenced by scInit(), scJupiterLighthouseRaiseUpperWhirlwind(), scJupiterLighthouseRaiseWhirlwind(), scJupiterLighthouseRideUpperWhirlwind(), scJupiterLighthouseRideWhirlwind() and scWhirlwindUpdate().
Definition at line 464 of file mars_lighthouse_entrance.c.
PaletteCycleBright
Uint16 PaletteCycleBright
The teleport circle's shimmer, a palette cycle that fdPaletteCycleFade steps.
Referenced by fdPaletteCycleFade(), scTeleportStartFastShimmer() and scTeleportStartShimmer().
Definition at line 466 of file mars_lighthouse_entrance.c.
PaletteCycleTimer
Uint16 PaletteCycleTimer
Referenced by fdPaletteCycleFade(), scTeleportStartFastShimmer() and scTeleportStartShimmer().
Definition at line 468 of file mars_lighthouse_entrance.c.
PaletteCycleDelay
Uint16 PaletteCycleDelay
Referenced by fdPaletteCycleFade(), scTeleportStartFastShimmer() and scTeleportStartShimmer().
Definition at line 469 of file mars_lighthouse_entrance.c.
MarsLighthouseEntranceHoleMaskVram
Uint16 MarsLighthouseEntranceHoleMaskVram
Referenced by scMarsLighthouseEntranceDrawHoleMask() and scMarsLighthouseEntranceStartHoleMask().
Definition at line 476 of file mars_lighthouse_entrance.c.
MarsLighthouseEntranceHoleMaskSprite
Uint32 MarsLighthouseEntranceHoleMaskSprite[3]
Referenced by scMarsLighthouseEntranceDrawHoleMask().
Definition at line 477 of file mars_lighthouse_entrance.c.
SlideOnIceStopped
volatile Sint16 SlideOnIceStopped
Referenced by scLeaderSetSlideStopped() and scLeaderSlideOnIceFromEdge().
Definition at line 478 of file mars_lighthouse_entrance.c.
CrackedTiles
METATILE_TARGET CrackedTiles
Referenced by scCrackedTileFind(), scCrackedTilePlaceLanding(), scCrackedTileStep() and scCrackedTileUpdate().
Definition at line 479 of file mars_lighthouse_entrance.c.
MarsLighthouseEntranceDragonFaceCrawlsWest
extern Sint32 MarsLighthouseEntranceDragonFaceCrawlsWest[]
Sint32 MarsLighthouseEntranceDragonFaceCrawlsWest[]
The woken dragon face crawls west along the long hall's north wall, rising and dropping as it goes, and stops breathing fire at the west end.
References scMarsLighthouseEntranceDryDragonFace() and Sint32.
Referenced by scMarsLighthouseEntranceWakeDragonFace().
Definition at lines 1245 and 2311 of file mars_lighthouse_entrance.c.
MarsLighthouseEntranceEmptyCues
extern CUE MarsLighthouseEntranceEmptyCues[]
CUE MarsLighthouseEntranceEmptyCues[]
Referenced by scGetCues().
Definition at lines 1246 and 2960 of file mars_lighthouse_entrance.c.
MarsLighthouseOutsideCues
extern CUE MarsLighthouseOutsideCues[]
CUE MarsLighthouseOutsideCues[]
Referenced by scGetCues().
Definition at lines 1247 and 2964 of file mars_lighthouse_entrance.c.
MarsLighthouseIceShaftCues
extern CUE MarsLighthouseIceShaftCues[]
CUE MarsLighthouseIceShaftCues[]
References scMarsLighthouseEntranceCheckIce(), scMarsLighthouseEntranceFightFugue(), scMarsLighthouseEntranceGrindIce() and scMarsLighthouseEntranceStartPoundIceCone().
Referenced by scGetCues().
Definition at lines 1248 and 2971 of file mars_lighthouse_entrance.c.
MarsLighthouseEntranceCues
extern CUE MarsLighthouseEntranceCues[]
CUE MarsLighthouseEntranceCues[]
References fdLeaderKnockBack(), MarsLighthouseEntranceBurstSecondIceSheet(), scMarsLighthouseEntranceBlazeTorch(), scMarsLighthouseEntranceBlockRetreatAtChest(), scMarsLighthouseEntranceBurstIceSheet(), scMarsLighthouseEntrancePushStatueIntoFlames(), scMarsLighthouseEntranceStartPoundIceCone(), scMarsLighthouseEntranceTeleportFromNorthCircle(), scMarsLighthouseEntranceTeleportFromSouthCircle() and scMarsLighthouseEntranceWatchFireballCrackIce().
Referenced by scGetCues().
Definition at lines 1249 and 3031 of file mars_lighthouse_entrance.c.
MarsLighthouseBalmCues
extern CUE MarsLighthouseBalmCues[]
CUE MarsLighthouseBalmCues[]
References fdLeaderSlideOnIce(), scMarsLighthouseEntranceFightBalm(), scMarsLighthouseEntranceRideFireball(), scMarsLighthouseEntranceSlideStatueOnIce(), scMarsLighthouseEntranceStartPoundIceCone() and scMarsLighthouseEntranceTeleportFromBalm().
Referenced by scGetCues().
Definition at lines 1250 and 3122 of file mars_lighthouse_entrance.c.
MarsLighthouseHiddenCircleCues
extern CUE MarsLighthouseHiddenCircleCues[]
CUE MarsLighthouseHiddenCircleCues[]
References fdLeaderSlideOnIce(), MarsLighthouseEntranceBurstHiddenCircleIceSheet(), scMarsLighthouseEntranceBlazeHiddenCircleEastTorch(), scMarsLighthouseEntranceBlazeHiddenCircleWestTorch(), scMarsLighthouseEntranceHideTeleportCircle(), scMarsLighthouseEntranceRevealTeleportCircle(), scMarsLighthouseEntranceTeleportFromHiddenCircle(), scMarsLighthouseEntranceWatchFireballCrackHiddenCircleIce() and scMarsLighthouseEntranceWatchFireballMeltIce().
Referenced by scGetCues().
Definition at lines 1251 and 3200 of file mars_lighthouse_entrance.c.
MarsLighthouseDragonFaceCues
extern CUE MarsLighthouseDragonFaceCues[]
CUE MarsLighthouseDragonFaceCues[]
References scMarsLighthouseEntranceFallIntoHole(), scMarsLighthouseEntrancePushStatueIntoDragonFaceFlames(), scMarsLighthouseEntranceRideFireball(), scMarsLighthouseEntranceRideFireballIfHit(), scMarsLighthouseEntranceSlideFromEdge(), scMarsLighthouseEntranceStartPoundIceCone(), scMarsLighthouseEntranceTeleportFromDragonFaceNorth(), scMarsLighthouseEntranceTeleportFromDragonFaceSouth() and scMarsLighthouseEntranceWakeDragonFace().
Referenced by scGetCues().
Definition at lines 1252 and 3276 of file mars_lighthouse_entrance.c.
MarsLighthouseCrackedIceCues
extern CUE MarsLighthouseCrackedIceCues[]
CUE MarsLighthouseCrackedIceCues[]
References fdLeaderSlideOnIce(), scMarsLighthouseEntranceCheckCrackedFloor() and scMarsLighthouseEntranceJumpOrSlide().
Referenced by scGetCues().
Definition at lines 1253 and 3361 of file mars_lighthouse_entrance.c.
MarsLighthouseEntranceDragonFireOn
extern Sint16 MarsLighthouseEntranceDragonFireOn
Sint16 MarsLighthouseEntranceDragonFireOn
1 while the dragon face at the west end of the long hall breathes fire.
Referenced by scMarsLighthouseEntrancePulseDragonFire().
Definition at lines 1399 and 3409 of file mars_lighthouse_entrance.c.
MarsLighthouseEntranceDragonFaceAtWestEnd
extern Sint32 MarsLighthouseEntranceDragonFaceAtWestEnd[]
Sint32 MarsLighthouseEntranceDragonFaceAtWestEnd[]
The dragon face already at the long hall's west end, as Felix comes back.
References Sint32.
Referenced by scInit().
Definition at lines 1489 and 2392 of file mars_lighthouse_entrance.c.
MarsLighthouseIceShaftIceCones
extern Uint16 MarsLighthouseIceShaftIceCones[]
Uint16 MarsLighthouseIceShaftIceCones[]
Each room's ice cones (scMarsLighthouseEntrancePlaceIceCones), and its flame throwers for
scFlameThrowersStart, each with its flame's kind and reach, with the actors their flames stop at,
1 where reaching one calls the function scFlameThrowersStart is given.
Referenced by scInit().
Definition at lines 1490 and 2412 of file mars_lighthouse_entrance.c.
MarsLighthouseEntranceFlameThrowers
extern Uint16 MarsLighthouseEntranceFlameThrowers[]
Uint16 MarsLighthouseEntranceFlameThrowers[]
Referenced by scInit().
Definition at lines 1491 and 2417 of file mars_lighthouse_entrance.c.
MarsLighthouseEntranceFlameStops
extern Uint16 MarsLighthouseEntranceFlameStops[]
Uint16 MarsLighthouseEntranceFlameStops[]
Referenced by scInit().
Definition at lines 1492 and 2424 of file mars_lighthouse_entrance.c.
MarsLighthouseEntranceIceCones
extern Uint16 MarsLighthouseEntranceIceCones[]
Uint16 MarsLighthouseEntranceIceCones[]
Referenced by scInit().
Definition at lines 1493 and 2427 of file mars_lighthouse_entrance.c.
MarsLighthouseBalmFlameThrowers
extern Uint16 MarsLighthouseBalmFlameThrowers[]
Uint16 MarsLighthouseBalmFlameThrowers[]
Referenced by scInit().
Definition at lines 1494 and 2432 of file mars_lighthouse_entrance.c.
MarsLighthouseBalmFlameStops
extern Uint16 MarsLighthouseBalmFlameStops[]
Uint16 MarsLighthouseBalmFlameStops[]
Referenced by scInit().
Definition at lines 1495 and 2435 of file mars_lighthouse_entrance.c.
MarsLighthouseBalmIceCones
extern Uint16 MarsLighthouseBalmIceCones[]
Uint16 MarsLighthouseBalmIceCones[]
Referenced by scInit().
Definition at lines 1496 and 2438 of file mars_lighthouse_entrance.c.
MarsLighthouseDragonFaceUpperFlameThrowers
extern Uint16 MarsLighthouseDragonFaceUpperFlameThrowers[]
Uint16 MarsLighthouseDragonFaceUpperFlameThrowers[]
Referenced by scInit().
Definition at lines 1497 and 2446 of file mars_lighthouse_entrance.c.
MarsLighthouseDragonFaceUpperFlameStops
extern Uint16 MarsLighthouseDragonFaceUpperFlameStops[]
Uint16 MarsLighthouseDragonFaceUpperFlameStops[]
Referenced by scInit().
Definition at lines 1498 and 2449 of file mars_lighthouse_entrance.c.
MarsLighthouseDragonFaceLowerFlameThrowers
extern Uint16 MarsLighthouseDragonFaceLowerFlameThrowers[]
Uint16 MarsLighthouseDragonFaceLowerFlameThrowers[]
Referenced by scInit().
Definition at lines 1499 and 2452 of file mars_lighthouse_entrance.c.
MarsLighthouseDragonFaceLowerFlameStops
extern Uint16 MarsLighthouseDragonFaceLowerFlameStops[]
Uint16 MarsLighthouseDragonFaceLowerFlameStops[]
Referenced by scInit().
Definition at lines 1500 and 2455 of file mars_lighthouse_entrance.c.
MarsLighthouseDragonFaceIceCones
extern Uint16 MarsLighthouseDragonFaceIceCones[]
Uint16 MarsLighthouseDragonFaceIceCones[]
Referenced by scInit().
Definition at lines 1501 and 2458 of file mars_lighthouse_entrance.c.
MarsLighthouseDragonFaceUpperFireballPath
extern Sint32 MarsLighthouseDragonFaceUpperFireballPath[]
Sint32 MarsLighthouseDragonFaceUpperFireballPath[]
The sparkles' ways from each urn torch to where its fireball sets off; at the end of some, the function the fireball's arrival calls.
References scActorPark(), scActorPopUpSlow() and Sint32.
Referenced by scMarsLighthouseEntranceShootDragonFaceUpperFireball().
Definition at lines 1748 and 2470 of file mars_lighthouse_entrance.c.
MarsLighthouseDragonFaceLowerFireballPath
extern Sint32 MarsLighthouseDragonFaceLowerFireballPath[]
Sint32 MarsLighthouseDragonFaceLowerFireballPath[]
References scActorPark(), scActorPopUpSlow(), scMarsLighthouseEntranceClearFireballRow() and Sint32.
Referenced by scMarsLighthouseEntranceShootDragonFaceLowerFireball().
Definition at lines 1749 and 2482 of file mars_lighthouse_entrance.c.
MarsLighthouseBalmFireballPath
extern Sint32 MarsLighthouseBalmFireballPath[]
Sint32 MarsLighthouseBalmFireballPath[]
References scActorPark(), scActorPopUpSlow() and Sint32.
Referenced by scMarsLighthouseEntranceShootBalmFireball().
Definition at lines 1750 and 2495 of file mars_lighthouse_entrance.c.
MarsLighthouseEntranceFireballToHiddenCircleIceSheet
extern Sint32 MarsLighthouseEntranceFireballToHiddenCircleIceSheet[]
Sint32 MarsLighthouseEntranceFireballToHiddenCircleIceSheet[]
References scActorPark(), scActorPopUp(), scMarsLighthouseEntranceCrackHiddenCircleIceSheet() and Sint32.
Referenced by scMarsLighthouseEntranceShootFireballAtHiddenCircleIceSheet().
Definition at lines 1751 and 2507 of file mars_lighthouse_entrance.c.
MarsLighthouseEntranceFireballThroughIce
extern Sint32 MarsLighthouseEntranceFireballThroughIce[]
Sint32 MarsLighthouseEntranceFireballThroughIce[]
References scActorPark(), scActorPopUp(), scMarsLighthouseEntranceMeltIceInPath() and Sint32.
Referenced by scMarsLighthouseEntranceShootFireballThroughIce().
Definition at lines 1752 and 2520 of file mars_lighthouse_entrance.c.
MarsLighthouseEntranceFireballToIceSheet
extern Sint32 MarsLighthouseEntranceFireballToIceSheet[]
Sint32 MarsLighthouseEntranceFireballToIceSheet[]
References scActorPark(), scActorPopUp(), scMarsLighthouseEntranceCrackIceSheet() and Sint32.
Referenced by scMarsLighthouseEntranceShootFireballAtIceSheet().
Definition at lines 1753 and 2535 of file mars_lighthouse_entrance.c.
FieldEffectDurationScripts
extern Sint32 FieldEffectDurationScripts[]
Sint32 FieldEffectDurationScripts[]
References FieldEffectLongScript, FieldEffectMediumScript, FieldEffectShortScript and Sint32.
Referenced by fdEffectSpawnResident(), scFieldEffectSpawn() and scFieldEffectSpawnLocal().
Definition at lines 2069 and 3411 of file mars_lighthouse_entrance.c.
MarsLighthouseEntranceWestFlameThrowerRoute
Sint32 MarsLighthouseEntranceWestFlameThrowerRoute[]
The flame chamber's two moving dragon heads, each sliding along the north wall and pausing at each end.
References Sint32.
Referenced by MarsLighthouseEntrancePlacements.
Definition at line 2234 of file mars_lighthouse_entrance.c.
MarsLighthouseEntranceEastFlameThrowerRoute
Sint32 MarsLighthouseEntranceEastFlameThrowerRoute[]
References Sint32.
Referenced by MarsLighthouseEntrancePlacements.
Definition at line 2247 of file mars_lighthouse_entrance.c.
MarsLighthouseBalmFlameThrowerRoute
Sint32 MarsLighthouseBalmFlameThrowerRoute[]
The dragon head in Balm's rooms, raised on its wall, sliding back and forth above the urn torch.
References Sint32.
Referenced by MarsLighthouseBalmPlacements.
Definition at line 2261 of file mars_lighthouse_entrance.c.
MarsLighthouseDragonFaceWestFlameThrowerRoute
Sint32 MarsLighthouseDragonFaceWestFlameThrowerRoute[]
The dragon face rooms' dragon heads: the one on the south circle's room's wall slides back and forth over the urn torch; the long hall's dragon face stays raised on its wall until it wakes.
References Sint32.
Referenced by MarsLighthouseDragonFacePlacements.
Definition at line 2279 of file mars_lighthouse_entrance.c.
MarsLighthouseDragonFaceEastFlameThrowerRoute
Sint32 MarsLighthouseDragonFaceEastFlameThrowerRoute[]
References Sint32.
Referenced by MarsLighthouseDragonFacePlacements.
Definition at line 2299 of file mars_lighthouse_entrance.c.
MarsLighthouseEntranceTorchScript
Sint32 MarsLighthouseEntranceTorchScript[]
References scMarsLighthouseEntranceSetUpTorch() and Sint32.
Referenced by MarsLighthouseBalmPlacements, MarsLighthouseDragonFacePlacements, MarsLighthouseEntrancePlacements and MarsLighthouseHiddenCirclePlacements.
Definition at line 2557 of file mars_lighthouse_entrance.c.
SceneEntrances
SCENE_ENTRANCE SceneEntrances[]
Referenced by scGetEntrances().
Definition at line 2562 of file mars_lighthouse_entrance.c.
SceneExits
Uint32 SceneExits[]
Referenced by scGetExits().
Definition at line 2567 of file mars_lighthouse_entrance.c.
MarsLighthouseEntranceIceConeScript
Sint32 MarsLighthouseEntranceIceConeScript[]
References Sint32.
Referenced by MarsLighthouseBalmPlacements, MarsLighthouseDragonFacePlacements, MarsLighthouseEntrancePlacements and MarsLighthouseIceShaftPlacements.
Definition at line 2752 of file mars_lighthouse_entrance.c.