include/scene/mars_lighthouse_entrance.h
Mars Lighthouse's entrance: its scripts of fireballs, ice and teleport circles, and the teleport and cracked-tile functions other scenes keep a copy of and declare from here.
Included by anemos_inner_sanctum.c, islets.c and mars_lighthouse_entrance.c.
Functions
| Name | Description | |
|---|---|---|
void | scMarsLighthouseEntranceBlazeTorch (void) | The main hall and the dead-end room up its stairs: the west torch's fireball cracks the big sheet of ice, and Felix examines the shaft of ice. |
void | scMarsLighthouseEntranceShootFireballAtIceSheet (void) | The main hall's west torch sends its fireball east for the big sheet of ice. |
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. |
void | scMarsLighthouseEntranceDrawCrackedSheet (void) | Draws the main hall's big sheet of ice cracked, on both floors. |
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 | scMarsLighthouseEntranceBlockRetreatAtChest (void) | The Teleport Lapis chest and its north circle. |
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 | scMarsLighthouseEntranceShootBalmFireball (void) | Balm's rooms, the hidden circle among the stone posts and the rooms beyond the first black ice: the two urn torches' fireballs crack one sheet of ice and melt the way south, and Reveal shows the hidden circle. |
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 | 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. |
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 | scMarsLighthouseEntranceShootFireballAtHiddenCircleIceSheet (void) | The west urn torch's fireball sets off east for the sheet of ice. |
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 | scMarsLighthouseEntranceShootFireballThroughIce (void) | The urn torch under the dragon face sends its fireball 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 | scMarsLighthouseEntranceMeltIceInPath (void) | The east torch's fireball melts the ice in its path and opens the way south to the doorway. |
void | scMarsLighthouseEntranceWakeDragonFace (void) | The dragon face's rooms: the face wakes as Felix steps onto the long hall's black ice, its fireballs roll along the hall and carry him off if they hit him, and two circles join the rooms. |
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 | scMarsLighthouseEntranceClearFireballRow (void) | The fireball in the dragon face rooms' long hall has passed: the metatiles of its row are cleared. |
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. |
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 | 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. |
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 | scMarsLighthouseEntranceStartPoundIceCone (Sint32 phase, Sint32 frame) | The ice cones Pound beats into the floor, and the one a fireball flings away. |
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 | scMarsLighthouseEntranceFlingIceCone (struct ACTOR *actor) | An ice cone the dragon face's fireball reaches spins and flies off east, shrinking. |
void | scMarsLighthouseEntranceFallThroughCrack ( const struct MAP_METATILE *metatile) | The cracked floor: Felix drops through a crack, the hole's mask hiding him as he sinks. |
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 | scCrackedTileCrack (METATILE_TARGET *table, METATILE_TARGET_ENTRY *entry) | Cracks the tile under the leader, swapping in its cracked picture. |
Sint32 | fdLeaderKnockBack (void) | The leader is thrown back by the flames that struck them (shared/leader_knock_back.c). |
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 | scActorRollAndCrumble (struct ACTOR *actor) | A fireball rolls forward, breaking the ice in the metatiles around it, and carries the leader along if it hits him. |
Sint32 | scFlameThrowersHasHitLeader (void) | The flame throwers and their flames. |
void | scFlameThrowerSendForward (Sint32 *pos, Sint32 speed, Sint32 offScreen) | A flame thrower's flame sent forward, backward, east or west from pos at speed (shared/flame_thrower_send_*.c); offScreen keeps its sprite's picture loaded out of sight. |
void | scFlameThrowerSendBackward (Sint32 *pos, Sint32 speed, Sint32 offScreen) | A flame thrower's flame (FLAME_BACKWARD), sent north from pos at speed (scFlameUpdateForward); offScreen keeps its sprite's picture loaded out of sight. |
void | scFlameThrowerSendEast (Sint32 *pos, Sint32 speed, Sint32 offScreen) | A flame thrower's flame (FLAME_EAST), sent east from pos at speed (scFlameUpdateSideways); offScreen keeps its sprite's picture loaded out of sight. |
void | scFlameThrowerSendWest (Sint32 *pos, Sint32 speed, Sint32 offScreen) | A flame thrower's flame (FLAME_WEST), sent west from pos at speed (scFlameUpdateSideways); offScreen keeps its sprite's picture loaded out of sight. |
void | scLeaderSlideOnIceFromEdge (void) | The leader's slide across the ice. |
void | fdLeaderSlideOnIce (void) | The leader slides metatile by metatile over ice until something stops them: a wall, ground more than 8 pixels up, a solid actor, or the end of the ice. |
void | fdLeaderSlideOnIceAhead (void) | The leader slides metatile by metatile over ice the way they face, turned to the nearest cardinal, until a wall, ground more than 8 pixels up, a solid actor or the end of the ice stops them. |
void | scLeaderSetSlideStopped (Sint32 stopped) | Stops the leader's slide on the ice where it is (nonzero), or lets it run. |
void | fdLeaderStopIfPending (void) | Stops the leader while an action waits. |
void | scTeleportStartShimmer (void) | The teleport circles' shimmer, and the leader's arrival on one. |
void | scTeleportStopShimmer (void) | Stops the shimmer, leaving the next transition a backdrop fade. |
void | scTeleportArriveWhirling (void) | The party arrives by Teleport on the circle: the room fades in grey while the circle shimmers and the whirl plays, then its colours come back. |
Bool | fdActorIsTouching (struct ACTOR *a, struct ACTOR *b) | Helpers the scene shares with others (shared/). |
Bool | fdActorIsBeside (struct ACTOR *a, struct ACTOR *b) | 1 when two actors stand side by side. |
Sint32 | scListCountEntries (Uint16 *list) | The number of entries in a list of palette slots ended by PALETTE_LIST_END, less one. |
void | fdPaletteCycleFade (void) | Steps a palette cycle that fades as it slows. |
void | fdActorSetMetatileOpen (Sint32 id, Uint32 kind, Sint32 flag, Sint32 layer) | A stake as its flag leaves it: driven down by Pound, its metatile is open ground and it is drawn underfoot, sunk to its top; still standing, its metatile is a wall. |
Description
Mars Lighthouse's entrance: its scripts of fireballs, ice and teleport circles, and the teleport and cracked-tile functions other scenes keep a copy of and declare from here.
Functions in detail
fdLeaderKnockBack
Sint32 fdLeaderKnockBack(void)
The leader is thrown back by the flames that struck them
(shared/leader_knock_back.c).
Referenced by MarsLighthouseEntranceCues, MarsLighthouseTowersJupiterTowerCues, MarsLighthouseTowersMarsTowerCues, MarsLighthouseTowersMercuryTowerCues, MarsLighthouseTowersVenusTowerCues, scMarsLighthouseEntranceKnockBackIfHit(), scMarsLighthouseHallKnockBackIfHit(), scMarsLighthouseStarRoomKnockBackIfHit() and scMarsLighthouseTowersKnockBackIfHit().
Definition at line 72 of file mars_lighthouse_entrance.h.