src/scene/lemurian_ship.c
The Lemurian Ship below deck, at the East Indra Shore, in two scenes (SceneIdLemurianShipCabins and SceneIdLemurianShipAquaHydra) whose rooms are told apart by the entrance used. More…
#include "graphics/palette_buffers.h"#include "field/field_state.h"#include "field/field.h"#include "game/game.h"#include "scene/lemurian_ship.h"#include "field/field_sprite.h"#include "field/script_inline.h"#include "edition.h"#include "macros.h"#include "field/actor_script.h"#include "item_ids.h"#include "text/msg_ids.h"#include "shared/leader_walk_through_door_script.c"
Macros
| Name | Description | |
|---|---|---|
#define | FLAG_JELLIES_BEATEN 0x930 | The first, by LEMURIAN_SHIP_JELLY. |
#define | FLAG_AQUA_HYDRA_BEATEN (FLAG_JELLIES_BEATEN + JELLY_AQUA_HYDRA) | The Aqua Hydra's, among the jellies' flags. |
#define | FLAG_PILLAR_WAY_OPEN 0x982 | Both pillars sank, the way opened. |
#define | FLAG_SHIP_ENGINE_RUNNING 0x983 | The Black Crystal is set. |
#define | FLAG_HOLD_PARCHED 0x9e4 | Parch dried the flooded hold. |
#define | FLAG_CRATE_DROPPED FLAG_SCENE_TEMP(0x00) | The tall crate fell off the ledge by the stairs. |
#define | FLAG_JELLY_FLED FLAG_SCENE_TEMP(0x01) | The frightened jelly ran. |
#define | FLAG_RIGHT_PILLAR_SUNK FLAG_SCENE_TEMP(0x02) | The right pillar sank into the floor on its tile. |
#define | FLAG_LEFT_PILLAR_SUNK FLAG_SCENE_TEMP(0x03) | The left pillar sank into the floor on its tile. |
#define | FLAG_RIGHT_PILLAR_FULL FLAG_SCENE_TEMP(0x04) | Douse filled the right pillar. |
#define | FLAG_LEFT_PILLAR_FULL FLAG_SCENE_TEMP(0x05) | Douse filled the left pillar. |
#define | FLAG_LIFT_LOWERED FLAG_SCENE_TEMP(0x07) | The lever took the lift down. |
#define | FLAG_PUDDLE_FROZEN FLAG_SCENE_TEMP(0x10) | The first, by LEMURIAN_SHIP_JELLY: Frost froze the jelly's puddle. |
#define | FLAG_RIGHT_PILLAR_PUDDLE_FROZEN | The pillar room's puddles share the room of two jellies' puddle rows (LemurianShipTwoJellyRoomPuddles) and so its flags: Frost froze the puddle on the pillar. |
#define | FLAG_LEFT_PILLAR_PUDDLE_FROZEN | |
#define | FLAG_JELLY_MELTING FLAG_SCENE_TEMP(0x20) | The first, by LEMURIAN_SHIP_JELLY: the jelly was just beaten and melts on arrival. |
#define | FLAG_FIGHTING_JELLY FLAG_AREA_TEMP(0x00) | The first, by LEMURIAN_SHIP_JELLY: the battle with the jelly is on. |
#define | CABIN_DOOR_COUNT 10 | The cabin doors (LemurianShipDoors). |
#define | LOWER_DOOR_COUNT 4 | The lower deck's doors (LemurianShipLowerDoors); the hold's two doors follow, as they open while it is flooded. |
#define | OVERHEAD_LAYER_ROW 60 | The ship's maps keep their overhead layer 60 rows south of the ground's. |
#define | scLemurianShipDrawLiftLowered () | The lift in the room of six jellies, its 3 by 3 metatiles at (50, 64) drawn lowered from spare metatiles at (68, 68) or raised from (72, 68). |
#define | scLemurianShipDrawLiftRaised () | |
#define | scLemurianShipDrawDoorwayOpen () | The arched doorway at the top of the room of two pillars, its 3 by 2 metatiles at (31, 64) drawn open from spare metatiles at (4, 124) or closed from (7, 124). |
#define | scLemurianShipDrawDoorwayClosed () | |
#define | DEFINE_JELLY_BATTLE (name, firstJelly, firstActor) | Defines what talking to an Aqua Jelly does: it turns to Felix and quivers, and a battle starts that cannot be run from, its jelly's FLAG_FIGHTING_JELLY flag set (the room's first jelly firstJelly is actor firstActor). |
#define | DEFINE_DOUSE_PILLAR (name, pillar, fullFlag) | Defines what Douse on a hollow pillar does: rain fills it, its fullFlag is set, and it sinks if it stands on its tile marked with a drop of water. |
#define | DEFINE_RAISE_PILLAR (name, pillar, loweredFlag, fullFlag, column) | Defines a sunk pillar rising once its water is gone: its loweredFlag and fullFlag are cleared, it rises 16 pixels with a chime and a thump, its metatile in column column is solid again, and the arched doorway closes. |
#define | DEFINE_SET_UP_PUDDLE (name, priority) | Defines an actor setup that keeps a frozen puddle flat on the floor, drawn at sprite priority priority. |
#define | WADE_ROW (row) ((row) + OVERHEAD_LAYER_ROW) | A row of the flooded hold (the hold's copy 19 rows south) on the overhead layer. |
#define | scLemurianShipTakeSpareMetatile (spare, x, z) | Gives the metatile at (x, z) the behaviour, flags and height of a spare metatile. |
#define | PLACE_ON_LOWER_FLOOR (id, x, z) | Places a puddle on the lower floor, where its jelly sat. |
#define | FLAG_LEDGE_EDGE_FLOORED 0x8 | Would floor over the ledge's edge, metatile (16, 46), as the crate's fall does; no code of the game sets it, so on entering the room that metatile is always the map's own, 32 pixels down. |
#define | HALFWORDS (low, high) ((Sint32)(((Uint32)(high) << 16) | (Uint16)(low) … | Two halfwords of a scene table row the header declares as words, the first in the low half. |
#define | ENTRANCE_WORDS (entrance, x, y, z, facing, left, top, right, bottom) | A SCENE_ENTRANCE row as six words: the entrance, at (x, y, z) facing facing, its camera box from (left, top) to (right, bottom). |
#define | ENTRANCE_WORDS_END HALFWORDS(SCENE_TABLE_END, 0), 0, 0, 0, 0, 0 | The SCENE_TABLE_END row of an entrance table, as six words. |
#define | REGION_WORDS (minX, minY, minZ, maxX, maxY, maxZ, exit) | A SCENE_REGION row as four words: the box from (minX, minY, minZ) to (maxX, maxY, maxZ) that leaves by exit. |
#define | REGION_WORDS_END HALFWORDS(SCENE_TABLE_END, 0), 0, 0, 0 | The SCENE_TABLE_END row of a region table, as four words. |
Enumerations
| Name | Description | |
|---|---|---|
enum | LEMURIAN_SHIP_TWO_JELLY_ROOM_ACTOR_ID { ACTOR_TWO_JELLY_ROOM_JELLY_A, ACTOR_TWO_JELLY_ROOM_JELLY_B, … } | The Lemurian Ship's room of two jellies, by the rows of LemurianShipTwoJellyRoomPlacements. |
enum | LEMURIAN_SHIP_SIX_JELLY_ROOM_ACTOR_ID { ACTOR_SIX_JELLY_ROOM_CRATE, ACTOR_SIX_JELLY_ROOM_JELLY_A, AC … } | The Lemurian Ship's room of six jellies and the lift, by the rows of LemurianShipSixJellyRoomPlacements. |
enum | LEMURIAN_SHIP_LEDGE_ROOM_ACTOR_ID { ACTOR_LEDGE_CRATE } | The Lemurian Ship's room of the crate on the ledge, by the rows of LemurianShipLedgeRoomPlacements. |
enum | LEMURIAN_SHIP_PIPE_ROOM_ACTOR_ID { ACTOR_PIPE_ROOM_CRATE, ACTOR_PIPE_ROOM_JELLY_A, ACTOR_PIPE_R … } | The Lemurian Ship's room of the pipes, by the rows of LemurianShipPipeRoomPlacements. |
enum | LEMURIAN_SHIP_HOLD_ACTOR_ID { ACTOR_HOLD_JELLY_A, ACTOR_HOLD_JELLY_B, ACTOR_HOLD_JELLY_C, … } | The Lemurian Ship's hold, where the jellies gather into the Aqua Hydra, by the rows of LemurianShipHoldPlacements; the party's rows go to their slots. |
enum | LEMURIAN_SHIP_PILLAR_ROOM_ACTOR_ID { ACTOR_RIGHT_PILLAR, ACTOR_LEFT_PILLAR, ACTOR_RIGHT_PILLAR_PU … } | The Lemurian Ship's room of the two pillars Douse fills, by the rows of LemurianShipPillarRoomPlacements. |
enum | LEMURIAN_SHIP_ENGINE_ROOM_ACTOR_ID { ACTOR_ENGINE_ROOM_KRADEN } | The Lemurian Ship's engine room, by the rows of LemurianShipEngineRoomPlacements; the party's rows go to their slots. |
enum | LEMURIAN_SHIP_JELLY { JELLY_TWO_JELLY_ROOM_A, JELLY_TWO_JELLY_ROOM_B, JELLY_SIX_JE … } | Each Aqua Jelly by its number, and last the Aqua Hydra they become: the offset of its flags from FLAG_JELLIES_BEATEN, FLAG_JELLY_MELTING, FLAG_PUDDLE_FROZEN and FLAG_FIGHTING_JELLY. |
enum | LEMURIAN_SHIP_ENCOUNTER { ENCOUNTER_AQUA_JELLY, ENCOUNTER_AQUA_HYDRA } | The battles below deck by their slot of ENCOUNTER_ZONE_AQUA_JELLIES: an Aqua Jelly, or the Aqua Hydra. |
enum | LEMURIAN_SHIP_RAISED_CUE { RAISED_RIGHT_PILLAR, RAISED_LEFT_PILLAR } | The pillar room's raised cues: a pillar's puddle has dried, and the pillar rises. |
enum | LEMURIAN_SHIP_CABINS_ENTRANCE { ENTRANCE_LOGBOOK_ROOM_FROM_TWO_JELLY_ROOM, ENTRANCE_TWO_JELL … } | The cabins' entrances from within the scene, by the room each opens into and the room it leads from; scene_exits.h names those from the main deck and the lower deck. |
enum | LEMURIAN_SHIP_LOWER_DECK_ENTRANCE { ENTRANCE_PILLAR_ROOM_FROM_CORRIDOR, ENTRANCE_CORRIDOR_FROM_P … } | The lower deck's entrances from within the scene: the pillar room, the corridor beyond it and the engine room. |
enum | LEMURIAN_SHIP_CABINS_EXIT { EXIT_LOGBOOK_ROOM_TO_TWO_JELLY_ROOM, EXIT_TWO_JELLY_ROOM_TO_ … } | The cabins' exits within the scene, by the room each leaves and the room it leads to, as their entrances are named; scene_exits.h names those to the main deck and the lower deck. |
enum | LEMURIAN_SHIP_LOWER_DECK_EXIT { EXIT_PILLAR_ROOM_TO_CORRIDOR, EXIT_CORRIDOR_TO_PILLAR_ROOM, … } | The lower deck's exits within the scene. |
enum | LEMURIAN_SHIP_METATILE_BEHAVIOR { METATILE_BEHAVIOR_LIFT_LEVER, METATILE_BEHAVIOR_LIFT_EAST, M … } | The metatile behaviors the cabins' and the hold's cues answer. |
enum | SINKING_PILLAR_ANIMATION { SINKING_PILLAR_EMPTY, SINKING_PILLAR_FULL, SINKING_PILLAR_SU … } | The sinking pillar's sprite sheet's animations: hollow and empty, full of water, and sunk into the floor to its watery rim. |
enum | anonymous enum { SPARE_SUNK_PUSH_FLOOR, SPARE_SUNK_JUMP_FLOOR, SPARE_LEVEL_FL … } | Spare metatiles in the map's top row whose behaviour, flags and height a beaten jelly's cells take: the floor 32 pixels down with MAP_METATILE_PUSH for the cell the jelly sat on; the same with MAP_METATILE_JUMP, a gap the leader jumps across, for the cells around it; and level floor with no flags for the cell of a jelly in the room of the pipes. |
Functions
| Name | Description | |
|---|---|---|
Uint8 * | scGetEntrances (void) | Where the party can enter: the cave under the spring has its own entrances. |
Uint8 * | 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. |
void | scLemurianShipLeapIntoHydra (Sint32 id) | A jelly in the hold leaps into the middle of it, where the Aqua Hydra forms. |
void | scLemurianShipCheckPillarsOnDropTiles (void) | In the room of two pillars, a pillar full of water that stands on its tile marked with a drop of water, metatile (35, 9) for the right one and (29, 9) for the left, sinks slowly into the floor with a rumble. |
void | scLemurianShipSetUpPuddle (Sint32 id) | Keeps a frozen puddle flat on the floor, drawn at sprite priority 1. |
void | scLemurianShipSetUpLowPuddle (Sint32 id) | Keeps a frozen puddle flat on the floor, drawn at sprite priority 2. |
void | scLemurianShipJellyFlees (void) | The jelly by the lift startles, jumps and flees down the lift. |
void | scLemurianShipSetBlackCrystal (void) | Felix walks into the engine room for the first time: Piers steps up to the pedestal, "How did all these monsters get on board?", and sets the Black Crystal in it. |
ACTOR_PLACE * | scGetActorPlacements (void) | The scene's actor placements: a room of names for its entrance, else the debug room's. |
void | scLemurianShipOpenDoor (void) | Felix walks north into one of the cabins' wooden doors: it swings open, he steps through, and the screen closes and opens on the room beyond. |
void | scLemurianShipOpenLowerDoor (void) | Felix walks north into one of the two doors at the top of the hold, metatiles (4, 4) and (10, 4): it swings open and he steps through. |
void | scLemurianShipWalkIntoPassage (void) | Once both pillars have sunk, Felix walks north into an arched doorway of the lower deck and shrinks away into the passage as the screen closes: the one at the top of the room of two pillars, metatile (32, 6), or the corridor's doorway into the engine room. |
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 | scLemurianShipExamineLiftSwitch (void) | Felix checks the lever beside the lift in the room of six jellies, metatile (53, 3): before the engine runs, "There's no reaction... |
void | scLemurianShipLiftCrate (void) | Nothing visible happens as Felix starts to Move or push the tall crate in the room of six jellies or the room of the pipes; the game takes the crate up so that it can slide (fdActorLiftTargetBlock). |
void | scLemurianShipSetDownCrate (void) | Felix slides the tall crate one metatile with Move or a push, in the room of six jellies or the room of the pipes; it stays where it stops, so that the frozen puddles and the crate make a row to jump along. |
void | scLemurianShipLiftLedgeCrate (void) | Nothing visible happens as Felix starts to Move or push the tall crate on the ledge by the stairs; the game takes the crate up so that it can slide. |
void | scLemurianShipPushCrateOffLedge (void) | Felix slides the tall crate along the ledge by the stairs with Move or a push. |
void | scLemurianShipFreezeTwoJellyRoomPuddle (void) | Felix casts Frost on the puddle a jelly left in the first room below deck: it freezes into a pillar of ice he can jump onto, the way to the room's chest. |
void | scLemurianShipFreezeSixJellyRoomPuddle (void) | Felix casts Frost on a puddle a jelly left in the room of six jellies: it freezes into a pillar of ice to jump along. |
void | scLemurianShipFreezeLiftPuddle (void) | Felix casts Frost on the puddle the frightened jelly left beside the lift in the room of six jellies: it freezes into ice that keeps the lift up, so that stepping onto it no longer drops it. |
void | scLemurianShipFreezePipeRoomPuddle (void) | Felix casts Frost on a puddle a jelly left in the room of the pipes: it freezes into a pillar of ice to jump along. |
void | scLemurianShipStepOnLift (void) | Felix steps onto the grated lift at the top right of the room of six jellies from the east, metatile (52, 4), before the engine runs and before its puddle is frozen: the lift shudders and sinks, Felix jumps back off, and it comes back up with a crunch. |
void | scLemurianShipStepOnLiftWestSide (void) | Felix steps onto the grated lift from its west side, metatile (50, 4), before the engine runs and before its puddle is frozen: as from the east, the lift shudders and sinks, Felix jumps back off, and it comes back up with a crunch. |
DEFINE_JELLY_BATTLE( | scLemurianShipFightTwoJellyRoomJelly , JELLY_TWO_JELLY_ROOM_A, ACTOR_TWO_JELLY_ROOM_JELLY_A) | Felix talks to an Aqua Jelly in the first room below deck: it turns to him and quivers, and a battle starts that cannot be run from. |
DEFINE_JELLY_BATTLE( | scLemurianShipFightSixJellyRoomJelly , JELLY_SIX_JELLY_ROOM_A, ACTOR_SIX_JELLY_ROOM_JELLY_A) | The same for an Aqua Jelly in the room of six jellies. |
DEFINE_JELLY_BATTLE( | scLemurianShipFightPipeRoomJelly , JELLY_PIPE_ROOM_A, ACTOR_PIPE_ROOM_JELLY_A) | The same for an Aqua Jelly in the room of the pipes. |
void | scLemurianShipFightAquaHydra (void) | Felix talks to the jelly in the middle of the hold: the five around it quiver, cry out and leap into it, and it swells into the Aqua Hydra, whose battle cannot be run from. |
void | scLemurianShipLiftPillar (void) | Nothing visible happens as Felix starts to Move or push one of the two pillars; the game takes it up so that it can slide. |
void | scLemurianShipSetDownPillar (void) | Felix slides one of the two pillars a metatile with Move or a push. |
DEFINE_DOUSE_PILLAR( | scLemurianShipDouseRightPillar , ACTOR_RIGHT_PILLAR, FLAG_RIGHT_PILLAR_FULL) | Felix casts Douse on the hollow white pillar on the right of the room of two pillars: rain falls into it and it fills with water, ready to sink once it stands on the tile marked with a drop of water. |
DEFINE_DOUSE_PILLAR( | scLemurianShipDouseLeftPillar , ACTOR_LEFT_PILLAR, FLAG_LEFT_PILLAR_FULL) | Felix casts Douse on the left pillar of the room of two pillars, once it has risen again: it fills with water, ready to sink on its tile. |
void | scLemurianShipShowRightPillarPuddle (void) | Felix casts Frost on the water in the right pillar after it has sunk: the water, unseen until now, shows as it freezes into a pillar of ice. |
void | scLemurianShipShowLeftPillarPuddle (void) | Felix casts Frost on the water in the sunk left pillar, metatile (29, 9): the water, unseen until now, shows as it freezes into a pillar of ice above the sunk pillar. |
DEFINE_RAISE_PILLAR( | scLemurianShipRaiseRightPillar , ACTOR_RIGHT_PILLAR, FLAG_RIGHT_PILLAR_SUNK, FLAG_RIGHT_PILLAR_FULL, 35) | Felix casts Parch on the water standing in the sunk right pillar, not frozen: it dries up in a white flash, and the pillar rises out of the floor with a chime and a thump, and the arched doorway closes again. |
DEFINE_RAISE_PILLAR( | scLemurianShipRaiseLeftPillar , ACTOR_LEFT_PILLAR, FLAG_LEFT_PILLAR_SUNK, FLAG_LEFT_PILLAR_FULL, 29) | The same for the sunk left pillar. |
void | scLemurianShipParchHold (void) | Felix casts Parch in the flooded hold: the water dries up, and the chest the flood had kept out of reach, with its Mist Potion, can be opened. |
void | scLemurianShipStartParch (void) | Nothing visible happens as Felix begins to cast Parch in the flooded hold; the game settles any actions still pending before scLemurianShipParchHold dries it. |
void | scLemurianShipKeepSixJellyRoomPuddles (void) | Keeps the room of six jellies' puddles flat on the floor. |
void | scLemurianShipKeepPipeRoomPuddles (void) | Keeps the room of the pipes' puddles flat on the floor. |
void | scLemurianShipKeepPillarRoomPuddles (void) | Keeps the pillar room's two puddles flat on the floor. |
void | scLemurianShipRippleAroundLeader (void) | An event: in the flooded hold, draws the water rippling around Felix as he wades. |
void | scLemurianShipWatchPillarPuddles (void) | An event: once the water on a sunk pillar is gone (its puddle is no longer placed), the pillar rises again. |
void | scLemurianShipDrawLightToOrb (void) | An event: as Piers sets the Black Crystal, glints of light drift in from around the pedestal toward it. |
void | scLemurianShipMeltJellyIntoPuddle (Sint32 jelly, Sint32 puddle) | Back from a battle with an Aqua Jelly, the jelly melts away where it stood and a puddle spreads in its place. |
void | scLemurianShipScareJellyOnArrival (void) | Felix comes into the room of six jellies while the jelly by the lift is unbeaten: it takes fright, jumps and flees down the lift. |
void | scLemurianShipScareJelly (void) | Felix steps near the jelly by the lift, metatile (54, 5), while it is unbeaten and back up: it takes fright and flees down the lift again. |
void | scLemurianShipFloodHold (void) | Back from beating the Aqua Hydra, the party stands in the flooded hold; a sound plays and the game waits two seconds before Felix can move. |
void | scLemurianShipSetUpTwoJellyRoom (void) | The first room below deck: its two jellies, or the puddles they left, and a jelly just beaten melting into its puddle. |
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) | Back from a battle below deck: a jelly whose battle was won (its one enemy defeated) is marked beaten and melts into its puddle as the room appears. |
void | scLemurianShipSetUpLowerFloorJelly (Sint32 id) | Sets a jelly up on the room of six jellies' lower floor, 32 pixels down. |
void | scLemurianShipSetUpSixJellyRoom (void) | The room of six jellies: its crate, its jellies, and the puddles of those beaten. |
void | scLemurianShipMatchCratePriority (void) | An event: draws the ledge crate at the leader's sprite priority. |
void | scLemurianShipSetUpLedgeRoom (void) | The room of the crate on the ledge. |
void | scLemurianShipSetUpJelly (Sint32 id) | Sets a jelly up on the floor. |
void | scLemurianShipSetUpPipeRoom (void) | The room of the pipes: each beaten one leaves a puddle and opens its metatile. |
void | scLemurianShipSetUpStairRoom (void) | The stair room: once the engine runs, its stairs are open. |
void | scLemurianShipSetUpHold (void) | The hold of the Aqua Hydra: once it is beaten the hold is flooded, and once Parch has dried it the chest lies on dry floor. |
void | scLemurianShipSetUpPillarRoom (void) | The room of the two pillars Douse fills, as the player left them. |
void | scLemurianShipSetUpEngineRoom (void) | The engine room: until the engine runs, Piers sets the Black Crystal as the party arrives. |
Variables
| Name | Description | |
|---|---|---|
extern SCENE_ENTRANCE | LemurianShipAquaHydraEntrances [] | The lower deck's entrances. |
extern Sint32 | LemurianShipJellyMelts [] | A beaten jelly melting away: it sinks flat over a second and is put away. |
extern Sint32 | LemurianShipPuddleSpreads [] | The puddle spreading where the jelly melted. |
extern Sint32 | LemurianShipHydraForms [] | The Aqua Hydra forming out of the gathered jellies, growing in pulses. |
extern Sint16 | LemurianShipCrate [] | The tall crate Move and a push take up, by actor id: the first placed actor of each room that has one. |
extern Sint16 | LemurianShipTwoJellyRoomPuddles [] | The room of two jellies' puddles, by actor id and flag. |
extern Sint16 | LemurianShipSixJellyRoomPuddles [] | The room of six jellies' puddles, by actor id and flag. |
extern Sint16 | LemurianShipPipeRoomPuddles [] | The room of the pipes' puddles, by actor id and flag. |
extern Sint16 | LemurianShipPillars [] | The two pillars Move and a push take up, by actor id. |
extern Uint32 | LemurianShipLightToOrb [] | A glint drifting in to the orb, gone as it arrives. |
extern ACTOR_PLACE | LemurianShipLedgeRoomPlacements [] | The ledge room's actors, by LEMURIAN_SHIP_LEDGE_ROOM_ACTOR_ID. |
extern ACTOR_PLACE | LemurianShipPipeRoomPlacements [] | The room of the pipes' actors, by LEMURIAN_SHIP_PIPE_ROOM_ACTOR_ID. |
extern CUE | LemurianShipLedgeRoomCues [] | The ledge room's cues. |
extern CUE | LemurianShipHoldCues [] | The hold's cues. |
extern CUE | LemurianShipPillarRoomCues [] | The pillar room's cues. |
Uint32 | LemurianShipPiersToPedestal [] | Piers walking up to the Black Crystal's pedestal. |
Uint32 | LemurianShipShebaStepsUp [] | Sheba stepping up beside Piers. |
Uint32 | LemurianShipJennaStepsUp [] | Jenna stepping up beside Piers. |
Uint32 | LemurianShipKradenStepsUp [] | Kraden stepping up beside Piers. |
Sint32 | LemurianShipEntrances [] | The tables for any scene but the two: one entrance, no actors and no cues. |
Uint32 | LemurianShipCabinsEntrances [] | The cabins' entrances. |
Uint32 | LemurianShipCabinsRegions [] | The cabins' exit regions. |
Uint32 | LemurianShipAquaHydraRegions [] | The lower deck's exit regions. |
Uint32 | SceneExits [] | The room has no exits of its own. |
ACTOR_PLACE | LemurianShipPlacements [] | For any scene but the two: no actors. |
ACTOR_PLACE | LemurianShipTwoJellyRoomPlacements [] | The room of two jellies' actors, by LEMURIAN_SHIP_TWO_JELLY_ROOM_ACTOR_ID. |
ACTOR_PLACE | LemurianShipSixJellyRoomPlacements [] | The room of six jellies' actors, by LEMURIAN_SHIP_SIX_JELLY_ROOM_ACTOR_ID. |
ACTOR_PLACE | LemurianShipHoldPlacements [] | The hold's actors, by LEMURIAN_SHIP_HOLD_ACTOR_ID. |
ACTOR_PLACE | LemurianShipPillarRoomPlacements [] | The pillar room's actors, by LEMURIAN_SHIP_PILLAR_ROOM_ACTOR_ID. |
ACTOR_PLACE | LemurianShipEngineRoomPlacements [] | The engine room's actors, by LEMURIAN_SHIP_ENGINE_ROOM_ACTOR_ID. |
Sint16 | LemurianShipDoorOpening [] | How a ship's door swings open, as three ticks of metatiles copied over the closed door, ended by -1 (MAP_EDIT_STEPS_END). |
Sint16 | LemurianShipFirstDoorOpening [] | How the logbook room's door swings open, in two ticks. |
LEMURIAN_SHIP_WARP | LemurianShipDoors [CABIN_DOOR_COUNT] | The cabin doors, by the step cue that opens each. |
LEMURIAN_SHIP_WARP | LemurianShipLowerDoors [LOWER_DOOR_COUNT + 2] | The lower deck's doors, by the step cue that opens each, then the hold's two doors while it is flooded, which scLemurianShipOpenLowerDoor finds by the dry hold's. |
CUE | LemurianShipCues [] | For any scene but the two: no cues. |
CUE | LemurianShipCabinCues [] | The cabins' cues. |
CUE | LemurianShipTwoJellyRoomCues [] | The room of two jellies' cues. |
CUE | LemurianShipSixJellyRoomCues [] | The room of six jellies' cues. |
CUE | LemurianShipPipeRoomCues [] | The room of the pipes' cues. |
CUE | LemurianShipLowerDeckCues [] | The lower deck's cues. |
Description
The Lemurian Ship below deck, at the East Indra Shore, in two scenes
(SceneIdLemurianShipCabins and SceneIdLemurianShipAquaHydra) whose rooms are
told apart by the entrance used.
Piers leads the party down from the main deck through the captain's cabin, the room of his logbook, into rooms full of Aqua Jellies. Each jelly beaten melts into a puddle that Frost turns into a pillar of ice to jump across, and tall crates are pushed between them: two jellies in the first room, six and a crate in the room of the lift, six more and a crate among the pipes of the room after it. A jelly by the lift takes fright and flees down it; beaten below, it leaves a puddle that Frost freezes to hold the lift up. In the hold the last jelly calls the others together into the Aqua Hydra, and once it is beaten the hold floods, keeping its chest out of reach until Parch dries it on a later visit. In the room of two pillars below, the left pillar already stands sunk in its square; Douse fills the right one and Move pushes it onto the tile marked with a drop of water, where it sinks too and opens the arched doorway to the engine room. There Piers sets the Black Crystal in its pedestal and the ship sails.
Macros in detail
FLAG_JELLIES_BEATEN
#define FLAG_JELLIES_BEATEN 0x930
The first, by LEMURIAN_SHIP_JELLY.
Referenced by scLemurianShipScareJelly(), scLemurianShipScareJellyOnArrival(), scLemurianShipSetBlackCrystal(), scLemurianShipSetUpPipeRoom(), scLemurianShipSetUpSixJellyRoom(), scLemurianShipSetUpTwoJellyRoom(), scLemurianShipStepOnLift() and scPrepareMap().
Definition at line 154 of file lemurian_ship.c.
FLAG_AQUA_HYDRA_BEATEN
#define FLAG_AQUA_HYDRA_BEATEN (FLAG_JELLIES_BEATEN + JELLY_AQUA_HYDRA)
The Aqua Hydra's, among the jellies' flags.
Referenced by SceneExits, scLemurianShipOpenLowerDoor(), scLemurianShipSetBlackCrystal() and scLemurianShipSetUpHold().
Definition at line 156 of file lemurian_ship.c.
FLAG_PILLAR_WAY_OPEN
#define FLAG_PILLAR_WAY_OPEN 0x982
Both pillars sank, the way opened.
Referenced by LemurianShipPillarRoomCues, scLemurianShipCheckPillarsOnDropTiles(), scLemurianShipSetUpPillarRoom() and scLemurianShipWalkIntoPassage().
Definition at line 158 of file lemurian_ship.c.
FLAG_SHIP_ENGINE_RUNNING
#define FLAG_SHIP_ENGINE_RUNNING 0x983
The Black Crystal is set.
Referenced by SceneExits, scLemurianShipExamineLiftSwitch(), scLemurianShipSetBlackCrystal(), scLemurianShipSetUpEngineRoom(), scLemurianShipSetUpSixJellyRoom(), scLemurianShipSetUpStairRoom(), scLemurianShipStepOnLift() and scLemurianShipStepOnLiftWestSide().
Definition at line 160 of file lemurian_ship.c.
FLAG_HOLD_PARCHED
#define FLAG_HOLD_PARCHED 0x9e4
Parch dried the flooded hold.
Referenced by SceneExits, scLemurianShipOpenLowerDoor(), scLemurianShipParchHold() and scLemurianShipSetUpHold().
Definition at line 162 of file lemurian_ship.c.
FLAG_CRATE_DROPPED
#define FLAG_CRATE_DROPPED FLAG_SCENE_TEMP(0x00)
The tall crate fell off the ledge by the stairs.
Referenced by scLemurianShipPushCrateOffLedge().
Definition at line 164 of file lemurian_ship.c.
FLAG_JELLY_FLED
#define FLAG_JELLY_FLED FLAG_SCENE_TEMP(0x01)
The frightened jelly ran.
Referenced by LemurianShipSixJellyRoomCues, scLemurianShipJellyFlees() and scLemurianShipStepOnLift().
Definition at line 166 of file lemurian_ship.c.
FLAG_RIGHT_PILLAR_SUNK
#define FLAG_RIGHT_PILLAR_SUNK FLAG_SCENE_TEMP(0x02)
The right pillar sank into the floor on its tile.
Referenced by LemurianShipPillarRoomCues, scLemurianShipCheckPillarsOnDropTiles(), scLemurianShipSetUpPillarRoom() and scLemurianShipWatchPillarPuddles().
Definition at line 168 of file lemurian_ship.c.
FLAG_LEFT_PILLAR_SUNK
#define FLAG_LEFT_PILLAR_SUNK FLAG_SCENE_TEMP(0x03)
The left pillar sank into the floor on its tile.
Referenced by LemurianShipPillarRoomCues, scLemurianShipCheckPillarsOnDropTiles(), scLemurianShipSetUpPillarRoom() and scLemurianShipWatchPillarPuddles().
Definition at line 170 of file lemurian_ship.c.
FLAG_RIGHT_PILLAR_FULL
#define FLAG_RIGHT_PILLAR_FULL FLAG_SCENE_TEMP(0x04)
Douse filled the right pillar.
Referenced by LemurianShipPillarRoomCues, scLemurianShipCheckPillarsOnDropTiles() and scLemurianShipSetUpPillarRoom().
Definition at line 181 of file lemurian_ship.c.
FLAG_LEFT_PILLAR_FULL
#define FLAG_LEFT_PILLAR_FULL FLAG_SCENE_TEMP(0x05)
Douse filled the left pillar.
Referenced by LemurianShipPillarRoomCues, scLemurianShipCheckPillarsOnDropTiles() and scLemurianShipSetUpPillarRoom().
Definition at line 183 of file lemurian_ship.c.
FLAG_LIFT_LOWERED
#define FLAG_LIFT_LOWERED FLAG_SCENE_TEMP(0x07)
The lever took the lift down.
Referenced by scLemurianShipExamineLiftSwitch() and scLemurianShipSetUpSixJellyRoom().
Definition at line 185 of file lemurian_ship.c.
FLAG_PUDDLE_FROZEN
#define FLAG_PUDDLE_FROZEN FLAG_SCENE_TEMP(0x10)
The first, by LEMURIAN_SHIP_JELLY: Frost froze the jelly's puddle.
Referenced by AirsRockCliffCues, AirsRockFrozenPuddle, LemurianShipDeckMainDeckCues, LemurianShipDeckPuddles, LemurianShipPipeRoomCues, LemurianShipPipeRoomPuddles, LemurianShipSixJellyRoomCues, LemurianShipSixJellyRoomPuddles, LemurianShipTwoJellyRoomCues, LemurianShipTwoJellyRoomPuddles, scLemurianShipExamineLiftSwitch(), scLemurianShipFreezeLiftPuddle() and scLemurianShipSetUpSixJellyRoom().
Definition at line 187 of file lemurian_ship.c.
FLAG_RIGHT_PILLAR_PUDDLE_FROZEN
#define FLAG_RIGHT_PILLAR_PUDDLE_FROZEN
The pillar room's puddles share the room of two jellies' puddle rows
(LemurianShipTwoJellyRoomPuddles) and so its flags: Frost froze the puddle on
the pillar.
Referenced by LemurianShipPillarRoomCues and scLemurianShipSetUpPillarRoom().
Definition at line 191 of file lemurian_ship.c.
FLAG_LEFT_PILLAR_PUDDLE_FROZEN
#define FLAG_LEFT_PILLAR_PUDDLE_FROZEN
Referenced by LemurianShipPillarRoomCues and scLemurianShipSetUpPillarRoom().
Definition at line 193 of file lemurian_ship.c.
FLAG_JELLY_MELTING
#define FLAG_JELLY_MELTING FLAG_SCENE_TEMP(0x20)
The first, by LEMURIAN_SHIP_JELLY: the jelly was just beaten and melts on
arrival.
Referenced by scLemurianShipSetUpHold(), scLemurianShipSetUpPipeRoom(), scLemurianShipSetUpSixJellyRoom(), scLemurianShipSetUpTwoJellyRoom() and scPrepareMap().
Definition at line 197 of file lemurian_ship.c.
FLAG_FIGHTING_JELLY
#define FLAG_FIGHTING_JELLY FLAG_AREA_TEMP(0x00)
The first, by LEMURIAN_SHIP_JELLY: the battle with the jelly is on.
Referenced by scLemurianShipFightAquaHydra() and scPrepareMap().
Definition at line 199 of file lemurian_ship.c.
CABIN_DOOR_COUNT
#define CABIN_DOOR_COUNT 10
The cabin doors (LemurianShipDoors).
Referenced by LemurianShipDoors and scLemurianShipOpenDoor().
Definition at line 335 of file lemurian_ship.c.
LOWER_DOOR_COUNT
#define LOWER_DOOR_COUNT 4
The lower deck's doors (LemurianShipLowerDoors); the hold's two doors follow,
as they open while it is flooded.
Referenced by LemurianShipLowerDoors and scLemurianShipOpenLowerDoor().
Definition at line 338 of file lemurian_ship.c.
OVERHEAD_LAYER_ROW
#define OVERHEAD_LAYER_ROW 60
The ship's maps keep their overhead layer 60 rows south of the ground's. A door swings open there, drawn over the leader walking through it.
Referenced by scAnemosInnerSanctumPressRoundSwitch(), scLemurianShipOpenDoor() and scLemurianShipOpenLowerDoor().
Definition at line 342 of file lemurian_ship.c.
scLemurianShipDrawLiftLowered
#define scLemurianShipDrawLiftLowered()
The lift in the room of six jellies, its 3 by 3 metatiles at (50, 64) drawn lowered from spare metatiles at (68, 68) or raised from (72, 68).
Referenced by scLemurianShipExamineLiftSwitch(), scLemurianShipSetUpSixJellyRoom(), scLemurianShipStepOnLift() and scLemurianShipStepOnLiftWestSide().
Definition at line 355 of file lemurian_ship.c.
scLemurianShipDrawLiftRaised
#define scLemurianShipDrawLiftRaised()
Referenced by scLemurianShipExamineLiftSwitch(), scLemurianShipSetUpSixJellyRoom(), scLemurianShipStepOnLift() and scLemurianShipStepOnLiftWestSide().
Definition at line 357 of file lemurian_ship.c.
scLemurianShipDrawDoorwayOpen
#define scLemurianShipDrawDoorwayOpen()
The arched doorway at the top of the room of two pillars, its 3 by 2 metatiles at (31, 64) drawn open from spare metatiles at (4, 124) or closed from (7, 124).
Referenced by scLemurianShipCheckPillarsOnDropTiles() and scLemurianShipSetUpPillarRoom().
Definition at line 363 of file lemurian_ship.c.
scLemurianShipDrawDoorwayClosed
#define scLemurianShipDrawDoorwayClosed()
Definition at line 365 of file lemurian_ship.c.
DEFINE_JELLY_BATTLE
#define DEFINE_JELLY_BATTLE(name, firstJelly, firstActor)
Defines what talking to an Aqua Jelly does: it turns to Felix and quivers,
and a battle starts that cannot be run from, its jelly's FLAG_FIGHTING_JELLY
flag set (the room's first jelly firstJelly is actor firstActor).
Definition at line 900 of file lemurian_ship.c.
DEFINE_DOUSE_PILLAR
#define DEFINE_DOUSE_PILLAR(name, pillar, fullFlag)
Defines what Douse on a hollow pillar does: rain fills it, its fullFlag is set, and it sinks if it stands on its tile marked with a drop of water.
Definition at line 1111 of file lemurian_ship.c.
DEFINE_RAISE_PILLAR
#define DEFINE_RAISE_PILLAR(name, pillar, loweredFlag, fullFlag, column)
Defines a sunk pillar rising once its water is gone: its loweredFlag and fullFlag are cleared, it rises 16 pixels with a chime and a thump, its metatile in column column is solid again, and the arched doorway closes.
Definition at line 1151 of file lemurian_ship.c.
DEFINE_SET_UP_PUDDLE
#define DEFINE_SET_UP_PUDDLE(name, priority)
Defines an actor setup that keeps a frozen puddle flat on the floor, drawn at sprite priority priority.
Definition at line 1242 of file lemurian_ship.c.
WADE_ROW
#define WADE_ROW(row) ((row) + OVERHEAD_LAYER_ROW)
A row of the flooded hold (the hold's copy 19 rows south) on the overhead layer.
Referenced by scLemurianShipRippleAroundLeader().
Definition at line 1302 of file lemurian_ship.c.
scLemurianShipTakeSpareMetatile
#define scLemurianShipTakeSpareMetatile(spare, x, z)
Gives the metatile at (x, z) the behaviour, flags and height of a spare metatile.
Referenced by scLemurianShipSetUpPipeRoom() and scLemurianShipSetUpSixJellyRoom().
Definition at line 1747 of file lemurian_ship.c.
PLACE_ON_LOWER_FLOOR
#define PLACE_ON_LOWER_FLOOR(id, x, z)
Places a puddle on the lower floor, where its jelly sat.
Referenced by scLemurianShipSetUpSixJellyRoom().
Definition at line 1751 of file lemurian_ship.c.
FLAG_LEDGE_EDGE_FLOORED
#define FLAG_LEDGE_EDGE_FLOORED 0x8
Would floor over the ledge's edge, metatile (16, 46), as the crate's fall does; no code of the game sets it, so on entering the room that metatile is always the map's own, 32 pixels down.
Referenced by scLemurianShipSetUpLedgeRoom().
Definition at line 1950 of file lemurian_ship.c.
HALFWORDS
#define HALFWORDS(low, high) ((Sint32)(((Uint32)(high) << 16) | (Uint16)(low)))
Two halfwords of a scene table row the header declares as words, the first in the low half.
Definition at line 2355 of file lemurian_ship.c.
ENTRANCE_WORDS
#define ENTRANCE_WORDS(entrance, x, y, z, facing, left, top, right, bottom)
A SCENE_ENTRANCE row as six words: the entrance, at (x, y, z) facing facing, its camera box from
(left, top) to (right, bottom).
Referenced by LemurianShipCabinsEntrances and LemurianShipEntrances.
Definition at line 2358 of file lemurian_ship.c.
ENTRANCE_WORDS_END
#define ENTRANCE_WORDS_END HALFWORDS(SCENE_TABLE_END, 0), 0, 0, 0, 0, 0
The SCENE_TABLE_END row of an entrance table, as six words.
Referenced by LemurianShipCabinsEntrances and LemurianShipEntrances.
Definition at line 2363 of file lemurian_ship.c.
REGION_WORDS
#define REGION_WORDS(minX, minY, minZ, maxX, maxY, maxZ, exit)
A SCENE_REGION row as four words: the box from (minX, minY, minZ) to (maxX, maxY, maxZ) that
leaves by exit.
Referenced by LemurianShipAquaHydraRegions and LemurianShipCabinsRegions.
Definition at line 2366 of file lemurian_ship.c.
REGION_WORDS_END
#define REGION_WORDS_END HALFWORDS(SCENE_TABLE_END, 0), 0, 0, 0
The SCENE_TABLE_END row of a region table, as four words.
Referenced by LemurianShipAquaHydraRegions and LemurianShipCabinsRegions.
Definition at line 2370 of file lemurian_ship.c.
Enumerations in detail
LEMURIAN_SHIP_TWO_JELLY_ROOM_ACTOR_ID
enum LEMURIAN_SHIP_TWO_JELLY_ROOM_ACTOR_ID
The Lemurian Ship's room of two jellies, by the rows of
LemurianShipTwoJellyRoomPlacements.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_TWO_JELLY_ROOM_JELLY_A | ACTOR_FIRST_PLACED | |
ACTOR_TWO_JELLY_ROOM_JELLY_B | ||
ACTOR_TWO_JELLY_ROOM_PUDDLE_A | ||
ACTOR_TWO_JELLY_ROOM_PUDDLE_B |
Definition at line 34 of file lemurian_ship.c.
LEMURIAN_SHIP_SIX_JELLY_ROOM_ACTOR_ID
enum LEMURIAN_SHIP_SIX_JELLY_ROOM_ACTOR_ID
The Lemurian Ship's room of six jellies and the lift, by the rows of
LemurianShipSixJellyRoomPlacements.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_SIX_JELLY_ROOM_CRATE | ACTOR_FIRST_PLACED | |
ACTOR_SIX_JELLY_ROOM_JELLY_A | ||
ACTOR_SIX_JELLY_ROOM_JELLY_B | ||
ACTOR_SIX_JELLY_ROOM_JELLY_C | ||
ACTOR_SIX_JELLY_ROOM_JELLY_D | ||
ACTOR_SIX_JELLY_ROOM_JELLY_E | ||
ACTOR_SIX_JELLY_ROOM_JELLY_F | ||
ACTOR_SIX_JELLY_ROOM_LIFT_PUDDLE | ||
ACTOR_SIX_JELLY_ROOM_PUDDLE_A | ||
ACTOR_SIX_JELLY_ROOM_PUDDLE_B | ||
ACTOR_SIX_JELLY_ROOM_PUDDLE_C | ||
ACTOR_SIX_JELLY_ROOM_PUDDLE_D | ||
ACTOR_SIX_JELLY_ROOM_PUDDLE_E |
Definition at line 44 of file lemurian_ship.c.
LEMURIAN_SHIP_LEDGE_ROOM_ACTOR_ID
enum LEMURIAN_SHIP_LEDGE_ROOM_ACTOR_ID
The Lemurian Ship's room of the crate on the ledge, by the rows of
LemurianShipLedgeRoomPlacements.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_LEDGE_CRATE | ACTOR_FIRST_PLACED |
Definition at line 63 of file lemurian_ship.c.
LEMURIAN_SHIP_PIPE_ROOM_ACTOR_ID
enum LEMURIAN_SHIP_PIPE_ROOM_ACTOR_ID
The Lemurian Ship's room of the pipes, by the rows of
LemurianShipPipeRoomPlacements.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_PIPE_ROOM_CRATE | ACTOR_FIRST_PLACED | |
ACTOR_PIPE_ROOM_JELLY_A | ||
ACTOR_PIPE_ROOM_JELLY_B | ||
ACTOR_PIPE_ROOM_JELLY_C | ||
ACTOR_PIPE_ROOM_JELLY_D | ||
ACTOR_PIPE_ROOM_JELLY_E | ||
ACTOR_PIPE_ROOM_JELLY_F | Unused: placed in the room's corner. | |
ACTOR_PIPE_ROOM_JELLY_G | ||
ACTOR_PIPE_ROOM_PUDDLE_A | ||
ACTOR_PIPE_ROOM_PUDDLE_B | ||
ACTOR_PIPE_ROOM_PUDDLE_C | ||
ACTOR_PIPE_ROOM_PUDDLE_D | ||
ACTOR_PIPE_ROOM_PUDDLE_E | ||
ACTOR_PIPE_ROOM_PUDDLE_F | Unused: never placed. | |
ACTOR_PIPE_ROOM_PUDDLE_G |
Definition at line 70 of file lemurian_ship.c.
LEMURIAN_SHIP_HOLD_ACTOR_ID
enum LEMURIAN_SHIP_HOLD_ACTOR_ID
The Lemurian Ship's hold, where the jellies gather into the Aqua Hydra, by
the rows of LemurianShipHoldPlacements; the party's rows go to their slots.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_HOLD_JELLY_A | ACTOR_FIRST_PLACED | |
ACTOR_HOLD_JELLY_B | ||
ACTOR_HOLD_JELLY_C | ||
ACTOR_HOLD_JELLY_D | ||
ACTOR_HOLD_JELLY_E | ||
ACTOR_HOLD_JELLY_F |
Definition at line 92 of file lemurian_ship.c.
LEMURIAN_SHIP_PILLAR_ROOM_ACTOR_ID
enum LEMURIAN_SHIP_PILLAR_ROOM_ACTOR_ID
The Lemurian Ship's room of the two pillars Douse fills, by the rows of
LemurianShipPillarRoomPlacements.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_RIGHT_PILLAR | ACTOR_FIRST_PLACED | |
ACTOR_LEFT_PILLAR | ||
ACTOR_RIGHT_PILLAR_PUDDLE | ||
ACTOR_LEFT_PILLAR_PUDDLE |
Definition at line 104 of file lemurian_ship.c.
LEMURIAN_SHIP_ENGINE_ROOM_ACTOR_ID
enum LEMURIAN_SHIP_ENGINE_ROOM_ACTOR_ID
The Lemurian Ship's engine room, by the rows of
LemurianShipEngineRoomPlacements; the party's rows go to their slots.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_ENGINE_ROOM_KRADEN | ACTOR_FIRST_PLACED |
Definition at line 114 of file lemurian_ship.c.
LEMURIAN_SHIP_JELLY
enum LEMURIAN_SHIP_JELLY
Each Aqua Jelly by its number, and last the Aqua Hydra they become: the
offset of its flags from FLAG_JELLIES_BEATEN, FLAG_JELLY_MELTING,
FLAG_PUDDLE_FROZEN and FLAG_FIGHTING_JELLY.
| Enumerator | Value | Description |
|---|---|---|
JELLY_TWO_JELLY_ROOM_A | ||
JELLY_TWO_JELLY_ROOM_B | ||
JELLY_SIX_JELLY_ROOM_A | The jelly by the lift. | |
JELLY_SIX_JELLY_ROOM_B | ||
JELLY_SIX_JELLY_ROOM_C | ||
JELLY_SIX_JELLY_ROOM_D | ||
JELLY_SIX_JELLY_ROOM_E | ||
JELLY_SIX_JELLY_ROOM_F | ||
JELLY_PIPE_ROOM_A | ||
JELLY_PIPE_ROOM_B | ||
JELLY_PIPE_ROOM_C | ||
JELLY_PIPE_ROOM_D | ||
JELLY_PIPE_ROOM_E | ||
JELLY_PIPE_ROOM_F | Placed in the room's corner and never fought. | |
JELLY_PIPE_ROOM_G | ||
JELLY_AQUA_HYDRA | ||
JELLY_COUNT |
Definition at line 122 of file lemurian_ship.c.
LEMURIAN_SHIP_ENCOUNTER
enum LEMURIAN_SHIP_ENCOUNTER
The battles below deck by their slot of ENCOUNTER_ZONE_AQUA_JELLIES: an Aqua
Jelly, or the Aqua Hydra.
| Enumerator | Value | Description |
|---|---|---|
ENCOUNTER_AQUA_JELLY | ||
ENCOUNTER_AQUA_HYDRA |
Definition at line 147 of file lemurian_ship.c.
LEMURIAN_SHIP_RAISED_CUE
enum LEMURIAN_SHIP_RAISED_CUE
The pillar room's raised cues: a pillar's puddle has dried, and the pillar rises.
| Enumerator | Value | Description |
|---|---|---|
RAISED_RIGHT_PILLAR | 200 | |
RAISED_LEFT_PILLAR |
Definition at line 174 of file lemurian_ship.c.
LEMURIAN_SHIP_CABINS_ENTRANCE
enum LEMURIAN_SHIP_CABINS_ENTRANCE
The cabins' entrances from within the scene, by the room each opens into and
the room it leads from; scene_exits.h names those from the main deck and the
lower deck. The main deck's door leads into the room of the captain's
logbook, and four halls join the rooms: one off the room of two jellies, one
off the stair room, and two off the room of six jellies' west and east doors.
| Enumerator | Value | Description |
|---|---|---|
ENTRANCE_LOGBOOK_ROOM_FROM_TWO_JELLY_ROOM | 2 | |
ENTRANCE_TWO_JELLY_ROOM_FROM_LOGBOOK_ROOM | ||
ENTRANCE_TWO_JELLY_ROOM_FROM_STAIR_ROOM | ||
ENTRANCE_TWO_JELLY_ROOM_FROM_TWO_JELLY_ROOM_HALL | ||
ENTRANCE_STAIR_ROOM_FROM_TWO_JELLY_ROOM | ||
ENTRANCE_STAIR_ROOM_FROM_STAIR_ROOM_HALL | ||
ENTRANCE_SIX_JELLY_ROOM_WEST_HALL_FROM_SIX_JELLY_ROOM | 10 | |
ENTRANCE_SIX_JELLY_ROOM_EAST_HALL_FROM_SIX_JELLY_ROOM | ||
ENTRANCE_SIX_JELLY_ROOM_EAST_HALL_FROM_PIPE_ROOM | ||
ENTRANCE_TWO_JELLY_ROOM_HALL_FROM_TWO_JELLY_ROOM | ||
ENTRANCE_LEDGE_ROOM_FROM_SIX_JELLY_ROOM_WEST | 16 | |
ENTRANCE_LEDGE_ROOM_FROM_SIX_JELLY_ROOM_EAST | ||
ENTRANCE_LEDGE_ROOM_FROM_PIPE_ROOM | ||
ENTRANCE_SIX_JELLY_ROOM_FROM_WEST_HALL | 25 | |
ENTRANCE_SIX_JELLY_ROOM_FROM_EAST_HALL | ||
ENTRANCE_SIX_JELLY_ROOM_FROM_LEDGE_ROOM_WEST | ||
ENTRANCE_SIX_JELLY_ROOM_FROM_LEDGE_ROOM_EAST | ||
ENTRANCE_PIPE_ROOM_FROM_SIX_JELLY_ROOM_EAST_HALL | ||
ENTRANCE_PIPE_ROOM_FROM_LEDGE_ROOM |
Definition at line 206 of file lemurian_ship.c.
LEMURIAN_SHIP_LOWER_DECK_ENTRANCE
enum LEMURIAN_SHIP_LOWER_DECK_ENTRANCE
The lower deck's entrances from within the scene: the pillar room, the corridor beyond it and the engine room.
| Enumerator | Value | Description |
|---|---|---|
ENTRANCE_PILLAR_ROOM_FROM_CORRIDOR | 6 | |
ENTRANCE_CORRIDOR_FROM_PILLAR_ROOM | ||
ENTRANCE_CORRIDOR_FROM_ENGINE_ROOM | ||
ENTRANCE_ENGINE_ROOM_FROM_CORRIDOR | Until the engine runs; Piers sets the Black Crystal here. | |
ENTRANCE_HOLD_AFTER_AQUA_HYDRA_BATTLE | 15 | Where the Aqua Hydra's battle returns the party, in the flooded hold. |
ENTRANCE_RUNNING_ENGINE_ROOM_FROM_CORRIDOR | 19 | Once the engine runs: the engine room lit. |
Definition at line 231 of file lemurian_ship.c.
LEMURIAN_SHIP_CABINS_EXIT
enum LEMURIAN_SHIP_CABINS_EXIT
The cabins' exits within the scene, by the room each leaves and the room it
leads to, as their entrances are named; scene_exits.h names those to the main
deck and the lower deck. The doors among them open as Felix walks into them
(LemurianShipDoors).
| Enumerator | Value | Description |
|---|---|---|
EXIT_LOGBOOK_ROOM_TO_TWO_JELLY_ROOM | 2 | |
EXIT_TWO_JELLY_ROOM_TO_LOGBOOK_ROOM | ||
EXIT_TWO_JELLY_ROOM_TO_STAIR_ROOM | ||
EXIT_TWO_JELLY_ROOM_TO_TWO_JELLY_ROOM_HALL | ||
EXIT_STAIR_ROOM_TO_TWO_JELLY_ROOM | ||
EXIT_STAIR_ROOM_TO_STAIR_ROOM_HALL | ||
EXIT_SIX_JELLY_ROOM_WEST_HALL_TO_SIX_JELLY_ROOM | 10 | |
EXIT_SIX_JELLY_ROOM_EAST_HALL_TO_SIX_JELLY_ROOM | ||
EXIT_SIX_JELLY_ROOM_EAST_HALL_TO_PIPE_ROOM | ||
EXIT_TWO_JELLY_ROOM_HALL_TO_TWO_JELLY_ROOM | ||
EXIT_LEDGE_ROOM_TO_SIX_JELLY_ROOM_WEST | 16 | |
EXIT_LEDGE_ROOM_TO_SIX_JELLY_ROOM_EAST | ||
EXIT_LEDGE_ROOM_TO_PIPE_ROOM | ||
EXIT_STAIR_ROOM_HALL_TO_STAIR_ROOM | 20 | |
EXIT_SIX_JELLY_ROOM_TO_WEST_HALL | 25 | |
EXIT_SIX_JELLY_ROOM_TO_EAST_HALL | ||
EXIT_SIX_JELLY_ROOM_TO_LEDGE_ROOM_WEST | ||
EXIT_SIX_JELLY_ROOM_TO_LEDGE_ROOM_EAST | ||
EXIT_PIPE_ROOM_TO_SIX_JELLY_ROOM_EAST_HALL | ||
EXIT_PIPE_ROOM_TO_LEDGE_ROOM |
Definition at line 251 of file lemurian_ship.c.
LEMURIAN_SHIP_LOWER_DECK_EXIT
enum LEMURIAN_SHIP_LOWER_DECK_EXIT
The lower deck's exits within the scene.
| Enumerator | Value | Description |
|---|---|---|
EXIT_PILLAR_ROOM_TO_CORRIDOR | 6 | The arched doorway, open once both pillars have sunk. |
EXIT_CORRIDOR_TO_PILLAR_ROOM | ||
EXIT_CORRIDOR_TO_ENGINE_ROOM | ||
EXIT_ENGINE_ROOM_TO_CORRIDOR |
Definition at line 276 of file lemurian_ship.c.
LEMURIAN_SHIP_METATILE_BEHAVIOR
enum LEMURIAN_SHIP_METATILE_BEHAVIOR
The metatile behaviors the cabins' and the hold's cues answer.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_LIFT_LEVER | 40 | Checked beside the lift. |
METATILE_BEHAVIOR_LIFT_EAST | 41 | Stepping onto the lift from the east. |
METATILE_BEHAVIOR_NEAR_LIFT_JELLY | 42 | Near the jelly by the lift, which flees down it again. |
METATILE_BEHAVIOR_LIFT_WEST | 43 | Stepping onto the lift from the west. |
METATILE_BEHAVIOR_CAPTAINS_LOGBOOK | 200 | In the room of the captain's |
METATILE_BEHAVIOR_COOL_WARDROBE | 201 | logbook: "It looks like there's a captain's logbook in here." and, at the wardrobe, "It's pleasantly cool." |
METATILE_BEHAVIOR_FLOODED_HOLD | 255 | The hold's water, which Parch dries. |
Definition at line 286 of file lemurian_ship.c.
SINKING_PILLAR_ANIMATION
enum SINKING_PILLAR_ANIMATION
The sinking pillar's sprite sheet's animations: hollow and empty, full of water, and sunk into the floor to its watery rim.
| Enumerator | Value | Description |
|---|---|---|
SINKING_PILLAR_EMPTY | 1 | |
SINKING_PILLAR_FULL | ||
SINKING_PILLAR_SUNK |
Definition at line 346 of file lemurian_ship.c.
anonymous enum
enum { SPARE_SUNK_PUSH_FLOOR, SPARE_SUNK_JUMP_FLOOR, SPARE_LEVEL_FLOOR }
Spare metatiles in the map's top row whose behaviour, flags and height a
beaten jelly's cells take: the floor 32 pixels down with MAP_METATILE_PUSH
for the cell the jelly sat on; the same with MAP_METATILE_JUMP, a gap the
leader jumps across, for the cells around it; and level floor with no flags
for the cell of a jelly in the room of the pipes.
| Enumerator | Value | Description |
|---|---|---|
SPARE_SUNK_PUSH_FLOOR | 42 | |
SPARE_SUNK_JUMP_FLOOR | ||
SPARE_LEVEL_FLOOR |
Definition at line 1738 of file lemurian_ship.c.
Functions in detail
scGetEntrances
Uint8 *scGetEntrances(void)
References LemurianShipAquaHydraEntrances, LemurianShipCabinsEntrances, LemurianShipEntrances and MainRoutineStateWork.
Definition at line 307 of file lemurian_ship.c.
scGetExitRegions
Uint8 *scGetExitRegions(void)
References LemurianShipAquaHydraRegions, LemurianShipCabinsRegions and MainRoutineStateWork.
Definition at line 318 of file lemurian_ship.c.
scGetExits
const Uint32 *scGetExits(void)
References SceneExits.
Definition at line 329 of file lemurian_ship.c.
scLemurianShipLeapIntoHydra
void scLemurianShipLeapIntoHydra(Sint32 id)
A jelly in the hold leaps into the middle of it, where the Aqua Hydra forms.
References fdActorGetById(), fdActorSetDestination() and Sint32.
Referenced by scLemurianShipFightAquaHydra().
Definition at lines 368 and 935 of file lemurian_ship.c.
scLemurianShipCheckPillarsOnDropTiles
void scLemurianShipCheckPillarsOnDropTiles(void)
In the room of two pillars, a pillar full of water that stands on its tile marked with a drop of water, metatile (35, 9) for the right one and (29, 9) for the left, sinks slowly into the floor with a rumble. Once both have sunk, a thump opens the arched doorway to the engine room.
References fdActorGetById(), fdActorSetAnimation(), fdActorSetSpritePriority(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptGetFlag(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, Sint32 and sySynch().
Referenced by scLemurianShipSetDownPillar().
Definition at lines 369 and 987 of file lemurian_ship.c.
scLemurianShipSetUpPuddle
void scLemurianShipSetUpPuddle(Sint32 id)
DEFINE_SET_UP_PUDDLE(scLemurianShipSetUpPuddle, 1)
Keeps a frozen puddle flat on the floor, drawn at sprite priority 1.
References Sint32.
Referenced by scLemurianShipKeepPillarRoomPuddles(), scLemurianShipKeepPipeRoomPuddles() and scLemurianShipKeepSixJellyRoomPuddles().
Definition at lines 370 and 1253 of file lemurian_ship.c.
scLemurianShipSetUpLowPuddle
void scLemurianShipSetUpLowPuddle(Sint32 id)
DEFINE_SET_UP_PUDDLE(scLemurianShipSetUpLowPuddle, 2)
Keeps a frozen puddle flat on the floor, drawn at sprite priority 2.
References Sint32.
Definition at lines 371 and 1259 of file lemurian_ship.c.
scLemurianShipJellyFlees
void scLemurianShipJellyFlees(void)
The jelly by the lift startles, jumps and flees down the lift.
References fdActorFaceDirection(), fdActorGetById(), fdActorJump(), fdActorMoveToAndWait(), fdActorRunRepeatedMotion(), fdActorSetSpritePriority(), fdScriptSetFlag(), fdScriptWait() and scFieldActorShowEmote().
Referenced by scLemurianShipScareJelly() and scLemurianShipScareJellyOnArrival().
Definition at lines 382 and 1532 of file lemurian_ship.c.
scLemurianShipSetBlackCrystal
void scLemurianShipSetBlackCrystal(void)
Felix walks into the engine room for the first time: Piers steps up to the pedestal, "How did all these monsters get on board?", and sets the Black Crystal in it. Light gathers, the engine starts, and the ship sails out to sea with every monster aboard gone.
References fdActorFaceDirectionAndWait(), fdActorPlaceOnActor(), fdActorRunRepeatedMotion(), fdActorRunScriptAndWait(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetScript(), fdActorSetSpritePriority(), fdActorWalkToAndWait(), fdMapGridCenterOnFollowedPoint(), fdScriptEndLastingPsynergy(), fdScriptFinishScreenTransition(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), fdSetCameraBounds(), gmPartyInventoryRemove(), LemurianShipJennaStepsUp, LemurianShipKradenStepsUp, LemurianShipPiersToPedestal, LemurianShipShebaStepsUp, MainRoutineStateWork, scLemurianShipDrawLightToOrb(), Sint32, syCloseEvent(), syImportScriptSetExitRequest(), sySetEvent() and sySynch().
Referenced by scLemurianShipSetUpEngineRoom().
Definition at lines 383 and 1400 of file lemurian_ship.c.
scGetActorPlacements
ACTOR_PLACE *scGetActorPlacements(void)
References LemurianShipEngineRoomPlacements, LemurianShipHoldPlacements, LemurianShipLedgeRoomPlacements, LemurianShipPillarRoomPlacements, LemurianShipPipeRoomPlacements, LemurianShipPlacements, LemurianShipSixJellyRoomPlacements, LemurianShipTwoJellyRoomPlacements and MainRoutineStateWork.
Definition at line 389 of file lemurian_ship.c.
scLemurianShipOpenDoor
void scLemurianShipOpenDoor(void)
Felix walks north into one of the cabins' wooden doors: it swings open, he steps through, and the screen closes and opens on the room beyond.
The doors are LemurianShipDoors, found by the metatile's step cue, which is
also the exit taken; the first is the logbook room's, metatile (4, 4). Every
placed actor stops moving while he goes.
References fdActorCenterAndWalk(), fdActorGetById(), fdActorSetAnimation(), fdActorSetDestinationOffset(), fdActorSetSpritePriority(), fdMapGridAnimateMetatiles(), fdMapGridCopyMetatilesTo(), fdScriptEndLastingPsynergy(), fdScriptPlaySound(), fdScriptStart(), fdScriptWait(), LemurianShipDoors, MainRoutineStateWork, Sint32 and syImportScriptSetExitRequest().
Referenced by LemurianShipCabinCues, LemurianShipLedgeRoomCues, LemurianShipPipeRoomCues and LemurianShipSixJellyRoomCues.
Definition at line 447 of file lemurian_ship.c.
scLemurianShipOpenLowerDoor
void scLemurianShipOpenLowerDoor(void)
Felix walks north into one of the two doors at the top of the hold, metatiles (4, 4) and (10, 4): it swings open and he steps through.
While the hold is flooded (after the Aqua Hydra, until Parch) the party walks
a copy of the hold drawn 19 rows further south, and the doors there,
metatiles (4, 23) and (10, 23), are the last rows of LemurianShipLowerDoors.
References fdActorCenterOnColumn(), fdActorGetById(), fdActorSetAnimation(), fdActorSetSpritePriority(), fdMapGridAnimateMetatiles(), fdMapGridCopyMetatilesTo(), fdScriptEndLastingPsynergy(), fdScriptGetFlag(), fdScriptPlaySound(), fdScriptStart(), fdScriptWait(), LemurianShipLowerDoors, MainRoutineStateWork and syImportScriptSetExitRequest().
Referenced by LemurianShipHoldCues.
Definition at line 497 of file lemurian_ship.c.
scLemurianShipWalkIntoPassage
void scLemurianShipWalkIntoPassage(void)
Once both pillars have sunk, Felix walks north into an arched doorway of the lower deck and shrinks away into the passage as the screen closes: the one at the top of the room of two pillars, metatile (32, 6), or the corridor's doorway into the engine room. Before the pillars sink, walking into the first does nothing.
References fdActorGetById(), fdActorSetAnimation(), fdActorSetMoveTarget(), fdActorSetScript(), fdScriptEndLastingPsynergy(), fdScriptFinishScreenTransition(), fdScriptGetFlag(), fdScriptPlaySound(), fdScriptStart(), fdScriptWaitTransitionTicks(), LeaderWalkThroughDoorScript, MainRoutineStateWork, scFieldActorWaitForMove(), Sint32, syImportScriptSetExitRequest() and sySynch().
Referenced by LemurianShipLowerDeckCues and LemurianShipPillarRoomCues.
Definition at line 545 of file lemurian_ship.c.
scGetCues
const CUE *scGetCues(void)
References LemurianShipCabinCues, LemurianShipCues, LemurianShipHoldCues, LemurianShipLedgeRoomCues, LemurianShipLowerDeckCues, LemurianShipPillarRoomCues, LemurianShipPipeRoomCues, LemurianShipSixJellyRoomCues, LemurianShipTwoJellyRoomCues and MainRoutineStateWork.
Definition at line 582 of file lemurian_ship.c.
scLemurianShipExamineLiftSwitch
void scLemurianShipExamineLiftSwitch(void)
Felix checks the lever beside the lift in the room of six jellies, metatile (53, 3): before the engine runs, "There's no reaction... It doesn't seem to be running."; once it runs, the lift goes down or comes back up with a crunch, or does nothing while the frozen puddle holds it up.
References fdActorGetById(), fdMapGridCopyMetatileAttributes(), fdScriptClearFlag(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptGetFlag(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptStart(), mnFieldMessageShow(), scFieldActorSetPosAndResetMotion() and Sint32.
Referenced by LemurianShipSixJellyRoomCues.
Definition at line 639 of file lemurian_ship.c.
scLemurianShipLiftCrate
void scLemurianShipLiftCrate(void)
Nothing visible happens as Felix starts to Move or push the tall crate in the
room of six jellies or the room of the pipes; the game takes the crate up so
that it can slide (fdActorLiftTargetBlock).
References fdActorLiftTargetBlock() and LemurianShipCrate.
Referenced by LemurianShipPipeRoomCues and LemurianShipSixJellyRoomCues.
Definition at line 685 of file lemurian_ship.c.
scLemurianShipSetDownCrate
void scLemurianShipSetDownCrate(void)
Felix slides the tall crate one metatile with Move or a push, in the room of six jellies or the room of the pipes; it stays where it stops, so that the frozen puddles and the crate make a row to jump along.
References fdActorPlaceMovedBlock().
Referenced by LemurianShipPipeRoomCues and LemurianShipSixJellyRoomCues.
Definition at line 693 of file lemurian_ship.c.
scLemurianShipLiftLedgeCrate
void scLemurianShipLiftLedgeCrate(void)
Nothing visible happens as Felix starts to Move or push the tall crate on the ledge by the stairs; the game takes the crate up so that it can slide.
References fdActorLiftTargetBlock() and LemurianShipCrate.
Referenced by LemurianShipLedgeRoomCues.
Definition at line 700 of file lemurian_ship.c.
scLemurianShipPushCrateOffLedge
void scLemurianShipPushCrateOffLedge(void)
Felix slides the tall crate along the ledge by the stairs with Move or a push. Once it reaches metatile (16, 46), at the ledge's edge, it falls with a thump to the floor below and stays there.
References fdActorGetById(), fdActorPlaceMovedBlock(), fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptStart(), Sint32 and sySynch().
Referenced by LemurianShipLedgeRoomCues.
Definition at line 708 of file lemurian_ship.c.
scLemurianShipFreezeTwoJellyRoomPuddle
void scLemurianShipFreezeTwoJellyRoomPuddle(void)
Felix casts Frost on the puddle a jelly left in the first room below deck: it freezes into a pillar of ice he can jump onto, the way to the room's chest.
References fdFlagBlockApplyFlags() and LemurianShipTwoJellyRoomPuddles.
Referenced by LemurianShipPillarRoomCues and LemurianShipTwoJellyRoomCues.
Definition at line 740 of file lemurian_ship.c.
scLemurianShipFreezeSixJellyRoomPuddle
void scLemurianShipFreezeSixJellyRoomPuddle(void)
Felix casts Frost on a puddle a jelly left in the room of six jellies: it freezes into a pillar of ice to jump along.
References fdFlagBlockApplyFlags() and LemurianShipSixJellyRoomPuddles.
Referenced by LemurianShipSixJellyRoomCues.
Definition at line 747 of file lemurian_ship.c.
scLemurianShipFreezeLiftPuddle
void scLemurianShipFreezeLiftPuddle(void)
Felix casts Frost on the puddle the frightened jelly left beside the lift in the room of six jellies: it freezes into ice that keeps the lift up, so that stepping onto it no longer drops it.
References fdMapGridCopyMetatileAttributes() and fdScriptSetFlag().
Referenced by LemurianShipSixJellyRoomCues.
Definition at line 755 of file lemurian_ship.c.
scLemurianShipFreezePipeRoomPuddle
void scLemurianShipFreezePipeRoomPuddle(void)
Felix casts Frost on a puddle a jelly left in the room of the pipes: it freezes into a pillar of ice to jump along.
References fdFlagBlockApplyFlags() and LemurianShipPipeRoomPuddles.
Referenced by LemurianShipPipeRoomCues.
Definition at line 763 of file lemurian_ship.c.
scLemurianShipStepOnLift
void scLemurianShipStepOnLift(void)
Felix steps onto the grated lift at the top right of the room of six jellies from the east, metatile (52, 4), before the engine runs and before its puddle is frozen: the lift shudders and sinks, Felix jumps back off, and it comes back up with a crunch. While the jelly that fled down it is still unbeaten, it rides up on the lift and hops off beside it.
References fdActorFaceDirection(), fdActorFaceDirectionAndWait(), fdActorGetById(), fdActorJump(), fdActorMoveToAndWait(), fdActorSetAttachedEffect(), fdActorSetSpritePriority(), fdActorStop(), fdActorWalkToAndWait(), fdActorWatchAndSetScript(), fdScriptClearFlag(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptGetFlag(), fdScriptPlaySound(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, Sint32 and sySynch().
Referenced by LemurianShipSixJellyRoomCues.
Definition at line 773 of file lemurian_ship.c.
scLemurianShipStepOnLiftWestSide
void scLemurianShipStepOnLiftWestSide(void)
Felix steps onto the grated lift from its west side, metatile (50, 4), before the engine runs and before its puddle is frozen: as from the east, the lift shudders and sinks, Felix jumps back off, and it comes back up with a crunch.
References fdActorGetById(), fdActorJump(), fdActorMoveToAndWait(), fdActorSetAttachedEffect(), fdActorWalkToAndWait(), fdScriptEndLastingPsynergy(), fdScriptGetFlag(), fdScriptPlaySound(), fdScriptStart(), fdScriptWait() and MainRoutineStateWork.
Referenced by LemurianShipSixJellyRoomCues.
Definition at line 865 of file lemurian_ship.c.
scLemurianShipFightTwoJellyRoomJelly
DEFINE_JELLY_BATTLE(scLemurianShipFightTwoJellyRoomJelly, JELLY_TWO_JELLY_ROOM_A, ACTOR_TWO_JELLY_ROOM_JELLY_A)
Felix talks to an Aqua Jelly in the first room below deck: it turns to him
and quivers, and a battle starts that cannot be run from. Its
FLAG_FIGHTING_JELLY flag lets a win melt it into a puddle.
Referenced by LemurianShipTwoJellyRoomCues.
Definition at line 920 of file lemurian_ship.c.
scLemurianShipFightSixJellyRoomJelly
DEFINE_JELLY_BATTLE(scLemurianShipFightSixJellyRoomJelly, JELLY_SIX_JELLY_ROOM_A, ACTOR_SIX_JELLY_ROOM_JELLY_A)
The same for an Aqua Jelly in the room of six jellies.
Referenced by LemurianShipSixJellyRoomCues.
Definition at line 925 of file lemurian_ship.c.
scLemurianShipFightPipeRoomJelly
DEFINE_JELLY_BATTLE(scLemurianShipFightPipeRoomJelly, JELLY_PIPE_ROOM_A, ACTOR_PIPE_ROOM_JELLY_A)
The same for an Aqua Jelly in the room of the pipes.
Referenced by LemurianShipPipeRoomCues.
Definition at line 930 of file lemurian_ship.c.
scLemurianShipFightAquaHydra
void scLemurianShipFightAquaHydra(void)
Felix talks to the jelly in the middle of the hold: the five around it quiver, cry out and leap into it, and it swells into the Aqua Hydra, whose battle cannot be run from.
References fdActorRunRepeatedMotion(), fdActorRunScriptAndWait(), fdActorStartRepeatedMotion(), fdActorWaitForMoveById(), fdRequestBattleFromEncounterTable(), fdScriptEndLastingPsynergy(), fdScriptPlaySound(), fdScriptSetAfterBattleDestination(), fdScriptSetFlag(), fdScriptStart(), fdScriptWait(), LemurianShipHydraForms, MainRoutineStateWork and scLemurianShipLeapIntoHydra().
Referenced by LemurianShipHoldCues.
Definition at line 948 of file lemurian_ship.c.
scLemurianShipLiftPillar
void scLemurianShipLiftPillar(void)
Nothing visible happens as Felix starts to Move or push one of the two pillars; the game takes it up so that it can slide.
References fdActorLiftTargetBlock() and LemurianShipPillars.
Referenced by LemurianShipPillarRoomCues.
Definition at line 1095 of file lemurian_ship.c.
scLemurianShipSetDownPillar
void scLemurianShipSetDownPillar(void)
Felix slides one of the two pillars a metatile with Move or a push. If it is full of water and stops on its tile marked with a drop of water, it sinks; once both have sunk, the arched doorway opens.
References fdActorPlaceMovedBlock() and scLemurianShipCheckPillarsOnDropTiles().
Referenced by LemurianShipPillarRoomCues.
Definition at line 1103 of file lemurian_ship.c.
scLemurianShipDouseRightPillar
DEFINE_DOUSE_PILLAR(scLemurianShipDouseRightPillar, ACTOR_RIGHT_PILLAR, FLAG_RIGHT_PILLAR_FULL)
Felix casts Douse on the hollow white pillar on the right of the room of two pillars: rain falls into it and it fills with water, ready to sink once it stands on the tile marked with a drop of water.
Referenced by LemurianShipPillarRoomCues.
Definition at line 1123 of file lemurian_ship.c.
scLemurianShipDouseLeftPillar
DEFINE_DOUSE_PILLAR(scLemurianShipDouseLeftPillar, ACTOR_LEFT_PILLAR, FLAG_LEFT_PILLAR_FULL)
Felix casts Douse on the left pillar of the room of two pillars, once it has risen again: it fills with water, ready to sink on its tile.
Referenced by LemurianShipPillarRoomCues.
Definition at line 1129 of file lemurian_ship.c.
scLemurianShipShowRightPillarPuddle
void scLemurianShipShowRightPillarPuddle(void)
Felix casts Frost on the water in the right pillar after it has sunk: the water, unseen until now, shows as it freezes into a pillar of ice.
References fdActorGetById() and scFieldActorSetSpriteColor().
Referenced by LemurianShipPillarRoomCues.
Definition at line 1135 of file lemurian_ship.c.
scLemurianShipShowLeftPillarPuddle
void scLemurianShipShowLeftPillarPuddle(void)
Felix casts Frost on the water in the sunk left pillar, metatile (29, 9): the water, unseen until now, shows as it freezes into a pillar of ice above the sunk pillar.
References fdActorGetById() and scFieldActorSetSpriteColor().
Referenced by LemurianShipPillarRoomCues.
Definition at line 1143 of file lemurian_ship.c.
scLemurianShipRaiseRightPillar
DEFINE_RAISE_PILLAR(scLemurianShipRaiseRightPillar, ACTOR_RIGHT_PILLAR, FLAG_RIGHT_PILLAR_SUNK, FLAG_RIGHT_PILLAR_FULL, 35)
Felix casts Parch on the water standing in the sunk right pillar, not frozen:
it dries up in a white flash, and the pillar rises out of the floor with a
chime and a thump, and the arched doorway closes again. Parch takes any
unfrozen puddle it finds off the map (fdPsynergyParch), and the room's watch
(scLemurianShipWatchPillarPuddles) raises the pillar once its puddle is gone.
Referenced by LemurianShipPillarRoomCues.
Definition at line 1184 of file lemurian_ship.c.
scLemurianShipRaiseLeftPillar
DEFINE_RAISE_PILLAR(scLemurianShipRaiseLeftPillar, ACTOR_LEFT_PILLAR, FLAG_LEFT_PILLAR_SUNK, FLAG_LEFT_PILLAR_FULL, 29)
The same for the sunk left pillar.
Referenced by LemurianShipPillarRoomCues.
Definition at line 1191 of file lemurian_ship.c.
scLemurianShipParchHold
void scLemurianShipParchHold(void)
Felix casts Parch in the flooded hold: the water dries up, and the chest the flood had kept out of reach, with its Mist Potion, can be opened.
The flooded hold is a copy drawn 304 pixels further south; Parch moves the party and the chest back to the dry hold, which looks the same without the water, and sets the camera's bounds to it.
References fdActorGetById(), fdActorSetPosFX(), fdCameraFollowActor(), fdMapGridCenterOnFollowedPoint(), fdMapGridCopyMetatileAttributes(), fdPaletteFadeSetTarget(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptSetFlag(), fdScriptStart(), fdSetCameraBounds(), MainRoutineStateWork, scFieldActorSetSpriteColor() and sySynch().
Referenced by LemurianShipHoldCues.
Definition at line 1203 of file lemurian_ship.c.
scLemurianShipStartParch
void scLemurianShipStartParch(void)
Nothing visible happens as Felix begins to cast Parch in the flooded hold;
the game settles any actions still pending before scLemurianShipParchHold
dries it.
References fdScriptEnd(), fdScriptEndLastingPsynergy() and fdScriptStart().
Referenced by LemurianShipHoldCues.
Definition at line 1232 of file lemurian_ship.c.
scLemurianShipKeepSixJellyRoomPuddles
void scLemurianShipKeepSixJellyRoomPuddles(void)
Keeps the room of six jellies' puddles flat on the floor.
References fdActorGetById(), fdActorSetSpritePriority() and scLemurianShipSetUpPuddle().
Referenced by scLemurianShipSetUpSixJellyRoom().
Definition at line 1263 of file lemurian_ship.c.
scLemurianShipKeepPipeRoomPuddles
void scLemurianShipKeepPipeRoomPuddles(void)
Keeps the room of the pipes' puddles flat on the floor.
References scLemurianShipSetUpPuddle().
Referenced by scLemurianShipSetUpPipeRoom().
Definition at line 1278 of file lemurian_ship.c.
scLemurianShipKeepPillarRoomPuddles
void scLemurianShipKeepPillarRoomPuddles(void)
Keeps the pillar room's two puddles flat on the floor.
References scLemurianShipSetUpPuddle().
Referenced by scLemurianShipSetUpPillarRoom().
Definition at line 1289 of file lemurian_ship.c.
scLemurianShipRippleAroundLeader
void scLemurianShipRippleAroundLeader(void)
An event: in the flooded hold, draws the water rippling around Felix as he wades. Each tick the overhead layer's water over columns 4 to 11 of rows 25 to 30 is drawn afresh from a plain copy at (74, 105); where he stands on one of seven of those metatiles, the ripples' picture at (18, 126) is drawn on his metatile, and on all but (7, 26) on the metatile south of it too.
References fdActorGetById(), fdMapGridCopyMetatilesTo(), MainRoutineStateWork and Sint32.
Referenced by scLemurianShipSetUpHold().
Definition at line 1309 of file lemurian_ship.c.
scLemurianShipWatchPillarPuddles
void scLemurianShipWatchPillarPuddles(void)
An event: once the water on a sunk pillar is gone (its puddle is no longer placed), the pillar rises again.
References fdActorGetById(), fdActorSetAnimation() and fdScriptGetFlag().
Referenced by scLemurianShipSetUpPillarRoom().
Definition at line 1348 of file lemurian_ship.c.
scLemurianShipDrawLightToOrb
void scLemurianShipDrawLightToOrb(void)
An event: as Piers sets the Black Crystal, glints of light drift in from around the pedestal toward it.
References fdActorSelectAnimation(), fdActorSetSpriteFlags(), fdActorStartScript(), LemurianShipLightToOrb, Sint32, syImportActorCreate(), syRandom() and syVectorAddPolarOffset().
Referenced by scLemurianShipSetBlackCrystal().
Definition at line 1375 of file lemurian_ship.c.
scLemurianShipMeltJellyIntoPuddle
void scLemurianShipMeltJellyIntoPuddle(Sint32 jelly, Sint32 puddle)
Back from a battle with an Aqua Jelly, the jelly melts away where it stood and a puddle spreads in its place.
References fdActorGetById(), fdActorRunScriptAndWait(), fdActorSetScript(), fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptPlaySound(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), LemurianShipJellyMelts, LemurianShipPuddleSpreads, Sint32 and sySynch().
Referenced by scLemurianShipSetUpPipeRoom(), scLemurianShipSetUpSixJellyRoom() and scLemurianShipSetUpTwoJellyRoom().
Definition at line 1483 of file lemurian_ship.c.
scLemurianShipScareJellyOnArrival
void scLemurianShipScareJellyOnArrival(void)
Felix comes into the room of six jellies while the jelly by the lift is unbeaten: it takes fright, jumps and flees down the lift.
References fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptGetFlag(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks() and scLemurianShipJellyFlees().
Referenced by scLemurianShipSetUpSixJellyRoom().
Definition at line 1504 of file lemurian_ship.c.
scLemurianShipScareJelly
void scLemurianShipScareJelly(void)
Felix steps near the jelly by the lift, metatile (54, 5), while it is unbeaten and back up: it takes fright and flees down the lift again.
References fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptGetFlag(), fdScriptStart() and scLemurianShipJellyFlees().
Referenced by LemurianShipSixJellyRoomCues.
Definition at line 1520 of file lemurian_ship.c.
scLemurianShipFloodHold
void scLemurianShipFloodHold(void)
Back from beating the Aqua Hydra, the party stands in the flooded hold; a sound plays and the game waits two seconds before Felix can move.
References fdScriptEnd(), fdScriptEndLastingPsynergy(), fdScriptPlaySound(), fdScriptStart() and fdScriptWait().
Referenced by scLemurianShipSetUpHold().
Definition at line 1555 of file lemurian_ship.c.
scLemurianShipSetUpTwoJellyRoom
void scLemurianShipSetUpTwoJellyRoom(void)
The first room below deck: its two jellies, or the puddles they left, and a jelly just beaten melting into its puddle.
References fdActorGetById(), fdActorSetPosAndResetMotion(), fdActorSetSpritePriority(), fdFlagBlockPlaceAll(), fdMapGridCopyMetatileAttributes(), fdScriptClearFlag(), fdScriptGetFlag(), LemurianShipTwoJellyRoomPuddles, scFieldActorSetPosAndResetMotion(), scLemurianShipMeltJellyIntoPuddle(), Sint32 and sySynch().
Referenced by scInit().
Definition at lines 1564 and 1660 of file lemurian_ship.c.
scInit
Sint32 scInit(void)
References fdScriptGetFlag(), fdScriptSetFlag(), MainRoutineStateWork, scLemurianShipSetUpEngineRoom(), scLemurianShipSetUpHold(), scLemurianShipSetUpLedgeRoom(), scLemurianShipSetUpPillarRoom(), scLemurianShipSetUpPipeRoom(), scLemurianShipSetUpSixJellyRoom(), scLemurianShipSetUpStairRoom(), scLemurianShipSetUpTwoJellyRoom() and Sint32.
Definition at line 1566 of file lemurian_ship.c.
scPrepareMap
Sint32 scPrepareMap(void)
Back from a battle below deck: a jelly whose battle was won (its one enemy defeated) is marked beaten and melts into its puddle as the room appears. Every jelly's battle flag is cleared.
References fdScriptClearFlag(), fdScriptGetFlag(), fdScriptSetFlag(), MainRoutineStateWork and Sint32.
Definition at line 1637 of file lemurian_ship.c.
scLemurianShipSetUpLowerFloorJelly
void scLemurianShipSetUpLowerFloorJelly(Sint32 id)
Sets a jelly up on the room of six jellies' lower floor, 32 pixels down.
References fdActorGetById(), fdActorSetSpritePriority() and Sint32.
Referenced by scLemurianShipSetUpSixJellyRoom().
Definition at line 1722 of file lemurian_ship.c.
scLemurianShipSetUpSixJellyRoom
void scLemurianShipSetUpSixJellyRoom(void)
The room of six jellies: its crate, its jellies, and the puddles of those beaten.
References fdActorGetById(), fdActorPlaceBlocks(), fdActorSetSpritePriority(), fdFlagBlockPlaceAll(), fdMapGridCopyMetatileAttributes(), fdScriptClearFlag(), fdScriptGetFlag(), LemurianShipCrate, LemurianShipSixJellyRoomPuddles, MainRoutineStateWork, scFieldActorSetPosAndResetMotion(), scLemurianShipKeepSixJellyRoomPuddles(), scLemurianShipMeltJellyIntoPuddle(), scLemurianShipScareJellyOnArrival(), scLemurianShipSetUpLowerFloorJelly(), Sint32 and sySetEvent().
Referenced by scInit().
Definition at line 1760 of file lemurian_ship.c.
scLemurianShipMatchCratePriority
void scLemurianShipMatchCratePriority(void)
An event: draws the ledge crate at the leader's sprite priority.
References fdActorGetById(), fdActorSetSpritePriority() and MainRoutineStateWork.
Referenced by scLemurianShipSetUpLedgeRoom().
Definition at line 1939 of file lemurian_ship.c.
scLemurianShipSetUpLedgeRoom
void scLemurianShipSetUpLedgeRoom(void)
The room of the crate on the ledge.
References fdActorPlaceBlocks(), fdMapGridCopyMetatileAttributes(), fdScriptGetFlag(), LemurianShipCrate, scLemurianShipMatchCratePriority() and sySetEvent().
Referenced by scInit().
Definition at line 1953 of file lemurian_ship.c.
scLemurianShipSetUpJelly
void scLemurianShipSetUpJelly(Sint32 id)
Sets a jelly up on the floor.
References fdActorGetById(), fdActorSetSpritePriority() and Sint32.
Referenced by scLemurianShipSetUpPipeRoom().
Definition at line 1962 of file lemurian_ship.c.
scLemurianShipSetUpPipeRoom
void scLemurianShipSetUpPipeRoom(void)
The room of the pipes: each beaten one leaves a puddle and opens its metatile.
References fdActorGetById(), fdActorPlaceBlocks(), fdActorSetPosAndResetMotion(), fdActorSetSpritePriority(), fdFlagBlockPlaceAll(), fdScriptClearFlag(), fdScriptGetFlag(), LemurianShipCrate, LemurianShipPipeRoomPuddles, MainRoutineStateWork, scFieldSetTickEvent(), scLemurianShipKeepPipeRoomPuddles(), scLemurianShipMeltJellyIntoPuddle() and scLemurianShipSetUpJelly().
Referenced by scInit().
Definition at line 1975 of file lemurian_ship.c.
scLemurianShipSetUpStairRoom
void scLemurianShipSetUpStairRoom(void)
The stair room: once the engine runs, its stairs are open.
References fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo() and fdScriptGetFlag().
Referenced by scInit().
Definition at line 2114 of file lemurian_ship.c.
scLemurianShipSetUpHold
void scLemurianShipSetUpHold(void)
The hold of the Aqua Hydra: once it is beaten the hold is flooded, and once Parch has dried it the chest lies on dry floor.
References fdActorGetById(), fdActorSetPosAndResetMotion(), fdActorSetPosFX(), fdActorSetSpritePriority(), fdCameraFollowActor(), fdMapGridCenterOnFollowedPoint(), fdMapGridCopyMetatileAttributes(), fdMapGridSetCameraBounds(), fdScriptClearFlag(), fdScriptGetFlag(), MainRoutineStateWork, scFieldActorSetSpriteColor(), scLemurianShipFloodHold(), scLemurianShipRippleAroundLeader(), sySetEvent() and sySynch().
Referenced by scInit().
Definition at line 2125 of file lemurian_ship.c.
scLemurianShipSetUpPillarRoom
void scLemurianShipSetUpPillarRoom(void)
The room of the two pillars Douse fills, as the player left them.
References fdActorGetById(), fdActorPlaceBlocks(), fdActorSetAnimation(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdFlagBlockPlaceAll(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), fdScriptGetFlag(), fdScriptSetFlag(), LemurianShipPillars, LemurianShipTwoJellyRoomPuddles, MainRoutineStateWork, scFieldActorSetPosAndResetMotion(), scFieldActorSetSpriteColor(), scFieldSetTickEvent(), scLemurianShipKeepPillarRoomPuddles(), scLemurianShipWatchPillarPuddles(), sySetEvent() and sySynch().
Referenced by scInit().
Definition at line 2174 of file lemurian_ship.c.
scLemurianShipSetUpEngineRoom
void scLemurianShipSetUpEngineRoom(void)
The engine room: until the engine runs, Piers sets the Black Crystal as the party arrives.
References fdScriptGetFlag() and scLemurianShipSetBlackCrystal().
Referenced by scInit().
Definition at line 2242 of file lemurian_ship.c.
Variables in detail
LemurianShipAquaHydraEntrances
extern SCENE_ENTRANCE LemurianShipAquaHydraEntrances[]
SCENE_ENTRANCE LemurianShipAquaHydraEntrances[]
The lower deck's entrances.
Referenced by scGetEntrances().
Definition at lines 305 and 2396 of file lemurian_ship.c.
LemurianShipJellyMelts
extern Sint32 LemurianShipJellyMelts[]
Sint32 LemurianShipJellyMelts[]
A beaten jelly melting away: it sinks flat over a second and is put away.
References Sint32.
Referenced by scLemurianShipMeltJellyIntoPuddle().
Definition at lines 373 and 2252 of file lemurian_ship.c.
LemurianShipPuddleSpreads
extern Sint32 LemurianShipPuddleSpreads[]
Sint32 LemurianShipPuddleSpreads[]
The puddle spreading where the jelly melted.
References Sint32.
Referenced by scLemurianShipMeltJellyIntoPuddle().
Definition at lines 374 and 2263 of file lemurian_ship.c.
LemurianShipHydraForms
extern Sint32 LemurianShipHydraForms[]
Sint32 LemurianShipHydraForms[]
The Aqua Hydra forming out of the gathered jellies, growing in pulses.
References Sint32.
Referenced by scLemurianShipFightAquaHydra().
Definition at lines 375 and 2272 of file lemurian_ship.c.
LemurianShipCrate
extern Sint16 LemurianShipCrate[]
Sint16 LemurianShipCrate[]
The tall crate Move and a push take up, by actor id: the first placed actor of each room that has one.
Referenced by scLemurianShipLiftCrate(), scLemurianShipLiftLedgeCrate(), scLemurianShipSetUpLedgeRoom(), scLemurianShipSetUpPipeRoom() and scLemurianShipSetUpSixJellyRoom().
Definition at lines 376 and 2317 of file lemurian_ship.c.
LemurianShipTwoJellyRoomPuddles
extern Sint16 LemurianShipTwoJellyRoomPuddles[]
Sint16 LemurianShipTwoJellyRoomPuddles[]
The room of two jellies' puddles, by actor id and flag.
Referenced by scLemurianShipFreezeTwoJellyRoomPuddle(), scLemurianShipSetUpPillarRoom() and scLemurianShipSetUpTwoJellyRoom().
Definition at lines 377 and 2322 of file lemurian_ship.c.
LemurianShipSixJellyRoomPuddles
extern Sint16 LemurianShipSixJellyRoomPuddles[]
Sint16 LemurianShipSixJellyRoomPuddles[]
The room of six jellies' puddles, by actor id and flag.
Referenced by scLemurianShipFreezeSixJellyRoomPuddle() and scLemurianShipSetUpSixJellyRoom().
Definition at lines 378 and 2329 of file lemurian_ship.c.
LemurianShipPipeRoomPuddles
extern Sint16 LemurianShipPipeRoomPuddles[]
Sint16 LemurianShipPipeRoomPuddles[]
The room of the pipes' puddles, by actor id and flag.
Referenced by scLemurianShipFreezePipeRoomPuddle() and scLemurianShipSetUpPipeRoom().
Definition at lines 379 and 2339 of file lemurian_ship.c.
LemurianShipPillars
extern Sint16 LemurianShipPillars[]
Sint16 LemurianShipPillars[]
The two pillars Move and a push take up, by actor id.
Referenced by scLemurianShipLiftPillar() and scLemurianShipSetUpPillarRoom().
Definition at lines 380 and 2350 of file lemurian_ship.c.
LemurianShipLightToOrb
extern Uint32 LemurianShipLightToOrb[]
Uint32 LemurianShipLightToOrb[]
A glint drifting in to the orb, gone as it arrives.
Referenced by scLemurianShipDrawLightToOrb().
Definition at lines 384 and 2994 of file lemurian_ship.c.
LemurianShipLedgeRoomPlacements
extern ACTOR_PLACE LemurianShipLedgeRoomPlacements[]
ACTOR_PLACE LemurianShipLedgeRoomPlacements[]
The ledge room's actors, by LEMURIAN_SHIP_LEDGE_ROOM_ACTOR_ID.
Referenced by scGetActorPlacements().
Definition at lines 386 and 2604 of file lemurian_ship.c.
LemurianShipPipeRoomPlacements
extern ACTOR_PLACE LemurianShipPipeRoomPlacements[]
ACTOR_PLACE LemurianShipPipeRoomPlacements[]
The room of the pipes' actors, by LEMURIAN_SHIP_PIPE_ROOM_ACTOR_ID.
Referenced by scGetActorPlacements().
Definition at lines 387 and 2611 of file lemurian_ship.c.
LemurianShipLedgeRoomCues
extern CUE LemurianShipLedgeRoomCues[]
CUE LemurianShipLedgeRoomCues[]
The ledge room's cues.
References scLemurianShipLiftLedgeCrate(), scLemurianShipOpenDoor() and scLemurianShipPushCrateOffLedge().
Referenced by scGetCues().
Definition at lines 578 and 2865 of file lemurian_ship.c.
LemurianShipHoldCues
extern CUE LemurianShipHoldCues[]
CUE LemurianShipHoldCues[]
The hold's cues.
References scLemurianShipFightAquaHydra(), scLemurianShipOpenLowerDoor(), scLemurianShipParchHold() and scLemurianShipStartParch().
Referenced by scGetCues().
Definition at lines 579 and 2933 of file lemurian_ship.c.
LemurianShipPillarRoomCues
extern CUE LemurianShipPillarRoomCues[]
CUE LemurianShipPillarRoomCues[]
The pillar room's cues.
References scLemurianShipDouseLeftPillar(), scLemurianShipDouseRightPillar(), scLemurianShipFreezeTwoJellyRoomPuddle(), scLemurianShipLiftPillar(), scLemurianShipRaiseLeftPillar(), scLemurianShipRaiseRightPillar(), scLemurianShipSetDownPillar(), scLemurianShipShowLeftPillarPuddle(), scLemurianShipShowRightPillarPuddle() and scLemurianShipWalkIntoPassage().
Referenced by scGetCues().
Definition at lines 580 and 2952 of file lemurian_ship.c.
LemurianShipPiersToPedestal
Uint32 LemurianShipPiersToPedestal[]
Piers walking up to the Black Crystal's pedestal.
Referenced by scLemurianShipSetBlackCrystal().
Definition at line 2289 of file lemurian_ship.c.
LemurianShipShebaStepsUp
Uint32 LemurianShipShebaStepsUp[]
Sheba stepping up beside Piers.
Referenced by scLemurianShipSetBlackCrystal().
Definition at line 2295 of file lemurian_ship.c.
LemurianShipJennaStepsUp
Uint32 LemurianShipJennaStepsUp[]
Jenna stepping up beside Piers.
Referenced by scLemurianShipSetBlackCrystal().
Definition at line 2302 of file lemurian_ship.c.
LemurianShipKradenStepsUp
Uint32 LemurianShipKradenStepsUp[]
Kraden stepping up beside Piers.
Referenced by scLemurianShipSetBlackCrystal().
Definition at line 2309 of file lemurian_ship.c.
LemurianShipEntrances
Sint32 LemurianShipEntrances[]
The tables for any scene but the two: one entrance, no actors and no cues.
References Sint32.
Referenced by scGetEntrances().
Definition at line 2373 of file lemurian_ship.c.
LemurianShipCabinsEntrances
Uint32 LemurianShipCabinsEntrances[]
The cabins' entrances.
Referenced by scGetEntrances().
Definition at line 2379 of file lemurian_ship.c.
LemurianShipCabinsRegions
Uint32 LemurianShipCabinsRegions[]
The cabins' exit regions.
Referenced by scGetExitRegions().
Definition at line 2420 of file lemurian_ship.c.
LemurianShipAquaHydraRegions
Uint32 LemurianShipAquaHydraRegions[]
The lower deck's exit regions.
Referenced by scGetExitRegions().
Definition at line 2427 of file lemurian_ship.c.
SceneExits
Uint32 SceneExits[]
Referenced by scGetExits().
Definition at line 2433 of file lemurian_ship.c.
LemurianShipPlacements
ACTOR_PLACE LemurianShipPlacements[]
For any scene but the two: no actors.
Referenced by scGetActorPlacements().
Definition at line 2555 of file lemurian_ship.c.
LemurianShipTwoJellyRoomPlacements
ACTOR_PLACE LemurianShipTwoJellyRoomPlacements[]
The room of two jellies' actors, by LEMURIAN_SHIP_TWO_JELLY_ROOM_ACTOR_ID.
Referenced by scGetActorPlacements().
Definition at line 2560 of file lemurian_ship.c.
LemurianShipSixJellyRoomPlacements
ACTOR_PLACE LemurianShipSixJellyRoomPlacements[]
The room of six jellies' actors, by LEMURIAN_SHIP_SIX_JELLY_ROOM_ACTOR_ID.
Referenced by scGetActorPlacements().
Definition at line 2573 of file lemurian_ship.c.
LemurianShipHoldPlacements
ACTOR_PLACE LemurianShipHoldPlacements[]
The hold's actors, by LEMURIAN_SHIP_HOLD_ACTOR_ID.
Referenced by scGetActorPlacements().
Definition at line 2646 of file lemurian_ship.c.
LemurianShipPillarRoomPlacements
ACTOR_PLACE LemurianShipPillarRoomPlacements[]
The pillar room's actors, by LEMURIAN_SHIP_PILLAR_ROOM_ACTOR_ID.
Referenced by scGetActorPlacements().
Definition at line 2670 of file lemurian_ship.c.
LemurianShipEngineRoomPlacements
ACTOR_PLACE LemurianShipEngineRoomPlacements[]
The engine room's actors, by LEMURIAN_SHIP_ENGINE_ROOM_ACTOR_ID.
Referenced by scGetActorPlacements().
Definition at line 2683 of file lemurian_ship.c.
LemurianShipDoorOpening
Sint16 LemurianShipDoorOpening[]
How a ship's door swings open, as three ticks of metatiles copied over the closed door, ended by
-1 (MAP_EDIT_STEPS_END).
Referenced by LemurianShipDoors and LemurianShipLowerDoors.
Definition at line 2697 of file lemurian_ship.c.
LemurianShipFirstDoorOpening
Sint16 LemurianShipFirstDoorOpening[]
How the logbook room's door swings open, in two ticks.
Referenced by LemurianShipDoors.
Definition at line 2705 of file lemurian_ship.c.
LemurianShipDoors
LEMURIAN_SHIP_WARP LemurianShipDoors[CABIN_DOOR_COUNT]
The cabin doors, by the step cue that opens each.
References LemurianShipDoorOpening, LemurianShipFirstDoorOpening and Sint32.
Referenced by scLemurianShipOpenDoor().
Definition at line 2716 of file lemurian_ship.c.
LemurianShipLowerDoors
LEMURIAN_SHIP_WARP LemurianShipLowerDoors[LOWER_DOOR_COUNT + 2]
The lower deck's doors, by the step cue that opens each, then the hold's two doors while it is
flooded, which scLemurianShipOpenLowerDoor finds by the dry hold's. Only the hold's cues open a
door of this table: the pillar room's and the corridor's rows are never matched, as their arched
doorways are walked through by scLemurianShipWalkIntoPassage.
References LemurianShipDoorOpening and Sint32.
Referenced by scLemurianShipOpenLowerDoor().
Definition at line 2735 of file lemurian_ship.c.
LemurianShipCues
CUE LemurianShipCues[]
For any scene but the two: no cues.
Referenced by scGetCues().
Definition at line 2750 of file lemurian_ship.c.
LemurianShipCabinCues
CUE LemurianShipCabinCues[]
The cabins' cues.
References scLemurianShipOpenDoor().
Referenced by scGetCues().
Definition at line 2755 of file lemurian_ship.c.
LemurianShipTwoJellyRoomCues
CUE LemurianShipTwoJellyRoomCues[]
The room of two jellies' cues.
References scLemurianShipFightTwoJellyRoomJelly() and scLemurianShipFreezeTwoJellyRoomPuddle().
Referenced by scGetCues().
Definition at line 2788 of file lemurian_ship.c.
LemurianShipSixJellyRoomCues
CUE LemurianShipSixJellyRoomCues[]
The room of six jellies' cues.
References scLemurianShipExamineLiftSwitch(), scLemurianShipFightSixJellyRoomJelly(), scLemurianShipFreezeLiftPuddle(), scLemurianShipFreezeSixJellyRoomPuddle(), scLemurianShipLiftCrate(), scLemurianShipOpenDoor(), scLemurianShipScareJelly(), scLemurianShipSetDownCrate(), scLemurianShipStepOnLift() and scLemurianShipStepOnLiftWestSide().
Referenced by scGetCues().
Definition at line 2809 of file lemurian_ship.c.
LemurianShipPipeRoomCues
CUE LemurianShipPipeRoomCues[]
The room of the pipes' cues.
References scLemurianShipFightPipeRoomJelly(), scLemurianShipFreezePipeRoomPuddle(), scLemurianShipLiftCrate(), scLemurianShipOpenDoor() and scLemurianShipSetDownCrate().
Referenced by scGetCues().
Definition at line 2885 of file lemurian_ship.c.
LemurianShipLowerDeckCues
CUE LemurianShipLowerDeckCues[]
The lower deck's cues.
References scLemurianShipWalkIntoPassage().
Referenced by scGetCues().
Definition at line 2983 of file lemurian_ship.c.