src/scene/venus_lighthouse.c
Venus Lighthouse, six scenes in one overlay: the approach outside, the floor the front door opens onto, and the four floors of the climb that ends in the Lighthouse Aerie at the top (venus_lighthouse_aerie.c). More…
#include "ability_ids.h"#include "flags.h"#include "item_ids.h"#include "battle/battle.h"#include "debug/debug.h"#include "field/script_inline.h"#include "field/ground_mask.h"#include "field/map_grid.h"#include "graphics/graphics.h"#include "scene/actor_step.h"#include "scene/field_effect_spawn.h"#include "scene/walk_into_leader.h"#include "text/msg_ids.h"#include "shared/field_effect_spawn.c"#include "shared/position_distance.c"#include "shared/actor_find_at_position.c"#include "shared/pushed_actor_fill_rectangle.c"#include "shared/actor_depth.c"#include "shared/actor_wait_until_landed.c"#include "shared/field_effect_advance.c"#include "shared/field_effect_radial.c"#include "shared/field_effect_duration_scripts.c"#include "shared/pushed_actor_direction_steps.c"#include "shared/balance_heights.c"#include "shared/glint_twinkle_script.c"
Macros
| Name | Description | |
|---|---|---|
#define | NO_THIRD_FLOOR_SOCKET 5 | A socket index past the third floor's four (VenusThirdFloorSockets) and the fourth floor's eight (VenusFourthFloorSockets): the pillar is in none. |
#define | NO_FOURTH_FLOOR_SOCKET 8 | |
#define | FLAG_VENUS_LIGHTHOUSE_WALL_MOVED FLAG_AREA_TEMP(0x00) | Area flags, kept while the party stays on the climb; other areas use the same numbers for their own. |
#define | FLAG_VENUS_LIGHTHOUSE_WEST_WALL_MOVED FLAG_AREA_TEMP(0x06) | The fourth floor's west and east floor switches have slid their walls aside. |
#define | FLAG_VENUS_LIGHTHOUSE_EAST_WALL_MOVED FLAG_AREA_TEMP(0x07) | |
#define | FLAG_VENUS_LIGHTHOUSE_GATE_OPEN FLAG_AREA_TEMP(0x01) | The light from the second floor's lady statue has opened the gate at the end of its track. |
#define | FLAG_VENUS_LIGHTHOUSE_SOUTHEAST_SOCKET_EMPTY FLAG_AREA_TEMP(0x02) | The pillars stand in every socket of VenusThirdFloorSockets but the southeast one. |
#define | FLAG_VENUS_LIGHTHOUSE_NORTHWEST_SOCKET_EMPTY FLAG_AREA_TEMP(0x03) | The pillars stand in every socket of VenusThirdFloorSockets but the northwest one. |
#define | FLAG_VENUS_LIGHTHOUSE_THREE_PILLAR_GATE_OPEN FLAG_AREA_TEMP(0x04) | The third floor's gate, opened by the light its three sunken pillars carry. |
#define | FLAG_VENUS_LIGHTHOUSE_PILLAR_GATE_OPEN FLAG_AREA_TEMP(0x08) | The fourth floor's gate, opened by the light the four pillars of its pillar room carry. |
#define | FLAG_VENUS_LIGHTHOUSE_FIRST_FLOOR_PSYNERGY_STONE FLAG_AREA_TEMP(0x50) | The first floor's Psynergy Stone, taken until the party leaves the climb. |
#define | FLAG_VENUS_LIGHTHOUSE_FOURTH_FLOOR_PSYNERGY_STONE FLAG_AREA_TEMP(0x51) | The fourth floor's Psynergy Stone, as the first floor's. |
#define | VENUS_LIGHTHOUSE_FIXED_OFFSET (value, bits) ((value) * (1 << (bits))) | |
#define | VENUS_LIGHTHOUSE_ARRIVE_THROUGH_SPARK_PASSAGE | |
#define | VENUS_DESCENT_COLLISION_X WHEN(VENUS_HOLE_DROP_OPENS_WIDER, 33, 34) | The metatiles of row 34 that take row 35's behaviours as Isaac drops through the first floor's hole: their first column and their width, wider in the French, Spanish and Italian editions. |
#define | VENUS_DESCENT_COLLISION_WIDTH WHEN(VENUS_HOLE_DROP_OPENS_WIDER, 7, 5) | |
#define | FLAG_VENUS_LIGHTHOUSE_STATUE_ON_SWITCH FLAG_SCENE_TEMP(0x00) | Scene flags, cleared at the next change of scene. |
#define | FLAG_VENUS_LIGHTHOUSE_ON_GROUND_FLOOR_SWITCH FLAG_SCENE_TEMP(0x01) | On the ground floor, the leader stands on that switch and holds it down. |
#define | FLAG_VENUS_LIGHTHOUSE_FIRST_FLOATING_PILLAR_SETTLED | On the fourth floor, the first of four flags, one for each floating pillar by its number (0 to 3): that pillar has come to rest, set down on a balance platform or at metatile (13, 7), or dropped through the floor. |
#define | VENUS_COLOR_MARK (mode) (VENUS_COLOR_MARK_TAG << 4 | (mode)) | An actor's colorMark as VenusGreyStatueScript and VenusGreyPillarScript set it. |
#define | VENUS_COLOR_MARK_MODE (mark) ((mark) & 15) | The colour mode a VENUS_COLOR_MARK holds. |
#define | SOLDIER_FLICKERS 10 | The times the soldier who tells of the attack flickers as he vanishes, the pause after each a tick shorter than the last, from eight ticks to three. |
#define | VENUS_GATE_PILLAR_SOCKET_COLUMN 46 | The metatile of the socket west of the second floor's gate pillar, the dark square in the gold track. |
#define | VENUS_GATE_PILLAR_SOCKET_ROW 45 |
Enumerations
| Name | Description | |
|---|---|---|
enum | VENUS_LIGHTHOUSE_METATILE_BEHAVIOR { METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_LOCKED_DOOR, METATILE_BEH … } | The metatile behaviors the floors' scripts answer, by floor. |
enum | VENUS_LIGHTHOUSE_ENTRY_ACTOR_ID { ACTOR_SOLDIER_TELLING_OF_THE_ATTACK, ACTOR_SCHOLAR_LIGHTHOUS … } | Venus Lighthouse Entry's actors, numbering the rows of VenusLighthouseEntryActorPlacements. |
enum | VENUS_LIGHTHOUSE_GROUND_FLOOR_ACTOR_ID { ACTOR_SCHOLAR_ATTACKED_ANYWAY, ACTOR_SCHOLAR_NOT_THE_ENTRANC … } | VenusLighthouseGroundFloor's actors, numbering the rows of VenusLighthouseGroundFloorActorPlacements after Garet's. |
enum | VENUS_LIGHTHOUSE_FIRST_FLOOR_ACTOR_ID { ACTOR_FIRST_CAPPED_PILLAR, ACTOR_FIRST_CARRY_PILLAR } | VenusLighthouseFirstFloor's actors, numbering the rows of VenusLighthouseFirstFloorActorPlacements. |
enum | VENUS_LIGHTHOUSE_SECOND_FLOOR_ACTOR_ID { ACTOR_GATE_STATUE, ACTOR_GATE_PILLAR, ACTOR_GATE_SPARKLE } | VenusLighthouseSecondFloor's actors, numbering the rows of VenusLighthouseSecondFloorActorPlacements. |
enum | VENUS_LIGHTHOUSE_THIRD_FLOOR_ACTOR_ID { ACTOR_SWITCH_STATUE, ACTOR_FIRST_SWITCH_PILLAR, ACTOR_SWITCH … } | VenusLighthouseThirdFloor's actors, numbering the rows of VenusLighthouseThirdFloorActorPlacements. |
enum | VENUS_LIGHTHOUSE_FOURTH_FLOOR_ACTOR_ID { ACTOR_BALANCE_WEST, ACTOR_BALANCE_EAST, ACTOR_FIRST_FLOATING … } | VenusLighthouseFourthFloor's actors, numbering the rows of VenusLighthouseFourthFloorActorPlacements. |
enum | anonymous enum { ANIM_HURT_LYING } | Animations the lighthouse plays by number beyond ACTOR_ANIMATION, from each sprite's animation table (graphics/sprite/<name>.tsv). |
enum | anonymous enum { ANIM_STEPS_FAST } | An animation timer step for fdActorSetAnimationSpeedById, in sixteenths of a tick taken off each tick. |
enum | VENUS_TRACK { VENUS_TRACK_END, VENUS_TRACK_NORTH_SOUTH, VENUS_TRACK_NORTH_ … } | The pieces of gold track a SPRITE_SPIRAL_PILLAR can carry, its animations from 3. |
enum | anonymous enum { VENUS_COLOR_MARK_TAG } | The tag VENUS_COLOR_MARK puts above the colour mode. |
enum | anonymous enum { SW_VENUS_IMMOVABLE, SW_VENUS_LIGHT_ARRIVED } | The scene's names for the bytes Actor keeps for scene code. |
Functions
| Name | Description | |
|---|---|---|
static void | scVenusLighthouseDriftLeader (VECTOR3 *direction) | Carries the leader along on flowing sand, 1.5 pixels a call (3 << 15), kicking up puffs of sand, and stops him at a wall or drops him down a ledge. direction is the way the drifting floor carries the party: -1, 0 or 1 on x and on z; y is not read. |
static void | scVenusLighthouseMoveFirstFloorSandFall (void) | After the second floor's switch, the view cuts to the first floor's room of three doors with the party out of sight. |
static void | scVenusLighthousePuffWestSlideHead (void) | Each tick once the third floor's west slide pours, puffs of sand at its head. |
static void | scVenusLighthousePuffEastSlideHead (void) | As scVenusLighthousePuffWestSlideHead, for the east slide. |
static void | scVenusLighthousePourWestSandSlide (void) | After the fourth floor's west switch, the view cuts to the third floor's room of three sand slides, where a wave of sand pours down the west slide, row by row, and keeps puffing at its head. |
static void | scVenusLighthousePourEastSandSlide (void) | After the fourth floor's east switch, sand pours down the third floor's east slide in the same way (scVenusLighthousePourWestSandSlide). |
static void | scVenusLighthouseRaiseLeaderInSparkles (void) | After the drop through the gap, Isaac lands on a small round platform (ACTOR_RISING_PLATFORM), which rises with him in a column of sparkles until the scene changes to the Lighthouse Aerie. |
static UNUSED Sint32 | scMapGridFillCollisionRectangle (Uint32 layer, Sint32 x, Sint32 z, Uint32 width, Uint32 height, Sint32 value) | Sets the metatile behavior of a width by height rectangle of metatiles, from metatile (x, z), to value, on map grid layer 0 to 2, or (3 and up) in MapGridMetatileBuffer. |
static void | scVenusLighthouseConfigurePassageEffect (ACTOR *actor, Sint32 colorMode) | Makes a mask still, never a talk or Psynergy target, shadowless and drawn in the given colour mode. |
static ACTOR * | scVenusLighthouseCreateBlendedPassageEffect (Sint32 x, Sint32 y, Sint32 z, Sint32 type) | Creates a mask over a hole as the leader or a pillar falls through the floor. |
static ACTOR * | scVenusLighthouseCreateOccludingPassageEffect (Sint32 x, Sint32 y, Sint32 z, Sint32 type) | Creates an actor that keeps the leader on screen while a pillar sinks into its socket with him standing north of it, where the sinking code puts his sprite at priority 3. |
static void | scVenusLighthousePushPillarAhead (void) | Pushing a pillar moves the pillar ahead of the leader one metatile on with him, leaning into it (ANIM_PUSH). |
static void | scVenusLighthouseRestoreMarkedColors (void) | After a battle, draws every actor whose colorMark holds a VENUS_COLOR_MARK in its colour mode again. |
static Sint32 | scVenusLighthouseApplyMarkedColor (ACTOR *actor) | Draws the actor in the colour mode of its VENUS_COLOR_MARK. |
static UNREAD_RESULT | scVenusLighthouseFlashStruckLeader (ACTOR *actor) | The leader flashes white one tick in four as the lightning strikes him, with a crackle every eight ticks. |
static UNREAD_RESULT | scVenusLighthouseEmitRisingParticles (ACTOR *actor) | Small black puffs of smoke rise from the leader, one every eight ticks, after the lightning has struck him. |
static Sint32 | scVenusLighthouseClearScriptedSpriteFlags (ACTOR *actor) | Takes the scripted actor's shadow away, and its script goes on. |
static UNREAD_RESULT | scVenusLighthouseEmitPassageSparkTrail (ACTOR *actor) | The sparks that trail the leader through a sparkling passage: a stream falling from his shoulders every tick and a larger one every 16. |
static void | scVenusLighthouseEnterSparklingPassage (void) | Isaac walks north into one of the sparkling passages on the second and third floors and fades away in a trail of sparks, to come out of the passage's other end. |
static void | scVenusLighthouseArriveThroughSparkPassage (void) | Brings the leader out of a sparkling passage on a fresh arrival. |
static void | scVenusLighthouseEnterCappedPillarRows (void) | Isaac steps into the dotted square of floor where the first floor's three capped pillars stand (metatiles (11..16, 43..53)), and the ground mask is drawn on him from now on. |
static void | scVenusLighthouseLeaveCappedPillarRows (void) | Isaac steps out of the dotted square of the capped pillars onto the floor round it, and the ground mask (scVenusLighthouseEnterCappedPillarRows) is no longer drawn on him. |
static void | scVenusLighthouseLandWithRadialDust (void) | Isaac drops from above into the first floor's lower room after falling through the hole at the foot of the sand slide, and lands in a ring of white dust. |
static UNREAD_RESULT | scVenusLighthouseTrailLight (ACTOR *actor) | A light's update function: every four ticks a shrinking particle around it, and now and then a sound while it moves. |
static ACTOR * | scVenusLighthouseCreateLight (Sint32 x, Sint32 z, const Sint32 *script) | Creates a light at a lady statue, at pixel x and z, and starts it along its path script, trailing particles (scVenusLighthouseTrailLight). |
static Bool | scVenusLighthouseJumpAcrossGap (void) | Walking into a one-metatile gap in the floor, Isaac springs and leaps across it, if the metatile beyond is clear. |
const SCENE_ENTRANCE * | scGetEntrances (void) | Selects the scene's entrances. |
const SCENE_EXIT_REGION * | scGetExitRegions (void) | These scenes supply no exit regions. |
const Uint32 * | scGetExits (void) | Returns the packed exits shared by the six scenes. |
const ACTOR_PLACE * | scGetActorPlacements (void) | Selects the scene's actor placements. |
static void | scVenusLighthouseSearchLockedDoor (void) | Isaac searches one of the pink gates at the end of a gold track, on the second, third or fourth floor (metatiles (46, 42), (45, 38) and (13, 36)), before a light has opened it, and a message says the door is tightly locked. |
static void | scVenusLighthouseHearOfTheAttack (void) | Outside Venus Lighthouse, Isaac talks to the dying soldier by the way in, or reads his mind, and he gasps out that strange wanderers attacked the lighthouse, then flickers and vanishes. |
static void | scVenusLighthouseTalkToWaitingScholar (void) | Outside Venus Lighthouse, a scholar lying hurt on the ground tells Isaac he has waited so long to see inside, and now cannot move for the pain. |
static void | scVenusLighthouseCarryPillarPastWall (void) | Isaac lifts the grey spiral-marked pillar with Carry, in the room east of the reliefs where Move and pushing could only bring it up against the wall, and sets it down out of the way. |
static void | scVenusLighthouseReadRelief (void) | Isaac reads the relief on the wall of the room north of the entrance hall (metatiles (19, 10) to (23, 10)): "There are words carved into the relief... |
static void | scVenusLighthouseHidePath (void) | When Reveal wears off on the lighthouse's ground floor, the two hidden ways it showed vanish again: the doorway at the east end of the carved reliefs (metatiles (23, 8..10)) and the stairs in the south of the lady statue's room (metatiles (46..48, 55..57)). |
static void | scVenusLighthouseRevealPath (void) | Isaac casts Reveal on the lighthouse's ground floor, and the screen turns grey as a doorway appears at the east end of the carved reliefs (metatiles (23, 8..10)), the way to the Carry Stone. |
static void | scVenusLighthouseThrowBackFromLightning (void) | Isaac walks into the band of yellow lightning that crackles across the floor south of the lady statue (metatiles (41..43, 53..57)), and it strikes him. |
static inline void | scVenusLighthouseDrawFirstPath (void) | Redraws the great statue's room for the first of the two paths it opens (FLAG_VENUS_LIGHTHOUSE_FIRST_PATH). |
static inline void | scVenusLighthouseDrawSecondPath (void) | Redraws the great statue's room with the second path open (FLAG_VENUS_LIGHTHOUSE_SECOND_PATH), as scVenusLighthouseDrawFirstPath. |
static void | scVenusLighthouseSearchStatue (void) | Isaac searches the great seated statue at the north end of its hall (metatile (28, 25)), and the statue speaks to his soul. |
static void | scVenusLighthouseMovePillarTowardWall (void) | Isaac Moves the grey spiral-marked pillar in the room east of the reliefs. |
static void | scVenusLighthousePushPillarTowardWall (void) | Isaac pushes the grey spiral-marked pillar in the room east of the reliefs by walking into it, as Move would, with Garet's remark once it reaches the wall. |
static void | scVenusLighthouseMoveStatueOntoSwitch (void) | Isaac Moves the lady statue in the north-west corner of her room east onto the floor switch in front of her (metatile (42, 49)). |
static void | scVenusLighthouseStepOnFloorSwitch (void) | Isaac steps onto the middle of the pink floor switch in front of the lady statue (metatile (42, 49)): it sinks under him with a rattle, and the band of lightning across the floor south of her vanishes for as long as he stands there (FLAG_VENUS_LIGHTHOUSE_ON_GROUND_FLOOR_SWITCH). |
static void | scVenusLighthouseTalkToScholarByDoor (void) | A scholar standing at the west door of the great statue's hall tells Isaac he came in to explore once the door opened, and the camera turns to the statue as he says the wanderers did something to it that made the floor light up. |
static void | scVenusLighthouseFallThroughFloor (void) | On the first floor, Isaac steps onto the hole in the floor and drops through it into the room below. |
static void | scVenusLighthouseMoveCappedPillar (void) | Isaac Moves one of the three grey pillars with white tops that stand in the dotted square of floor in the first floor's south-west room (metatiles (11..16, 43..53)), so that he can leap onto their tops. |
static void | scVenusLighthousePushCappedPillar (void) | Isaac walks into one of the three white-topped pillars in the first floor's south-west room and pushes it a metatile, as Move would. |
static void | scVenusLighthouseUnblockCarryPillarMetatiles (void) | As Isaac begins Move or Carry on one of the two grey spiral-marked pillars by the pit on the first floor, or pushes one, the metatiles under both pillars are made the kind that walking into tries a jump or a push, since one of the pillars is about to leave its metatile. |
static void | scVenusLighthouseMoveCarryPillar (void) | Isaac Moves one of the two grey spiral-marked pillars by the pit in the first floor's west room (metatiles (4..16, 21..27)). |
static void | scVenusLighthouseJumpOrPushCarryPillar (void) | Isaac walks into the pit or one of the two spiral-marked pillars beside it, in the first floor's west room. |
static void | scVenusLighthouseSetPillarInPit (ACTOR *pillar) | A pillar Carry has set down in the pit stays there, its top flush with the floor, and its metatile becomes floor Isaac can walk across. |
static void | scVenusLighthouseReleaseFallenCarryPillar (ACTOR *pillar) | A pillar Carry has dropped outside the pit falls through the floor out of sight; a pillar still standing is made solid again. |
static void | scVenusLighthouseCarryPillarAcrossGap (void) | Isaac lifts one of the two spiral-marked pillars in the first floor's west room with Carry. |
static void | scVenusLighthouseStepOnWallSwitch (void) | Isaac steps onto the pink floor switch in the east of the second floor's west room (metatile (19, 33)). |
static void | scVenusLighthouseMoveGatePillar (void) | Isaac Moves the grey pillar carrying a straight piece of gold track, in the second floor's room of the lady statue and the pink gate (the pillar starts at metatile (48, 44)). |
static void | scVenusLighthouseJumpOrPushGatePillar (void) | Isaac walks into the second floor's track pillar, or the socket, and pushes the pillar a metatile, as Move would, or leaps a one-metatile gap if the far side is clear. |
static void | scVenusLighthouseMoveSwitchPillar (void) | Isaac Moves one of the three grey pillars carrying pieces of gold track, in the third floor's room of the lady statue and four sockets. |
static void | scVenusLighthouseJumpOrPushSwitchPillar (void) | Isaac walks into one of the third floor's three track pillars and pushes it a metatile, as Move would, or leaps a one-metatile gap if the far side is clear. |
static UNREAD_RESULT | scVenusLighthouseFollowSupportingPillarHeight (ACTOR *pillar) | A pillar set down on a balance platform rides it up and down, 16 pixels above the platform or the pillar under it. |
static void | scVenusLighthouseMoveBalancePlatforms (Sint32 waitTicks) | The two balance platforms of the fourth floor's west room sink and rise to the heights their loads give them, with a grinding sound. |
static void | scVenusLighthouseStackFloatingPillar (Sint32 pillarId) | Sets a pillar Carry has dropped on a balance platform on top of whatever is highest in its metatile: the platform, or a pillar already on it. |
static inline void | scVenusLighthouseSettleFloatingPillar (ACTOR *pillar) | Stops a floating pillar where it is. |
static inline void | scVenusLighthouseCopyPos (ACTOR *destination, ACTOR *source) | Puts one pillar where another stands, leaving its motion as it was. |
static void | scVenusLighthouseCarryFloatingPillar (void) | Isaac lifts one of the four grey spiral-marked pillars floating in the fourth floor's west room with Carry and drops it onto one of the two balance platforms at the south of the room. |
static void | scVenusLighthousePushFloatingPillar (void) | Isaac walks into one of the floating pillars in the fourth floor's west room and pushes it a metatile. |
static void | scVenusLighthouseStepOnWestWallSwitch (void) | Isaac steps onto the pink floor switch on the west side of the fourth floor's big middle room (metatile (33, 20)). |
static void | scVenusLighthouseStepOnEastWallSwitch (void) | Isaac steps onto the pink floor switch on the east side of the fourth floor's big middle room (metatile (49, 20)), and as with the west one sand pours down the third floor's east slide (scVenusLighthousePourEastSandSlide). |
static void | scVenusLighthouseMoveSocketPillar (void) | Isaac Moves one of the four grey pillars carrying pieces of gold track, in the fourth floor's south-west room, where the track runs from the lady statue up to the pink gate. |
static void | scVenusLighthouseJumpOrPushSocketPillar (void) | Isaac walks into one of the fourth floor's four track pillars and pushes it a metatile, as Move would, or leaps a one-metatile gap if the far side is clear. |
static void | scVenusLighthouseEnterRisingPassage (void) | Isaac walks south into the gap in the floor of the fourth floor's last room (metatile (32, 44)) and drops through it. |
const CUE * | scGetCues (void) | Selects the puzzle interactions and dialogue for the current lighthouse scene. |
static void | scVenusLighthouseLayDownHurtActor (Sint32 actorId) | Lays one of the scholars or soldiers the wanderers hurt on the ground (ANIM_HURT_LYING), drawn behind the backgrounds' fronts, still, and neither solid nor pushable. |
static void | scVenusLighthouseVisitPillarActors (void) | An event that looks up the fourth floor's four socket pillars each tick and does nothing with them. |
Sint32 | scInit (void) | Restores puzzle progress, actors and entrance effects for all six scenes, by scene and entrance. |
static void | scVenusLighthouseDriftNorth (void) | Isaac steps onto sand flowing north in the fourth floor's sand maze, and it carries him north a metatile at a time in puffs of sand. |
static void | scVenusLighthouseDriftSouth (void) | Isaac steps onto a slide of flowing sand, and it carries him south a metatile at a time in puffs of sand until he reaches firm floor: down the middle of the first floor's big room (metatiles (34, 8) to (50, 33)), the third floor's slides, and the south-flowing sand of the fourth floor's maze. |
static void | scVenusLighthouseDriftWest (void) | Isaac steps onto sand flowing west in the fourth floor's sand maze, and it carries him west a metatile at a time in puffs of sand. |
static void | scVenusLighthouseDriftEast (void) | Isaac steps onto sand flowing east in the fourth floor's sand maze, and it carries him east a metatile at a time in puffs of sand. |
static inline void | scVenusLighthouseSetSandParticleScaleAndSpin (EFFECT_OPTIONS *options) | Chooses the size and spin of a burst of sand as a slide starts to pour. |
static void | scVenusLighthousePuffSandAtSlideHead (Sint32 x, Sint32 z) | Puffs of sand at the head of a sand slide that has started to pour, about one tick in four. |
static UNREAD_RESULT | scVenusLighthouseEmitRisingSparkles (ACTOR *actor) | Sparkles rise around the leader as the platform lifts him, one every four ticks. |
static Sint32 | scVenusLighthouseRouteLight (ACTOR *light) | A light reaching a socket runs on along the track of the pillar sunk there, by its socket's path for that piece, or goes out when the piece does not join the edge it comes in by. |
Variables
| Name | Description | |
|---|---|---|
extern SWITCH_METATILE | VenusThirdFloorSockets [] | The third floor's four sockets, by metatile: northwest, northeast, southwest and southeast. |
extern Uint32 | BalancePlatformHeights [] | A balance platform's height by its weight (its timer, from 0 to 6). |
extern SWITCH_METATILE | VenusFourthFloorSockets [] | The fourth floor's eight sockets, by metatile: northwest, northeast, west, east, far west, middle, southwest and southeast. |
extern Uint8 | VenusTracksMovingWest [] | The pieces of track a light can run onto in each direction, each list ended by VENUS_TRACK_END (scVenusLighthouseRouteLight). |
extern Uint8 | VenusTracksMovingEast [] | |
extern Uint8 | VenusTracksMovingNorth [] | |
extern Uint8 | VenusTracksMovingSouth [] | |
extern Sint32 | VenusLeaderShockedScript [] | The leader's actor script as the lightning strikes him (scVenusLighthouseThrowBackFromLightning). |
extern Sint32 | GlintTwinkleScript [] | A SPRITE_GLINT's life: it shrinks from full size to a quarter and back, four times over 24 ticks each, then is released. |
extern Sint32 | VenusSecondFloorLightToGate [] | The second floor's light. |
extern Sint32 | VenusThirdFloorLightToNortheast [] | The third floor's lights, from the lady statue to a socket, from socket to socket, and from a socket to the gate, where SW_VENUS_LIGHT_ARRIVED opens it. |
extern Sint32 | VenusThirdFloorLightToSoutheast [] | |
extern Sint32 | VenusLightGoesOut [] | A light that cannot go on. |
extern Sint32 | VenusFourthFloorLightFromStatue [] | The fourth floor's lights, as the third floor's. |
extern Sint32 | VenusFourthFloorLightToSoutheast [] | |
extern Sint32 | VenusFourthFloorLightToSouthwest [] | |
extern Uint16 | VenusSecondFloorGateMetatiles [] | The gates' metatile animations as each opens, a metatile column at a time. |
extern Uint16 | VenusThirdFloorGateMetatiles [] | |
extern Uint16 | VenusFourthFloorGateMetatiles [] | |
extern SCENE_ENTRANCE | VenusLighthouseEntryEntrances [] | |
extern SCENE_ENTRANCE | VenusLighthouseEntrancesOther [] | |
extern SCENE_ENTRANCE | VenusLighthouseFirstFloorEntrances [] | |
extern SCENE_ENTRANCE | VenusLighthouseSecondFloorEntrances [] | |
extern SCENE_ENTRANCE | VenusLighthouseThirdFloorEntrances [] | |
extern SCENE_ENTRANCE | VenusLighthouseFourthFloorEntrances [] | |
extern Uint32 | VenusLighthouseExits [] | |
extern ACTOR_PLACE | VenusLighthouseActorPlacementsOther [] | |
extern ACTOR_PLACE | VenusLighthouseEntryActorPlacements [] | |
extern ACTOR_PLACE | VenusLighthouseGroundFloorActorPlacements [] | |
extern ACTOR_PLACE | VenusLighthouseFirstFloorActorPlacements [] | |
extern ACTOR_PLACE | VenusLighthouseSecondFloorActorPlacements [] | |
extern ACTOR_PLACE | VenusLighthouseThirdFloorActorPlacements [] | |
extern ACTOR_PLACE | VenusLighthouseFourthFloorActorPlacements [] | |
extern CUE | VenusLighthouseEntryCues [] | |
extern CUE | VenusLighthouseGroundFloorCues [] | |
extern CUE | VenusLighthouseFirstFloorCues [] | |
extern CUE | VenusLighthouseSecondFloorCues [] | |
extern CUE | VenusLighthouseThirdFloorCues [] | |
extern CUE | VenusLighthouseFourthFloorCues [] | |
extern const Uint8 * | VenusThirdFloorSocketTracks [] | Cursors into each third-floor socket's list of pieces in VenusThirdFloorTrackLists, which scVenusLighthouseRouteLight moves on. |
extern Sint32 ** | VenusThirdFloorSocketPaths [] | Each third-floor socket's paths, by the index of the piece in its list. |
extern const Uint8 * | VenusFourthFloorSocketTracks [] | As VenusThirdFloorSocketTracks, for the fourth floor. |
extern Sint32 ** | VenusFourthFloorSocketPaths [] | As VenusThirdFloorSocketPaths, for the fourth floor. |
Uint8 | VenusThirdFloorTrackLists [] | The third floor's sockets' lists of the pieces they route, in the order of each socket's paths (VenusThirdFloorSocketTracks points into it). |
Uint8 | VenusFourthFloorTrackLists [] | The fourth floor's sockets' lists, as VenusThirdFloorTrackLists. |
const Sint32 * | FieldEffectDurationScripts [] | The resident copy of the scripts EFFECT_SCRIPT_MASK picks, by enum EFFECT_DURATION. |
Sint32 | VenusGreyStatueScript [] | The lady statues' actor script. |
Sint32 | VenusGreyPillarScript [] | The first floor's capped pillars' actor script: drawn grey. |
Sint32 | VenusMiniatureLighthouseScript [] | The actor script of the World Map's picture of Venus Lighthouse, placed in the ground floor's statue room at three fifths of its size, with no collision. |
Sint32 | VenusTrackNorthSouthScript [] | The actor scripts that give a spiral pillar its piece of track. |
Sint32 | VenusTrackNorthWestScript [] | |
Sint32 | VenusTrackNorthEastScript [] | |
Sint32 | VenusTrackWestEastScript [] | |
Sint32 | VenusTrackSouthEastScript [] | |
Sint32 | VenusTrackSouthWestScript [] | |
Sint32 | VenusThirdFloorLightNorthwestToGate [] | |
Sint32 | VenusThirdFloorLightNorthwestToSouthwest [] | |
Sint32 | VenusThirdFloorLightNortheastToNorthwest [] | |
Sint32 | VenusThirdFloorLightNortheastToSoutheast [] | |
Sint32 | VenusThirdFloorLightSouthwestToNorthwest [] | The same script as VenusThirdFloorLightNortheastToNorthwest, under another name. |
Sint32 | VenusThirdFloorLightSouthwestToGate [] | |
Sint32 | VenusThirdFloorLightSoutheastToNortheast [] | |
Sint32 | VenusThirdFloorLightSoutheastToSouthwest [] | The same script as VenusThirdFloorLightNorthwestToSouthwest, under another name. |
Sint32 | VenusFourthFloorLightSoutheastToMiddle [] | |
Sint32 | VenusFourthFloorLightMiddleToWest [] | |
Sint32 | VenusFourthFloorLightMiddleToEast [] | |
Sint32 | VenusFourthFloorLightWestToNorthwest [] | |
Sint32 | VenusFourthFloorLightEastToNortheast [] | |
Sint32 | VenusFourthFloorLightSouthwestToFarWest [] | |
Sint32 | VenusFourthFloorLightFarWestToWest [] | |
Sint32 | VenusFourthFloorLightNorthwestToGate [] | |
Sint32 * | VenusThirdFloorNorthwestPaths [] | Each third-floor socket's light scripts, by the index of the piece it has routed. |
Sint32 * | VenusThirdFloorNortheastPaths [] | |
Sint32 * | VenusThirdFloorSouthwestPaths [] | |
Sint32 * | VenusThirdFloorSoutheastPaths [] | |
Sint32 * | VenusFourthFloorNorthwestPaths [] | Each fourth-floor socket's light scripts, by the index of the piece it has routed. |
Sint32 * | VenusFourthFloorNortheastPaths [] | |
Sint32 * | VenusFourthFloorWestPaths [] | |
Sint32 * | VenusFourthFloorEastPaths [] | |
Sint32 * | VenusFourthFloorFarWestPaths [] | |
Sint32 * | VenusFourthFloorMiddlePaths [] | |
Sint32 * | VenusFourthFloorSouthwestPaths [] | |
Sint32 * | VenusFourthFloorSoutheastPaths [] |
Description
Venus Lighthouse, six scenes in one overlay: the approach outside, the floor
the front door opens onto, and the four floors of the climb that ends in the
Lighthouse Aerie at the top (venus_lighthouse_aerie.c).
Each scene has its own entrances, actor placements and cues
(VenusLighthouseGroundFloor's entrances are the fallback table), and all six
share one exit table. scInit redraws each scene's puzzles as their flags left
them, by entrance. Inside, only the actors of the room entered are placed
(CONDITION_IN_VIEW).
- Venus Lighthouse Entry (
SceneIdVenusLighthouseEntry), outside. The scholars and Babi's soldiers the wanderers attacked lie hurt and say what they saw. A soldier who tells of the attack flickers and vanishes (FLAG_VENUS_LIGHTHOUSE_ATTACK_TOLD), and his spot no longer answers a search. The open door (VENUS_LIGHTHOUSE_ENTRY_VENUS_LIGHTHOUSE_GROUND_FLOOR) leads in. - Venus Lighthouse (
SceneIdVenusLighthouseGroundFloor, named by an area rule of its own), the floor behind the front door, with three scholars. The great statue (METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_GREAT_STATUE) opens one of two paths (FLAG_VENUS_LIGHTHOUSE_FIRST_PATHor _SECOND_PATH): the first time the tick counter's parity picks the path, and each later search switches it. The statue lights the open path in gold lines between the floor lamps before it, where a small model of the lighthouse stands (VenusMiniatureLighthouseScript), and the Tunnel Ruins under Babi Lighthouse redraw their ways to match (tunnel_ruins.c); they lead up intoVenusLighthouseFirstFloor. The reliefs (METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_FIRST_RELIEF) are read, and Reveal shows a hidden way in two places. Move or a push brings a grey spiral-marked pillar, the block of Garet's words, up against a wall (FLAG_VENUS_LIGHTHOUSE_PILLAR_AT_WALL), and Carry, from the Carry Stone in one of the floor's chests, sets it down beyond (FLAG_VENUS_LIGHTHOUSE_PILLAR_CARRIED). In the room of the lady statue a band of lightning crackles across the floor south of her and throws back whoever walks into it, until Move slides her onto the floor switch in front of her. Standing on the switch holds it down only while Isaac stays there. - Venus Lighthouse (
SceneIdVenusLighthouseFirstFloor), where the Tunnel Ruins come up (VENUS_LIGHTHOUSE_FIRST_FLOOR_TUNNEL_RUINS_LADY_STATUES). A wide slide of flowing sand carries the party south down its big room, and a hole drops the leader into the room below. Three capped pillars are Moved or pushed. Two pillars by a gap are carried across it, or dropped through the floor. A chest holds the Thunder Crown, and a Psynergy Stone lies here. - Venus Lighthouse (
SceneIdVenusLighthouseSecondFloor). A sparkling passage takes the leader through in a trail of sparks. A floor switch slides a wall aside in a cloud of dust the first time (FLAG_VENUS_LIGHTHOUSE_WALL_MOVED). A pillar Moved or pushed into its socket sinks, and a light runs from the lady statue along the gold track over it to open the gate (FLAG_VENUS_LIGHTHOUSE_GATE_OPEN). - Venus Lighthouse (
SceneIdVenusLighthouseThirdFloor). Three more sparkling passages, slides of flowing sand, and three pillars carrying pieces of track that sink into four sockets. With all three sunk two lights run from the statue, and when the track leads one to the gate it opens (FLAG_VENUS_LIGHTHOUSE_THREE_PILLAR_GATE_OPEN, withFLAG_VENUS_LIGHTHOUSE_SOUTHEAST_SOCKET_EMPTYorFLAG_VENUS_LIGHTHOUSE_NORTHWEST_SOCKET_EMPTYfor where the pillars stand). A chest holds Dragon Scales. - Venus Lighthouse (
SceneIdVenusLighthouseFourthFloor). A maze of sand flowing north, south, west and east carries the party each way. A west and an east floor switch slide their walls aside (FLAG_VENUS_LIGHTHOUSE_WEST_WALL_MOVEDand _EAST_WALL_MOVED, whichVenusLighthouseThirdFlooralso redraws). Carry sets down four floating pillars on two balance platforms that sink and rise to their weight (BalancePlatformHeights). Four pillars carrying track sink into eight sockets, and the lights run on to the pillar room's gate (FLAG_VENUS_LIGHTHOUSE_PILLAR_GATE_OPEN). A chest holds the Gaia Blade, and a Psynergy Stone lies here. A passage raises the leader on a platform in rising sparkles to the Lighthouse Aerie (VENUS_LIGHTHOUSE_FOURTH_FLOOR_TO_VENUS_LIGHTHOUSE_AERIE).
Locked doors stand on the second floor and above
(METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_LOCKED_DOOR).
The wall and gate flags (FLAG_VENUS_LIGHTHOUSE_WALL_MOVED to
FLAG_VENUS_LIGHTHOUSE_PILLAR_GATE_OPEN) and the Psynergy Stones' flags are
area flags. They last while the party stays in the scenes of the climb
(SceneIdVenusLighthouseFirstFloor to SceneIdVenusLighthouseAerie, one area),
so the floors stay solved between them.
The FLAG_SCENE_TEMP_ states last only until the next change of scene other
than a return from battle. Every arrival sets FLAG_IN_VENUS_LIGHTHOUSE.
Macros in detail
NO_THIRD_FLOOR_SOCKET
#define NO_THIRD_FLOOR_SOCKET 5
A socket index past the third floor's four (VenusThirdFloorSockets) and the
fourth floor's eight (VenusFourthFloorSockets): the pillar is in none.
Referenced by scVenusLighthouseMoveSwitchPillar().
Definition at line 142 of file venus_lighthouse.c.
NO_FOURTH_FLOOR_SOCKET
#define NO_FOURTH_FLOOR_SOCKET 8
Referenced by scVenusLighthouseMoveSocketPillar().
Definition at line 143 of file venus_lighthouse.c.
FLAG_VENUS_LIGHTHOUSE_WALL_MOVED
#define FLAG_VENUS_LIGHTHOUSE_WALL_MOVED FLAG_AREA_TEMP(0x00)
Area flags, kept while the party stays on the climb; other areas use the same numbers for their own.
The second floor's pink floor switch has slid the wall beside it aside.
Referenced by scInit() and scVenusLighthouseStepOnWallSwitch().
Definition at line 149 of file venus_lighthouse.c.
FLAG_VENUS_LIGHTHOUSE_WEST_WALL_MOVED
#define FLAG_VENUS_LIGHTHOUSE_WEST_WALL_MOVED FLAG_AREA_TEMP(0x06)
The fourth floor's west and east floor switches have slid their walls aside.
Referenced by scInit(), scVenusLighthousePourWestSandSlide() and scVenusLighthouseStepOnWestWallSwitch().
Definition at line 151 of file venus_lighthouse.c.
FLAG_VENUS_LIGHTHOUSE_EAST_WALL_MOVED
#define FLAG_VENUS_LIGHTHOUSE_EAST_WALL_MOVED FLAG_AREA_TEMP(0x07)
Referenced by scInit(), scVenusLighthousePourEastSandSlide() and scVenusLighthouseStepOnEastWallSwitch().
Definition at line 152 of file venus_lighthouse.c.
FLAG_VENUS_LIGHTHOUSE_GATE_OPEN
#define FLAG_VENUS_LIGHTHOUSE_GATE_OPEN FLAG_AREA_TEMP(0x01)
The light from the second floor's lady statue has opened the gate at the end of its track.
Referenced by scInit(), scVenusLighthouseMoveGatePillar() and VenusLighthouseSecondFloorCues.
Definition at line 155 of file venus_lighthouse.c.
FLAG_VENUS_LIGHTHOUSE_SOUTHEAST_SOCKET_EMPTY
#define FLAG_VENUS_LIGHTHOUSE_SOUTHEAST_SOCKET_EMPTY FLAG_AREA_TEMP(0x02)
The pillars stand in every socket of VenusThirdFloorSockets but the southeast
one.
Referenced by scInit() and scVenusLighthouseMoveSwitchPillar().
Definition at line 158 of file venus_lighthouse.c.
FLAG_VENUS_LIGHTHOUSE_NORTHWEST_SOCKET_EMPTY
#define FLAG_VENUS_LIGHTHOUSE_NORTHWEST_SOCKET_EMPTY FLAG_AREA_TEMP(0x03)
The pillars stand in every socket of VenusThirdFloorSockets but the northwest
one.
Referenced by scVenusLighthouseMoveSwitchPillar().
Definition at line 161 of file venus_lighthouse.c.
FLAG_VENUS_LIGHTHOUSE_THREE_PILLAR_GATE_OPEN
#define FLAG_VENUS_LIGHTHOUSE_THREE_PILLAR_GATE_OPEN FLAG_AREA_TEMP(0x04)
The third floor's gate, opened by the light its three sunken pillars carry.
Referenced by scInit() and scVenusLighthouseMoveSwitchPillar().
Definition at line 163 of file venus_lighthouse.c.
FLAG_VENUS_LIGHTHOUSE_PILLAR_GATE_OPEN
#define FLAG_VENUS_LIGHTHOUSE_PILLAR_GATE_OPEN FLAG_AREA_TEMP(0x08)
The fourth floor's gate, opened by the light the four pillars of its pillar room carry.
Referenced by scInit() and scVenusLighthouseMoveSocketPillar().
Definition at line 166 of file venus_lighthouse.c.
FLAG_VENUS_LIGHTHOUSE_FIRST_FLOOR_PSYNERGY_STONE
#define FLAG_VENUS_LIGHTHOUSE_FIRST_FLOOR_PSYNERGY_STONE FLAG_AREA_TEMP(0x50)
The first floor's Psynergy Stone, taken until the party leaves the climb.
Referenced by VenusLighthouseFirstFloorCues.
Definition at line 168 of file venus_lighthouse.c.
FLAG_VENUS_LIGHTHOUSE_FOURTH_FLOOR_PSYNERGY_STONE
#define FLAG_VENUS_LIGHTHOUSE_FOURTH_FLOOR_PSYNERGY_STONE FLAG_AREA_TEMP(0x51)
The fourth floor's Psynergy Stone, as the first floor's.
Referenced by VenusLighthouseFourthFloorCues.
Definition at line 170 of file venus_lighthouse.c.
VENUS_LIGHTHOUSE_FIXED_OFFSET
#define VENUS_LIGHTHOUSE_FIXED_OFFSET(value, bits) ((value) * (1 << (bits)))
#define VENUS_LIGHTHOUSE_FIXED_OFFSET(value, bits) ((value) << (bits))
Referenced by scVenusLighthouseDriftLeader(), scVenusLighthouseEmitPassageSparkTrail() and scVenusLighthouseRaiseLeaderInSparkles().
Definition at lines 258 and 260 of file venus_lighthouse.c.
VENUS_LIGHTHOUSE_ARRIVE_THROUGH_SPARK_PASSAGE
#define VENUS_LIGHTHOUSE_ARRIVE_THROUGH_SPARK_PASSAGE
Referenced by scInit().
Definition at lines 266 and 269 of file venus_lighthouse.c.
VENUS_DESCENT_COLLISION_X
#define VENUS_DESCENT_COLLISION_X WHEN(VENUS_HOLE_DROP_OPENS_WIDER, 33, 34)
The metatiles of row 34 that take row 35's behaviours as Isaac drops through the first floor's hole: their first column and their width, wider in the French, Spanish and Italian editions.
Referenced by scVenusLighthouseFallThroughFloor().
Definition at line 276 of file venus_lighthouse.c.
VENUS_DESCENT_COLLISION_WIDTH
#define VENUS_DESCENT_COLLISION_WIDTH WHEN(VENUS_HOLE_DROP_OPENS_WIDER, 7, 5)
Referenced by scVenusLighthouseFallThroughFloor().
Definition at line 277 of file venus_lighthouse.c.
FLAG_VENUS_LIGHTHOUSE_STATUE_ON_SWITCH
#define FLAG_VENUS_LIGHTHOUSE_STATUE_ON_SWITCH FLAG_SCENE_TEMP(0x00)
Scene flags, cleared at the next change of scene.
On the ground floor, Move has slid the lady statue onto the floor switch in front of her, and the lightning south of her has stopped.
Referenced by scInit(), scVenusLighthouseMoveStatueOntoSwitch() and VenusLighthouseGroundFloorCues.
Definition at line 291 of file venus_lighthouse.c.
FLAG_VENUS_LIGHTHOUSE_ON_GROUND_FLOOR_SWITCH
#define FLAG_VENUS_LIGHTHOUSE_ON_GROUND_FLOOR_SWITCH FLAG_SCENE_TEMP(0x01)
On the ground floor, the leader stands on that switch and holds it down.
Referenced by scVenusLighthouseStepOnFloorSwitch().
Definition at line 293 of file venus_lighthouse.c.
FLAG_VENUS_LIGHTHOUSE_FIRST_FLOATING_PILLAR_SETTLED
#define FLAG_VENUS_LIGHTHOUSE_FIRST_FLOATING_PILLAR_SETTLED
On the fourth floor, the first of four flags, one for each floating pillar by its number (0 to 3): that pillar has come to rest, set down on a balance platform or at metatile (13, 7), or dropped through the floor.
Referenced by scInit() and scVenusLighthouseCarryFloatingPillar().
Definition at line 297 of file venus_lighthouse.c.
VENUS_COLOR_MARK
#define VENUS_COLOR_MARK(mode) (VENUS_COLOR_MARK_TAG << 4 | (mode))
An actor's colorMark as VenusGreyStatueScript and VenusGreyPillarScript set
it. It holds a tag in the upper bits and a colour mode (enum SPR_COL_MODE) in
the low four, so that scVenusLighthouseRestoreMarkedColors can draw the actor
in that mode again after a battle.
Referenced by VenusGreyPillarScript and VenusGreyStatueScript.
Definition at line 473 of file venus_lighthouse.c.
VENUS_COLOR_MARK_MODE
#define VENUS_COLOR_MARK_MODE(mark) ((mark) & 15)
The colour mode a VENUS_COLOR_MARK holds.
Referenced by scVenusLighthouseApplyMarkedColor() and scVenusLighthouseRestoreMarkedColors().
Definition at line 475 of file venus_lighthouse.c.
SOLDIER_FLICKERS
#define SOLDIER_FLICKERS 10
The times the soldier who tells of the attack flickers as he vanishes, the pause after each a tick shorter than the last, from eight ticks to three.
Referenced by scVenusLighthouseHearOfTheAttack().
Definition at line 1156 of file venus_lighthouse.c.
VENUS_GATE_PILLAR_SOCKET_COLUMN
#define VENUS_GATE_PILLAR_SOCKET_COLUMN 46
The metatile of the socket west of the second floor's gate pillar, the dark square in the gold track.
Referenced by scVenusLighthouseMoveGatePillar().
Definition at line 1944 of file venus_lighthouse.c.
VENUS_GATE_PILLAR_SOCKET_ROW
#define VENUS_GATE_PILLAR_SOCKET_ROW 45
Referenced by scVenusLighthouseMoveGatePillar().
Definition at line 1945 of file venus_lighthouse.c.
Enumerations in detail
VENUS_LIGHTHOUSE_METATILE_BEHAVIOR
enum VENUS_LIGHTHOUSE_METATILE_BEHAVIOR
The metatile behaviors the floors' scripts answer, by floor. A number means one thing on one floor and another on the next.
Each exit metatile carries the number of the exit it leads by, and the script
rows name it by that exit. They name the sparkling passages the same way,
which leave by their own number (scVenusLighthouseEnterSparklingPassage).
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_LOCKED_DOOR | 25 | On every floor. A locked door, from |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_DRIFT_SOUTH | 30 | the second floor up. Sand flowing south, which carries the party with it. |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_CHEST | 100 | |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_PSYNERGY_STONE | 110 | |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_FIRST_RELIEF | 35 | VenusLighthouseGroundFloor. The first of the |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_GREAT_STATUE | 41 | six reliefs, whose words scVenusLighthouseReadRelief shows in their order. |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_LIGHTNING | 45 | The band of |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_FLOOR_SWITCH | 46 | lightning south of the lady statue. |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_WALL_PILLAR | 50 | Walking into the grey pillar |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_SECOND_CHEST | 101 | (ACTOR_WALL_PILLAR). |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_HOLE | 35 | VenusLighthouseFirstFloor. |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_BESIDE_CAPPED_PILLARS | 31 | The floor bounding the rows where the capped pillars stand, where stepping back out ends |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_AMONG_CAPPED_PILLARS | 32 | scVenusLighthouseEnterCappedPillarRows. The rows where the |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_CARRY_PILLARS | 45 | capped pillars stand. Walking into a pillar from either kind of metatile pushes it. The gap and the two pillars beside it. |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_WALL_SWITCH | 35 | VenusLighthouseSecondFloor. |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_GATE_PILLAR | 36 | The gap and ACTOR_GATE_PILLAR. |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_SWITCH_PILLARS | 35 | VenusLighthouseThirdFloor: the gaps and the three switch pillars. |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_RISING_PASSAGE | 18 | VenusLighthouseFourthFloor. |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_DRIFT_NORTH | 31 | The sand maze's flowing sand, by the way it carries the party. |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_DRIFT_WEST | 32 | |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_DRIFT_EAST | 33 | |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_FLOATING_PILLARS | 35 | Walking into a |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_FLOATING_PILLARS_GAP | 36 | floating pillar pushes it. A gap among the |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_FLOATING_PILLARS_EAST_GAP | 37 | floating pillars, jumped west or east. A gap jumped only east. |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_WEST_WALL_SWITCH | 40 | |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_EAST_WALL_SWITCH | 41 | |
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_SOCKET_PILLARS | 45 | The gaps and the four socket pillars. |
Definition at line 178 of file venus_lighthouse.c.
VENUS_LIGHTHOUSE_ENTRY_ACTOR_ID
enum VENUS_LIGHTHOUSE_ENTRY_ACTOR_ID
Venus Lighthouse Entry's actors, numbering the rows of
VenusLighthouseEntryActorPlacements. They are the scholars
(SPRITE_OLD_MAN_IN_BLUE_CAP) and Babi's soldiers (SPRITE_SOLDIER) the
wanderers attacked, each named by what they say.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_SOLDIER_TELLING_OF_THE_ATTACK | ACTOR_FIRST_PLACED | A soldier by the entrance: "Venus Lighthouse was... attacked by strange... wanderers...", and he flickers and is gone (scVenusLighthouseHearOfTheAttack). |
ACTOR_SCHOLAR_LIGHTHOUSE_OPEN | "Iodem, be happy. The entrance to Venus Lighthouse is open..." | |
ACTOR_SCHOLAR_BARBARIANS | "Ohhh! How could they attack mere scholars? Those barbarians!" | |
ACTOR_WAITING_SCHOLAR | "I've waited so long to see what it's like inside Venus Lighthouse, but..." (scVenusLighthouseTalkToWaitingScholar) | |
ACTOR_SOLDIER_OPENED_DOOR | "How... How did they open the door to Venus Lighthouse?" | |
ACTOR_SOLDIER_HEADED_FOR_BABI | "They are already... headed for Babi Lighthouse..." | |
ACTOR_SOLDIER_COLOSSO_VICTORS | "Babi's soldiers are all Colosso victors... How could anyone beat all of us?" His thoughts: "Was it Kraden?" |
Definition at line 309 of file venus_lighthouse.c.
VENUS_LIGHTHOUSE_GROUND_FLOOR_ACTOR_ID
enum VENUS_LIGHTHOUSE_GROUND_FLOOR_ACTOR_ID
VenusLighthouseGroundFloor's actors, numbering the rows of
VenusLighthouseGroundFloorActorPlacements after Garet's.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_SCHOLAR_ATTACKED_ANYWAY | ACTOR_FIRST_PLACED | "Kraden told them to stop, but they attacked anyway." |
ACTOR_SCHOLAR_NOT_THE_ENTRANCE | "Kraden went inside, but then came back and said this isn't the entrance." | |
ACTOR_DOOR_SCHOLAR | "I thought I'd explore after the door opened..." | |
ACTOR_WALL_PILLAR | ACTOR_FIRST_PLACED + 4 | (scVenusLighthouseTalkToScholarByDoor) The pillar Move pushes to the wall and Carry sets down beyond it (scVenusLighthouseMovePillarTowardWall). The row before it is a second spiral-marked pillar, at pixel (872, 120), that no script here moves. |
ACTOR_FLOOR_SWITCH_STATUE | The lady statue Move pushes onto the floor switch (SPRITE_LADY_STATUE) (scVenusLighthouseMoveStatueOntoSwitch). |
Definition at line 334 of file venus_lighthouse.c.
VENUS_LIGHTHOUSE_FIRST_FLOOR_ACTOR_ID
enum VENUS_LIGHTHOUSE_FIRST_FLOOR_ACTOR_ID
VenusLighthouseFirstFloor's actors, numbering the rows of
VenusLighthouseFirstFloorActorPlacements.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_FIRST_CAPPED_PILLAR | ACTOR_FIRST_PLACED | The three pillars, SPRITE_CAPPED_PILLAR, that Move or a push shifts, the nearer drawn in front (scVenusLighthouseMoveCappedPillar). |
ACTOR_FIRST_CARRY_PILLAR | ACTOR_FIRST_CAPPED_PILLAR + 3 | The two pillars by the gap, carried across it or dropped into it (scVenusLighthouseCarryPillarAcrossGap). |
Definition at line 358 of file venus_lighthouse.c.
VENUS_LIGHTHOUSE_SECOND_FLOOR_ACTOR_ID
enum VENUS_LIGHTHOUSE_SECOND_FLOOR_ACTOR_ID
VenusLighthouseSecondFloor's actors, numbering the rows of
VenusLighthouseSecondFloorActorPlacements.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_GATE_STATUE | ACTOR_FIRST_PLACED | A lady statue, as ACTOR_FLOOR_SWITCH_STATUE is, where ACTOR_GATE_SPARKLE sets out for the gate. |
ACTOR_GATE_PILLAR | The pillar before the gate, which sinks into its socket (scVenusLighthouseMoveGatePillar). | |
ACTOR_GATE_SPARKLE | SPRITE_PARTICLE, the kind of actor scVenusLighthouseCreateLight makes. Once the pillar sinks it travels VenusSecondFloorLightToGate to the gate, which opens, and stays there shedding particles. |
Definition at line 371 of file venus_lighthouse.c.
VENUS_LIGHTHOUSE_THIRD_FLOOR_ACTOR_ID
enum VENUS_LIGHTHOUSE_THIRD_FLOOR_ACTOR_ID
VenusLighthouseThirdFloor's actors, numbering the rows of
VenusLighthouseThirdFloorActorPlacements.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_SWITCH_STATUE | ACTOR_FIRST_PLACED | A lady statue (SPRITE_LADY_STATUE), where the two lights set out once all three switch pillars have sunk. |
ACTOR_FIRST_SWITCH_PILLAR | The three pillars that sink into free sockets (scVenusLighthouseMoveSwitchPillar). | |
ACTOR_SWITCH_GATE_SPARKLE | ACTOR_FIRST_SWITCH_PILLAR + 3 | SPRITE_PARTICLE, as ACTOR_GATE_SPARKLE, placed where the lights end once the gate is open. |
Definition at line 387 of file venus_lighthouse.c.
VENUS_LIGHTHOUSE_FOURTH_FLOOR_ACTOR_ID
enum VENUS_LIGHTHOUSE_FOURTH_FLOOR_ACTOR_ID
VenusLighthouseFourthFloor's actors, numbering the rows of
VenusLighthouseFourthFloorActorPlacements.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_BALANCE_WEST | ACTOR_FIRST_PLACED | The two platforms, |
ACTOR_BALANCE_EAST | SPRITE_BALANCE_PLATFORM, that rise or sink to the weight of the floating pillars set down on them (scVenusLighthouseMoveBalancePlatforms). | |
ACTOR_FIRST_FLOATING_PILLAR | The four floating pillars Carry sets down | |
ACTOR_SOCKET_STATUE | ACTOR_FIRST_FLOATING_PILLAR + 4 | (scVenusLighthouseCarryFloatingPillar). A lady statue (SPRITE_LADY_STATUE), where the first light sets out once all four socket pillars have sunk. The camera goes to it first. |
ACTOR_FIRST_SOCKET_PILLAR | The four pillars of the pillar room | |
ACTOR_SOCKET_GATE_SPARKLE | ACTOR_FIRST_SOCKET_PILLAR + 4 | (scVenusLighthouseMoveSocketPillar). SPRITE_PARTICLE, as ACTOR_GATE_SPARKLE, placed where the lights end once the gate is open. |
ACTOR_RISING_PLATFORM | The platform, SPRITE_FLOATING_PLATFORM as the floating platforms of Mercury Lighthouse's aerie. It dips as the leader lands on it at VENUS_LIGHTHOUSE_FOURTH_FLOOR_WALL_SWITCHES_FROM_PSYNERGY_STONE_RISING and then carries him up to the Lighthouse Aerie (scVenusLighthouseRaiseLeaderInSparkles). |
Definition at line 402 of file venus_lighthouse.c.
anonymous enum
enum { ANIM_HURT_LYING }
Animations the lighthouse plays by number beyond ACTOR_ANIMATION, from each
sprite's animation table (graphics/sprite/<name>.tsv).
| Enumerator | Value | Description |
|---|---|---|
ANIM_HURT_LYING | 5 | The hurt scholars and soldiers lying on the ground (old_man_in_blue_cap.tsv and soldier.tsv, the same pose). |
Definition at line 435 of file venus_lighthouse.c.
anonymous enum
enum { ANIM_STEPS_FAST }
An animation timer step for fdActorSetAnimationSpeedById, in sixteenths of a
tick taken off each tick. 16 plays an animation at its own speed, so 24 plays
it half again as fast.
| Enumerator | Value | Description |
|---|---|---|
ANIM_STEPS_FAST | 24 |
Definition at line 445 of file venus_lighthouse.c.
VENUS_TRACK
enum VENUS_TRACK
The pieces of gold track a SPRITE_SPIRAL_PILLAR can carry, its animations
from 3. Each is named by the two edges of its metatile it joins as the
pillar's top shows it, north up (graphics/sprite/spiral_pillar.png).
The lights the lady statues send out run along the track
(scVenusLighthouseRouteLight). A pillar sunk in a socket carries the track on
across it. A light that runs onto a piece that does not join the edge it
comes in by goes out.
| Enumerator | Value | Description |
|---|---|---|
VENUS_TRACK_END | 0 | ends a list of pieces |
VENUS_TRACK_NORTH_SOUTH | 3 | |
VENUS_TRACK_NORTH_WEST | 4 | |
VENUS_TRACK_NORTH_EAST | 5 | |
VENUS_TRACK_WEST_EAST | 6 | |
VENUS_TRACK_SOUTH_EAST | 7 | |
VENUS_TRACK_SOUTH_WEST | 8 |
Definition at line 458 of file venus_lighthouse.c.
anonymous enum
enum { VENUS_COLOR_MARK_TAG }
The tag VENUS_COLOR_MARK puts above the colour mode. The value is only a
mark: the one thing that reads it is scVenusLighthouseRestoreMarkedColors's
comparison, here and in The Lost Age's Venus Lighthouse, which keeps the same
tag.
| Enumerator | Value | Description |
|---|---|---|
VENUS_COLOR_MARK_TAG | 0x212 |
Definition at line 481 of file venus_lighthouse.c.
anonymous enum
enum { SW_VENUS_IMMOVABLE, SW_VENUS_LIGHT_ARRIVED }
The scene's names for the bytes Actor keeps for scene code. A statue with
SW_VENUS_IMMOVABLE set cannot be pushed (scVenusLighthousePushPillarAhead). A
light sets SW_VENUS_LIGHT_ARRIVED as it reaches its gate, which then opens.
| Enumerator | Value | Description |
|---|---|---|
SW_VENUS_IMMOVABLE | SW_SCENE_COUNTER | |
SW_VENUS_LIGHT_ARRIVED | SW_SCENE_BYTE |
Definition at line 561 of file venus_lighthouse.c.
Functions in detail
scVenusLighthouseDriftLeader
static void scVenusLighthouseDriftLeader(VECTOR3 *direction)
Carries the leader along on flowing sand, 1.5 pixels a call (3 << 15), kicking up puffs of sand, and stops him at a wall or drops him down a ledge. direction is the way the drifting floor carries the party: -1, 0 or 1 on x and on z; y is not read.
Before each step it tries four points: 1.5 pixels ahead (a ledge there drops him), 8 pixels ahead (1 << 19; a wall there stops him), and the two front corners, 5.7 pixels ahead and 5.7 to either side. A wall at one corner only nudges him 1.5 pixels sideways, away from it, so that he slides round the end of a wall into the gap instead of catching on it.
References fdActorGet(), fdActorSelectAnimation(), fdActorSetAttachedEffect(), fdActorWaitForMove(), MainRoutineStateWork, scFieldActorCheckMovementCollision(), scFieldActorSetMoveTargetFX(), Sint32, state, sySynch() and TickCount.
Referenced by scVenusLighthouseDriftEast(), scVenusLighthouseDriftNorth(), scVenusLighthouseDriftSouth() and scVenusLighthouseDriftWest().
Definition at lines 279 and 3584 of file venus_lighthouse.c.
scVenusLighthouseMoveFirstFloorSandFall
static void scVenusLighthouseMoveFirstFloorSandFall(void)
After the second floor's switch, the view cuts to the first floor's room of three doors with the party out of sight. A wave of sand pours down a new fall east of the old one, row by row, and then the old fall runs dry from the top down, leaving the stone chute it ran down. The party is then back on the second floor beside the switch.
The return is by
VENUS_LIGHTHOUSE_FIRST_FLOOR_TO_VENUS_LIGHTHOUSE_SECOND_FLOOR_SOUTH.
References fdActorGet(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdMapGridCopyMetatilesTo(), fdQueueMusic(), fdScriptEnd(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), scVenusLighthouseSetSandParticleScaleAndSpin(), syImportScriptSetExitRequest(), sySoundPlay() and sySynch().
Referenced by scInit().
Definition at lines 280 and 3705 of file venus_lighthouse.c.
scVenusLighthousePuffWestSlideHead
static void scVenusLighthousePuffWestSlideHead(void)
Each tick once the third floor's west slide pours, puffs of sand at its head.
References scVenusLighthousePuffSandAtSlideHead().
Referenced by scInit() and scVenusLighthousePourWestSandSlide().
Definition at lines 281 and 3830 of file venus_lighthouse.c.
scVenusLighthousePuffEastSlideHead
static void scVenusLighthousePuffEastSlideHead(void)
As scVenusLighthousePuffWestSlideHead, for the east slide.
References scVenusLighthousePuffSandAtSlideHead().
Referenced by scInit() and scVenusLighthousePourEastSandSlide().
Definition at lines 282 and 3836 of file venus_lighthouse.c.
scVenusLighthousePourWestSandSlide
static void scVenusLighthousePourWestSandSlide(void)
After the fourth floor's west switch, the view cuts to the third floor's room of three sand slides, where a wave of sand pours down the west slide, row by row, and keeps puffing at its head. The party is then back on the fourth floor.
The return is by
VENUS_LIGHTHOUSE_THIRD_FLOOR_VENUS_LIGHTHOUSE_FOURTH_FLOOR_NORTHWEST.
References fdActorGet(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdCameraWaitForMove(), fdMapGridCopyMetatilesTo(), fdQueueMusic(), fdScriptEnd(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), gmFlagSet(), scVenusLighthousePuffWestSlideHead(), scVenusLighthouseSetSandParticleScaleAndSpin(), syImportScriptSetExitRequest(), sySetTickEvent(), sySoundPlay() and sySynch().
Referenced by scInit().
Definition at lines 283 and 3848 of file venus_lighthouse.c.
scVenusLighthousePourEastSandSlide
static void scVenusLighthousePourEastSandSlide(void)
After the fourth floor's east switch, sand pours down the third floor's east
slide in the same way (scVenusLighthousePourWestSandSlide).
The return is by
VENUS_LIGHTHOUSE_THIRD_FLOOR_VENUS_LIGHTHOUSE_FOURTH_FLOOR_EAST_NORTHEAST.
References fdActorGet(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdCameraWaitForMove(), fdMapGridCopyMetatilesTo(), fdQueueMusic(), fdScriptEnd(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), gmFlagSet(), scVenusLighthousePuffEastSlideHead(), scVenusLighthouseSetSandParticleScaleAndSpin(), syImportScriptSetExitRequest(), sySetTickEvent(), sySoundPlay() and sySynch().
Referenced by scInit().
Definition at lines 284 and 3917 of file venus_lighthouse.c.
scVenusLighthouseRaiseLeaderInSparkles
static void scVenusLighthouseRaiseLeaderInSparkles(void)
After the drop through the gap, Isaac lands on a small round platform
(ACTOR_RISING_PLATFORM), which rises with him in a column of sparkles until
the scene changes to the Lighthouse Aerie.
References fdActorGet(), fdActorSetAnimation(), fdActorSetAttachedEffect(), fdActorSetSpritePriority(), fdMapGridCenterOnFollowedPoint(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), gmFlagSet(), scVenusLighthouseEmitRisingSparkles(), syImportScriptSetExitRequest(), sySoundPlay() and sySynch().
Referenced by scInit().
Definition at lines 285 and 4012 of file venus_lighthouse.c.
scVenusLighthouseConfigurePassageEffect
static void scVenusLighthouseConfigurePassageEffect(ACTOR *actor, Sint32 colorMode)
Makes a mask still, never a talk or Psynergy target, shadowless and drawn in the given colour mode.
References fdActorSetSpriteColor(), fdActorSetSpriteFlags() and Sint32.
Referenced by scVenusLighthouseCreateBlendedPassageEffect() and scVenusLighthouseCreateOccludingPassageEffect().
Definition at line 495 of file venus_lighthouse.c.
scVenusLighthouseCreateBlendedPassageEffect
static ACTOR *scVenusLighthouseCreateBlendedPassageEffect(Sint32 x, Sint32 y, Sint32 z, Sint32 type)
Creates a mask over a hole as the leader or a pillar falls through the floor.
The mask is an actor of sprite type (SPRITE_CRATE or SPRITE_CAPPED_PILLAR)
drawn solid black (SPRITE_COLOR_BLACK) and translucent in front of the
actors. That shows the background through whatever falls behind it, so that
it vanishes below the hole's edge.
Babi Lighthouse's PIT_MASK is the same actor, and its render without the mask
shows the leader whole.
References fdActorSetBlendMode(), scFieldActorCreate(), scVenusLighthouseConfigurePassageEffect() and Sint32.
Referenced by scInit(), scVenusLighthouseCarryFloatingPillar(), scVenusLighthouseEnterRisingPassage(), scVenusLighthouseFallThroughFloor() and scVenusLighthouseReleaseFallenCarryPillar().
Definition at line 513 of file venus_lighthouse.c.
scVenusLighthouseCreateOccludingPassageEffect
static ACTOR *scVenusLighthouseCreateOccludingPassageEffect(Sint32 x, Sint32 y, Sint32 z, Sint32 type)
Creates an actor that keeps the leader on screen while a pillar sinks into its socket with him standing north of it, where the sinking code puts his sprite at priority 3.
It is a SPRITE_CHEST drawn in SPRITE_COLOR_HIDDEN, so it shows nothing
itself. Without it the leader would vanish for the 20 ticks the pillar takes
to go down.
References scFieldActorCreate(), scVenusLighthouseConfigurePassageEffect() and Sint32.
Referenced by scVenusLighthouseMoveGatePillar(), scVenusLighthouseMoveSocketPillar() and scVenusLighthouseMoveSwitchPillar().
Definition at line 538 of file venus_lighthouse.c.
scVenusLighthousePushPillarAhead
static void scVenusLighthousePushPillarAhead(void)
Pushing a pillar moves the pillar ahead of the leader one metatile on with
him, leaning into it (ANIM_PUSH).
References fdActorGet(), fdActorSelectAnimation(), fdActorStepFrom(), fdActorWaitForMove(), fdPlayQueuedMusic(), PushedActorDirectionSteps, scActorFindAtPos(), scFieldActorCheckMovementCollision(), scFieldActorSetMoveTargetFX(), Sint32, sySoundPlay() and sySynch().
Referenced by scVenusLighthouseJumpOrPushCarryPillar(), scVenusLighthouseJumpOrPushGatePillar(), scVenusLighthouseJumpOrPushSocketPillar(), scVenusLighthouseJumpOrPushSwitchPillar(), scVenusLighthousePushCappedPillar(), scVenusLighthousePushFloatingPillar() and scVenusLighthousePushPillarTowardWall().
Definition at line 572 of file venus_lighthouse.c.
scVenusLighthouseRestoreMarkedColors
static void scVenusLighthouseRestoreMarkedColors(void)
After a battle, draws every actor whose colorMark holds a VENUS_COLOR_MARK in
its colour mode again.
References fdActorSetSpriteColor().
Referenced by scInit().
Definition at line 648 of file venus_lighthouse.c.
scVenusLighthouseApplyMarkedColor
static Sint32 scVenusLighthouseApplyMarkedColor(ACTOR *actor)
Draws the actor in the colour mode of its VENUS_COLOR_MARK.
References fdActorSetSpriteColor() and Sint32.
Referenced by VenusGreyPillarScript and VenusGreyStatueScript.
Definition at line 664 of file venus_lighthouse.c.
scVenusLighthouseFlashStruckLeader
static UNREAD_RESULT scVenusLighthouseFlashStruckLeader(ACTOR *actor)
The leader flashes white one tick in four as the lightning strikes him, with a crackle every eight ticks.
References fdActorSetSpriteColor(), sySoundPlay() and TickCount.
Referenced by VenusLeaderShockedScript.
Definition at line 672 of file venus_lighthouse.c.
scVenusLighthouseEmitRisingParticles
static UNREAD_RESULT scVenusLighthouseEmitRisingParticles(ACTOR *actor)
Small black puffs of smoke rise from the leader, one every eight ticks, after the lightning has struck him.
References Sint32, syMathDivide() and TickCount.
Referenced by scVenusLighthouseThrowBackFromLightning().
Definition at line 686 of file venus_lighthouse.c.
scVenusLighthouseClearScriptedSpriteFlags
static Sint32 scVenusLighthouseClearScriptedSpriteFlags(ACTOR *actor)
Takes the scripted actor's shadow away, and its script goes on.
References fdActorSetSpriteFlags() and Sint32.
Referenced by VenusMiniatureLighthouseScript and VenusSecondFloorLightToGate.
Definition at line 716 of file venus_lighthouse.c.
scVenusLighthouseEmitPassageSparkTrail
static UNREAD_RESULT scVenusLighthouseEmitPassageSparkTrail(ACTOR *actor)
The sparks that trail the leader through a sparkling passage: a stream falling from his shoulders every tick and a larger one every 16.
References Sint32 and TickCount.
Referenced by scVenusLighthouseArriveThroughSparkPassage() and scVenusLighthouseEnterSparklingPassage().
Definition at line 724 of file venus_lighthouse.c.
scVenusLighthouseEnterSparklingPassage
static void scVenusLighthouseEnterSparklingPassage(void)
Isaac walks north into one of the sparkling passages on the second and third floors and fades away in a trail of sparks, to come out of the passage's other end.
The passage's metatile carries the number of the exit it leaves by
(state->stepCue), and scVenusLighthouseArriveThroughSparkPassage brings him
out sparkling at the far end.
References fdActorGet(), fdActorSetAnimation(), fdActorSetDestinationOffset(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdActorWaitForMoveById(), fdScriptEnd(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptWait(), fdScriptWaitTransitionTicks(), scVenusLighthouseEmitPassageSparkTrail(), state, syImportScriptSetExitRequest() and sySoundPlay().
Referenced by VenusLighthouseSecondFloorCues and VenusLighthouseThirdFloorCues.
Definition at line 772 of file venus_lighthouse.c.
scVenusLighthouseArriveThroughSparkPassage
static void scVenusLighthouseArriveThroughSparkPassage(void)
Brings the leader out of a sparkling passage on a fresh arrival.
References fdActorGet(), fdActorSetPosFX(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdActorWalkByAndWait(), fdPlayQueuedMusic(), fdScriptEnd(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWaitTransitionTicks(), gmFlagGet(), scVenusLighthouseEmitPassageSparkTrail() and sySoundPlay().
Referenced by scInit().
Definition at line 797 of file venus_lighthouse.c.
scVenusLighthouseEnterCappedPillarRows
static void scVenusLighthouseEnterCappedPillarRows(void)
Isaac steps into the dotted square of floor where the first floor's three capped pillars stand (metatiles (11..16, 43..53)), and the ground mask is drawn on him from now on. It cuts away what of him the floor beside him would hide where it is higher than his own, which on this flat floor is nothing: he looks just as before.
References fdActorGet().
Referenced by VenusLighthouseFirstFloorCues.
Definition at line 835 of file venus_lighthouse.c.
scVenusLighthouseLeaveCappedPillarRows
static void scVenusLighthouseLeaveCappedPillarRows(void)
Isaac steps out of the dotted square of the capped pillars onto the floor
round it, and the ground mask (scVenusLighthouseEnterCappedPillarRows) is no
longer drawn on him.
Referenced by VenusLighthouseFirstFloorCues.
Definition at line 843 of file venus_lighthouse.c.
scVenusLighthouseLandWithRadialDust
static void scVenusLighthouseLandWithRadialDust(void)
Isaac drops from above into the first floor's lower room after falling through the hole at the foot of the sand slide, and lands in a ring of white dust.
References fdActorGet(), fdActorSetAnimation(), fdActorSetAttachedEffect(), fdMapGridCenterOnFollowedPoint(), fdMapGridWaitForShakeToSettle(), fdPlayQueuedMusic(), fdScriptEnd(), fdScriptStart(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), scFieldEffectAdvanceMotion(), Sint32, syCos(), sySin(), sySoundPlay() and sySynch().
Referenced by scInit().
Definition at line 855 of file venus_lighthouse.c.
scVenusLighthouseTrailLight
static UNREAD_RESULT scVenusLighthouseTrailLight(ACTOR *actor)
A light's update function: every four ticks a shrinking particle around it, and now and then a sound while it moves.
References Sint32, syMathDivide(), sySoundPlay() and TickCount.
Referenced by scInit(), scVenusLighthouseCreateLight() and VenusSecondFloorLightToGate.
Definition at line 919 of file venus_lighthouse.c.
scVenusLighthouseCreateLight
static ACTOR * scVenusLighthouseCreateLight(Sint32 x, Sint32 z, const Sint32 *script)
Creates a light at a lady statue, at pixel x and z, and starts it along its
path script, trailing particles (scVenusLighthouseTrailLight).
References fdActorSelectAnimation(), fdActorSetSpriteFlags(), fdActorStartScript(), scFieldActorCreate(), scVenusLighthouseTrailLight() and Sint32.
Referenced by scVenusLighthouseMoveSocketPillar() and scVenusLighthouseMoveSwitchPillar().
Definition at line 958 of file venus_lighthouse.c.
scVenusLighthouseJumpAcrossGap
static Bool scVenusLighthouseJumpAcrossGap(void)
Walking into a one-metatile gap in the floor, Isaac springs and leaps across it, if the metatile beyond is clear. These are the gaps beside the pillars Move pushes on each floor of the climb, and on the fourth floor the gaps among the floating pillars.
When something stands in the way there is no jump, and the callers try a push instead (the result is 0).
References fdActorGet(), fdActorMoveToAndWait(), fdActorSelectAnimation(), fdActorSetSpriteFlags(), fdScriptEnd(), fdScriptStart(), scActorFindAtPos(), scFieldActorCheckMovementCollision(), Sint32, sySoundPlay(), sySynch() and syVectorAddPolarOffset().
Referenced by scVenusLighthouseJumpOrPushCarryPillar(), scVenusLighthouseJumpOrPushGatePillar(), scVenusLighthouseJumpOrPushSocketPillar(), scVenusLighthouseJumpOrPushSwitchPillar() and VenusLighthouseFourthFloorCues.
Definition at line 993 of file venus_lighthouse.c.
scGetEntrances
const SCENE_ENTRANCE *scGetEntrances(void)
Selects the scene's entrances. VenusLighthouseGroundFloor takes the fallback
table.
References MainRoutineStateWork, VenusLighthouseEntrancesOther, VenusLighthouseEntryEntrances, VenusLighthouseFirstFloorEntrances, VenusLighthouseFourthFloorEntrances, VenusLighthouseSecondFloorEntrances and VenusLighthouseThirdFloorEntrances.
Definition at line 1061 of file venus_lighthouse.c.
scGetExitRegions
const SCENE_EXIT_REGION *scGetExitRegions(void)
These scenes supply no exit regions.
Definition at line 1089 of file venus_lighthouse.c.
scGetExits
const Uint32 *scGetExits(void)
Returns the packed exits shared by the six scenes.
References VenusLighthouseExits.
Definition at line 1095 of file venus_lighthouse.c.
scGetActorPlacements
const ACTOR_PLACE *scGetActorPlacements(void)
Selects the scene's actor placements.
References fdAssignViewFlags(), MainRoutineStateWork, VenusLighthouseActorPlacementsOther, VenusLighthouseEntryActorPlacements, VenusLighthouseFirstFloorActorPlacements, VenusLighthouseFourthFloorActorPlacements, VenusLighthouseGroundFloorActorPlacements, VenusLighthouseSecondFloorActorPlacements and VenusLighthouseThirdFloorActorPlacements.
Definition at line 1101 of file venus_lighthouse.c.
scVenusLighthouseSearchLockedDoor
static void scVenusLighthouseSearchLockedDoor(void)
Isaac searches one of the pink gates at the end of a gold track, on the second, third or fourth floor (metatiles (46, 42), (45, 38) and (13, 36)), before a light has opened it, and a message says the door is tightly locked.
References fdScriptEnd(), fdScriptStart() and mnFieldMessageShow().
Referenced by VenusLighthouseFourthFloorCues, VenusLighthouseSecondFloorCues and VenusLighthouseThirdFloorCues.
Definition at line 1147 of file venus_lighthouse.c.
scVenusLighthouseHearOfTheAttack
static void scVenusLighthouseHearOfTheAttack(void)
Outside Venus Lighthouse, Isaac talks to the dying soldier by the way in, or reads his mind, and he gasps out that strange wanderers attacked the lighthouse, then flickers and vanishes.
"Venus Lighthouse was... attacked by strange... wanderers..." Afterwards his spot no longer answers a search.
References fdActorRunRepeatedMotion(), fdActorSetSpriteColorById(), fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart(), gmFlagSet() and sySynch().
Referenced by VenusLighthouseEntryCues.
Definition at line 1164 of file venus_lighthouse.c.
scVenusLighthouseTalkToWaitingScholar
static void scVenusLighthouseTalkToWaitingScholar(void)
Outside Venus Lighthouse, a scholar lying hurt on the ground tells Isaac he has waited so long to see inside, and now cannot move for the pain.
References fdActorRunRepeatedMotion(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageThenWait() and fdScriptStart().
Referenced by VenusLighthouseEntryCues.
Definition at line 1198 of file venus_lighthouse.c.
scVenusLighthouseCarryPillarPastWall
static void scVenusLighthouseCarryPillarPastWall(void)
Isaac lifts the grey spiral-marked pillar with Carry, in the room east of the reliefs where Move and pushing could only bring it up against the wall, and sets it down out of the way.
Set down in column 54 or row 6, it stays there on later visits
(FLAG_VENUS_LIGHTHOUSE_PILLAR_CARRIED).
References fdActorGet(), fdScriptEnd(), fdScriptStart() and gmFlagSet().
Referenced by VenusLighthouseGroundFloorCues.
Definition at line 1216 of file venus_lighthouse.c.
scVenusLighthouseReadRelief
static void scVenusLighthouseReadRelief(void)
Isaac reads the relief on the wall of the room north of the entrance hall (metatiles (19, 10) to (23, 10)): "There are words carved into the relief... If ye seek to climb Venus Lighthouse, first seek the power within. To obtain this power, see with the eyes of truth. Then the way shall open." In the editions that keep them, two more reliefs further in (metatiles (47, 57) and (58, 57)) say, "The true road can only be known by he who bears a true heart."
Each relief's message is the first's plus its metatile's place after
METATILE_BEHAVIOR_VENUS_LIGHTHOUSE_FIRST_RELIEF. The English edition shows
the first relief's words for every relief and leaves the two further in
silent.
References fdActorSetAnimation(), fdScriptEnd(), fdScriptStart(), mnFieldMessageShow(), Sint32 and state.
Referenced by VenusLighthouseGroundFloorCues.
Definition at line 1242 of file venus_lighthouse.c.
scVenusLighthouseHidePath
static void scVenusLighthouseHidePath(void)
When Reveal wears off on the lighthouse's ground floor, the two hidden ways it showed vanish again: the doorway at the east end of the carved reliefs (metatiles (23, 8..10)) and the stairs in the south of the lady statue's room (metatiles (46..48, 55..57)).
References fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), gmFlagClear() and Sint32.
Referenced by VenusLighthouseGroundFloorCues.
Definition at line 1264 of file venus_lighthouse.c.
scVenusLighthouseRevealPath
static void scVenusLighthouseRevealPath(void)
Isaac casts Reveal on the lighthouse's ground floor, and the screen turns grey as a doorway appears at the east end of the carved reliefs (metatiles (23, 8..10)), the way to the Carry Stone.
Stairs appear the same way in the south of the lady statue's room (metatiles (46..48, 55..57)), the way on to the great statue. Both can be walked through while Reveal lasts. Every edition but the Japanese also stops random battles for that time.
References fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), gmFlagSet() and Sint32.
Referenced by VenusLighthouseGroundFloorCues.
Definition at line 1292 of file venus_lighthouse.c.
scVenusLighthouseThrowBackFromLightning
static void scVenusLighthouseThrowBackFromLightning(void)
Isaac walks into the band of yellow lightning that crackles across the floor south of the lady statue (metatiles (41..43, 53..57)), and it strikes him. He flashes white, turns grey and is thrown back out of it, sits dazed with smoke rising from him, and shakes his head before he comes to.
It strikes until Move has slid the lady statue onto the floor switch in front
of her (FLAG_VENUS_LIGHTHOUSE_STATUE_ON_SWITCH). He lands to the north on row
52 when he was struck at row 54 or above, else to the south on row 59.
References fdActorFlagsSet(), fdActorGet(), fdActorSetAnimationAndWait(), fdActorSetScript(), fdActorSetSpriteColorById(), fdActorShowEmote(), fdActorWaitForScriptEndById(), fdActorWalkToAndWait(), fdScriptEnd(), fdScriptStart(), fdScriptWait(), scVenusLighthouseEmitRisingParticles(), Sint32 and VenusLeaderShockedScript.
Referenced by VenusLighthouseGroundFloorCues.
Definition at line 1320 of file venus_lighthouse.c.
scVenusLighthouseDrawFirstPath
static inline void scVenusLighthouseDrawFirstPath(void)
Redraws the great statue's room for the first of the two paths it opens
(FLAG_VENUS_LIGHTHOUSE_FIRST_PATH).
References fdMapGridCopyMetatilesTo().
Referenced by scInit() and scVenusLighthouseSearchStatue().
Definition at line 1359 of file venus_lighthouse.c.
scVenusLighthouseDrawSecondPath
static inline void scVenusLighthouseDrawSecondPath(void)
Redraws the great statue's room with the second path open
(FLAG_VENUS_LIGHTHOUSE_SECOND_PATH), as scVenusLighthouseDrawFirstPath.
References fdMapGridCopyMetatilesTo().
Referenced by scInit() and scVenusLighthouseSearchStatue().
Definition at line 1377 of file venus_lighthouse.c.
scVenusLighthouseSearchStatue
static void scVenusLighthouseSearchStatue(void)
Isaac searches the great seated statue at the north end of its hall (metatile (28, 25)), and the statue speaks to his soul. The screen pales to white, and when it clears the floor lamps before the statue are joined by gold lines along one of two paths, which the camera follows south and back.
The first time the tick counter's parity picks the path, and each later
search switches it (FLAG_VENUS_LIGHTHOUSE_FIRST_PATH or _SECOND_PATH). The
Tunnel Ruins under Babi Lighthouse open their ways to match.
References fdActorSetAnimation(), fdCameraWaitForMove(), fdPaletteFadeApplySource(), fdPaletteFadeApplyTarget(), fdPaletteFadeStartInterpolation(), fdScriptEnd(), fdScriptGetFlag(), fdScriptStart(), fdScriptWait(), gmFlagClear(), gmFlagSet(), mnFieldMessageShow(), scVenusLighthouseDrawFirstPath(), scVenusLighthouseDrawSecondPath(), state, sySoundPlay() and TickCount.
Referenced by VenusLighthouseGroundFloorCues.
Definition at line 1401 of file venus_lighthouse.c.
scVenusLighthouseMovePillarTowardWall
static void scVenusLighthouseMovePillarTowardWall(void)
Isaac Moves the grey spiral-marked pillar in the room east of the reliefs.
Once it is up against the wall, the first time only, Garet steps out and says
they can't push the block farther, that it would be great to carry it and
drop it to the ground, and asks whether their Psynergy can help
(FLAG_VENUS_LIGHTHOUSE_PILLAR_AT_WALL).
References fdActorFaceActor(), fdActorFaceDirection(), fdActorFaceEachOther(), fdActorGet(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationAndWait(), fdActorSetPosFX(), fdActorSetSpeedFX(), fdActorShowEmote(), fdActorWalkToAndWait(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait(), gmFlagGet(), gmFlagSet(), scWalkIntoLeader() and Sint32.
Referenced by scVenusLighthousePushPillarTowardWall() and VenusLighthouseGroundFloorCues.
Definition at line 1464 of file venus_lighthouse.c.
scVenusLighthousePushPillarTowardWall
static void scVenusLighthousePushPillarTowardWall(void)
Isaac pushes the grey spiral-marked pillar in the room east of the reliefs by walking into it, as Move would, with Garet's remark once it reaches the wall.
References fdScriptEnd(), fdScriptStart(), fdScriptWait(), scVenusLighthouseMovePillarTowardWall() and scVenusLighthousePushPillarAhead().
Referenced by VenusLighthouseGroundFloorCues.
Definition at line 1515 of file venus_lighthouse.c.
scVenusLighthouseMoveStatueOntoSwitch
static void scVenusLighthouseMoveStatueOntoSwitch(void)
Isaac Moves the lady statue in the north-west corner of her room east onto
the floor switch in front of her (metatile (42, 49)). There she sinks in with
a thump and holds the switch down, and the lightning south of her stops
(FLAG_VENUS_LIGHTHOUSE_STATUE_ON_SWITCH).
References fdActorGet(), fdMapGridCopyMetatilesTo(), fdScriptEnd(), fdScriptStart(), fdScriptWait(), gmFlagSet() and sySoundPlay().
Referenced by VenusLighthouseGroundFloorCues.
Definition at line 1528 of file venus_lighthouse.c.
scVenusLighthouseStepOnFloorSwitch
static void scVenusLighthouseStepOnFloorSwitch(void)
Isaac steps onto the middle of the pink floor switch in front of the lady
statue (metatile (42, 49)): it sinks under him with a rattle, and the band of
lightning across the floor south of her vanishes for as long as he stands
there (FLAG_VENUS_LIGHTHOUSE_ON_GROUND_FLOOR_SWITCH). Stepping off raises the
switch and draws the lightning again. On the metatile's edge nothing happens:
the switch stays up and the lightning keeps crackling.
References fdActorGet(), fdMapGridCopyMetatilesTo(), fdScriptEnd(), fdScriptGetFlag(), fdScriptStart(), fdScriptWait(), gmFlagClear(), gmFlagSet(), Sint32 and sySoundPlay().
Referenced by VenusLighthouseGroundFloorCues.
Definition at line 1555 of file venus_lighthouse.c.
scVenusLighthouseTalkToScholarByDoor
static void scVenusLighthouseTalkToScholarByDoor(void)
A scholar standing at the west door of the great statue's hall tells Isaac he came in to explore once the door opened, and the camera turns to the statue as he says the wanderers did something to it that made the floor light up.
References fdActorFaceActor(), fdActorFaceDirection(), fdCameraWaitForMove(), fdScriptEnd(), fdScriptSetMessageId(), fdScriptShowMessage(), fdScriptShowMessageThenWait(), fdScriptStart(), fdScriptWait() and state.
Referenced by VenusLighthouseGroundFloorCues.
Definition at line 1588 of file venus_lighthouse.c.
scVenusLighthouseFallThroughFloor
static void scVenusLighthouseFallThroughFloor(void)
On the first floor, Isaac steps onto the hole in the floor and drops through it into the room below.
References fdActorGet(), fdActorMoveToAndWait(), fdActorRunRepeatedMotion(), fdActorSetAnimation(), fdActorSetAnimationSpeedById(), fdActorSetAttachedEffect(), fdActorSetSpriteColorById(), fdActorSetSpriteFlags(), fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptFinishScreenTransition(), fdScriptStart(), fdScriptWait(), fdScriptWaitTransitionTicks(), scActorWaitUntilLanded(), scVenusLighthouseCreateBlendedPassageEffect() and syImportScriptSetExitRequest().
Referenced by VenusLighthouseFirstFloorCues.
Definition at line 1612 of file venus_lighthouse.c.
scVenusLighthouseMoveCappedPillar
static void scVenusLighthouseMoveCappedPillar(void)
Isaac Moves one of the three grey pillars with white tops that stand in the dotted square of floor in the first floor's south-west room (metatiles (11..16, 43..53)), so that he can leap onto their tops.
Once a pillar has slid, the game marks the floor of the square afresh, so that walking into any pillar pushes it and the metatiles the pillars left are floor again.
References fdActorGet(), fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptStart(), scActorSwapPositionsByDepth() and Sint32.
Referenced by scInit(), scVenusLighthousePushCappedPillar() and VenusLighthouseFirstFloorCues.
Definition at line 1675 of file venus_lighthouse.c.
scVenusLighthousePushCappedPillar
static void scVenusLighthousePushCappedPillar(void)
Isaac walks into one of the three white-topped pillars in the first floor's south-west room and pushes it a metatile, as Move would.
References fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptStart(), scVenusLighthouseMoveCappedPillar() and scVenusLighthousePushPillarAhead().
Referenced by VenusLighthouseFirstFloorCues.
Definition at line 1707 of file venus_lighthouse.c.
scVenusLighthouseUnblockCarryPillarMetatiles
static void scVenusLighthouseUnblockCarryPillarMetatiles(void)
As Isaac begins Move or Carry on one of the two grey spiral-marked pillars by the pit on the first floor, or pushes one, the metatiles under both pillars are made the kind that walking into tries a jump or a push, since one of the pillars is about to leave its metatile. Nothing shows.
References fdActorGet() and fdMapGridSetMetatileBehaviorAt().
Referenced by scVenusLighthouseJumpOrPushCarryPillar() and VenusLighthouseFirstFloorCues.
Definition at line 1720 of file venus_lighthouse.c.
scVenusLighthouseMoveCarryPillar
static void scVenusLighthouseMoveCarryPillar(void)
Isaac Moves one of the two grey spiral-marked pillars by the pit in the first floor's west room (metatiles (4..16, 21..27)). Nothing more happens than the slide: a pillar still standing on the floor is made solid again where it ends up.
References fdActorGet() and fdMapGridSetMetatileBehaviorAt().
Referenced by scInit(), scVenusLighthouseJumpOrPushCarryPillar(), scVenusLighthouseReleaseFallenCarryPillar() and VenusLighthouseFirstFloorCues.
Definition at line 1740 of file venus_lighthouse.c.
scVenusLighthouseJumpOrPushCarryPillar
static void scVenusLighthouseJumpOrPushCarryPillar(void)
Isaac walks into the pit or one of the two spiral-marked pillars beside it, in the first floor's west room. He leaps a one-metatile gap if the far side is clear; otherwise he pushes the pillar ahead of him.
References fdScriptEnd(), fdScriptStart(), scVenusLighthouseJumpAcrossGap(), scVenusLighthouseMoveCarryPillar(), scVenusLighthousePushPillarAhead() and scVenusLighthouseUnblockCarryPillarMetatiles().
Referenced by VenusLighthouseFirstFloorCues.
Definition at line 1759 of file venus_lighthouse.c.
scVenusLighthouseSetPillarInPit
static void scVenusLighthouseSetPillarInPit(ACTOR *pillar)
A pillar Carry has set down in the pit stays there, its top flush with the floor, and its metatile becomes floor Isaac can walk across.
References fdMapGridCopyMetatileAttributes() and Sint32.
Referenced by scInit() and scVenusLighthouseCarryPillarAcrossGap().
Definition at line 1773 of file venus_lighthouse.c.
scVenusLighthouseReleaseFallenCarryPillar
static void scVenusLighthouseReleaseFallenCarryPillar(ACTOR *pillar)
A pillar Carry has dropped outside the pit falls through the floor out of sight; a pillar still standing is made solid again.
References fdActorRelease(), scActorWaitUntilLanded(), scVenusLighthouseCreateBlendedPassageEffect() and scVenusLighthouseMoveCarryPillar().
Referenced by scVenusLighthouseCarryPillarAcrossGap().
Definition at line 1787 of file venus_lighthouse.c.
scVenusLighthouseCarryPillarAcrossGap
static void scVenusLighthouseCarryPillarAcrossGap(void)
Isaac lifts one of the two spiral-marked pillars in the first floor's west room with Carry. Set down in the pit (column 8 for the first pillar, 7 for the second), it fills it and Isaac can walk on across. One that drops lower falls through the floor and is gone.
References fdActorGet(), fdScriptEnd(), fdScriptStart(), scActorWaitUntilLanded(), scVenusLighthouseReleaseFallenCarryPillar() and scVenusLighthouseSetPillarInPit().
Referenced by VenusLighthouseFirstFloorCues.
Definition at line 1814 of file venus_lighthouse.c.
scVenusLighthouseStepOnWallSwitch
static void scVenusLighthouseStepOnWallSwitch(void)
Isaac steps onto the pink floor switch in the east of the second floor's west
room (metatile (19, 33)). The first time, the stone wall beside it slides
aside in a cloud of dust and the floor shakes, then the view cuts to the
first floor, where the sand fall in the room of three doors moves east and
leaves dry the stone chute it ran down
(scVenusLighthouseMoveFirstFloorSandFall).
It counts only in the middle of the metatile, where the switch sinks under
him by 2 pixels. The wall's picture layer slides 96 pixels over 480 ticks,
and its metatiles follow every 40 (FLAG_VENUS_LIGHTHOUSE_WALL_MOVED).
References fdActorGet(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesTo(), fdMapGridWaitForShakeToSettle(), fdScriptEnd(), fdScriptGetFlag(), fdScriptStart(), fdScriptWait(), gmFlagSet(), Sint32, syImportScriptSetExitRequest(), sySoundPlay(), sySynch() and TickCount.
Referenced by VenusLighthouseSecondFloorCues.
Definition at line 1852 of file venus_lighthouse.c.
scVenusLighthouseMoveGatePillar
static void scVenusLighthouseMoveGatePillar(void)
Isaac Moves the grey pillar carrying a straight piece of gold track, in the second floor's room of the lady statue and the pink gate (the pillar starts at metatile (48, 44)). Once it is in the dark socket in the track (metatile (46, 45)) it sinks in with a thump, a light runs from the lady statue along the track and over the pillar to the gate, and the gate opens.
That happens the first time only (FLAG_VENUS_LIGHTHOUSE_GATE_OPEN).
References fdActorGet(), fdActorRelease(), fdActorSetScript(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdActorWaitForScriptEndById(), fdMapGridCopyMetatileAttributes(), fdMapGridPlayMapEdit(), fdScriptEnd(), fdScriptStart(), fdScriptWait(), gmFlagGet(), gmFlagSet(), scActorWaitUntilLanded(), scVenusLighthouseCreateOccludingPassageEffect(), Sint32, sySoundPlay(), VenusSecondFloorGateMetatiles and VenusSecondFloorLightToGate.
Referenced by scInit(), scVenusLighthouseJumpOrPushGatePillar() and VenusLighthouseSecondFloorCues.
Definition at line 1954 of file venus_lighthouse.c.
scVenusLighthouseJumpOrPushGatePillar
static void scVenusLighthouseJumpOrPushGatePillar(void)
Isaac walks into the second floor's track pillar, or the socket, and pushes the pillar a metatile, as Move would, or leaps a one-metatile gap if the far side is clear.
References fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptStart(), scVenusLighthouseJumpAcrossGap(), scVenusLighthouseMoveGatePillar() and scVenusLighthousePushPillarAhead().
Referenced by VenusLighthouseSecondFloorCues.
Definition at line 2033 of file venus_lighthouse.c.
scVenusLighthouseMoveSwitchPillar
static void scVenusLighthouseMoveSwitchPillar(void)
Isaac Moves one of the three grey pillars carrying pieces of gold track, in the third floor's room of the lady statue and four sockets. A pillar that reaches a socket sinks in. With all three sunk, two lights run from the statue along the track, and the gate opens if one of them reaches it.
Which three of the four sockets they fill decides where the track carries the
lights (VenusThirdFloorLightToNortheast and VenusThirdFloorLightToSoutheast),
and the flags remember which socket was left empty, the south-east or the
north-west.
References fdActorGet(), fdActorRelease(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdMapGridCopyMetatileAttributes(), fdMapGridPlayMapEdit(), fdScriptEnd(), fdScriptStart(), fdScriptWait(), gmFlagGet(), gmFlagSet(), scActorWaitUntilLanded(), scVenusLighthouseCreateLight(), scVenusLighthouseCreateOccludingPassageEffect(), Sint32, sySoundPlay(), sySynch(), VenusThirdFloorGateMetatiles, VenusThirdFloorLightToNortheast, VenusThirdFloorLightToSoutheast and VenusThirdFloorSockets.
Referenced by scInit(), scVenusLighthouseJumpOrPushSwitchPillar() and VenusLighthouseThirdFloorCues.
Definition at line 2054 of file venus_lighthouse.c.
scVenusLighthouseJumpOrPushSwitchPillar
static void scVenusLighthouseJumpOrPushSwitchPillar(void)
Isaac walks into one of the third floor's three track pillars and pushes it a metatile, as Move would, or leaps a one-metatile gap if the far side is clear.
References fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptStart(), scVenusLighthouseJumpAcrossGap(), scVenusLighthouseMoveSwitchPillar() and scVenusLighthousePushPillarAhead().
Referenced by VenusLighthouseThirdFloorCues.
Definition at line 2223 of file venus_lighthouse.c.
scVenusLighthouseFollowSupportingPillarHeight
static UNREAD_RESULT scVenusLighthouseFollowSupportingPillarHeight(ACTOR *pillar)
A pillar set down on a balance platform rides it up and down, 16 pixels above the platform or the pillar under it.
References fdActorGet().
Referenced by scVenusLighthouseCarryFloatingPillar().
Definition at line 2237 of file venus_lighthouse.c.
scVenusLighthouseMoveBalancePlatforms
static void scVenusLighthouseMoveBalancePlatforms(Sint32 waitTicks)
The two balance platforms of the fourth floor's west room sink and rise to the heights their loads give them, with a grinding sound. A platform that ends between the floor and 30 pixels below it can be stepped on.
References BalancePlatformHeights, fdActorGet(), fdActorWaitForMoveById(), fdMapGridCopyMetatileAttributes(), fdScriptWait(), scFieldActorSetMoveTargetFX(), Sint32 and sySoundPlay().
Referenced by scInit() and scVenusLighthouseCarryFloatingPillar().
Definition at line 2247 of file venus_lighthouse.c.
scVenusLighthouseStackFloatingPillar
static void scVenusLighthouseStackFloatingPillar(Sint32 pillarId)
Sets a pillar Carry has dropped on a balance platform on top of whatever is highest in its metatile: the platform, or a pillar already on it.
References fdActorGet(), fdActorWaitForMoveById(), fdScriptWait(), scFieldActorSetMoveTargetFX(), scFieldEffectSpawnNineRadialEffects(), Sint32 and sySoundPlay().
Referenced by scVenusLighthouseCarryFloatingPillar().
Definition at line 2304 of file venus_lighthouse.c.
scVenusLighthouseSettleFloatingPillar
static inline void scVenusLighthouseSettleFloatingPillar(ACTOR *pillar)
Stops a floating pillar where it is.
Referenced by scVenusLighthouseCarryFloatingPillar().
Definition at line 2350 of file venus_lighthouse.c.
scVenusLighthouseCopyPos
static inline void scVenusLighthouseCopyPos(ACTOR *destination, ACTOR *source)
Puts one pillar where another stands, leaving its motion as it was.
Referenced by scVenusLighthouseCarryFloatingPillar().
Definition at line 2360 of file venus_lighthouse.c.
scVenusLighthouseCarryFloatingPillar
static void scVenusLighthouseCarryFloatingPillar(void)
Isaac lifts one of the four grey spiral-marked pillars floating in the fourth
floor's west room with Carry and drops it onto one of the two balance
platforms at the south of the room. The platforms sink and rise to the
pillars' weight; one that ends between the floor and 30 pixels below it can
be stepped on (scVenusLighthouseMoveBalancePlatforms).
A pillar dropped on a platform stays there
(FLAG_VENUS_LIGHTHOUSE_FIRST_FLOATING_PILLAR_SETTLED plus its number), and
the camera looks south at the platforms as they move.
References fdActorGet(), fdActorRelease(), fdActorSetSpritePriority(), fdCameraGetActor(), fdCameraWaitForMove(), fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptGetFlag(), fdScriptStart(), gmFlagGet(), gmFlagSet(), scActorWaitUntilLanded(), scVenusLighthouseCopyPos(), scVenusLighthouseCreateBlendedPassageEffect(), scVenusLighthouseFollowSupportingPillarHeight(), scVenusLighthouseMoveBalancePlatforms(), scVenusLighthouseSettleFloatingPillar(), scVenusLighthouseStackFloatingPillar() and Sint32.
Referenced by VenusLighthouseFourthFloorCues.
Definition at line 2376 of file venus_lighthouse.c.
scVenusLighthousePushFloatingPillar
static void scVenusLighthousePushFloatingPillar(void)
Isaac walks into one of the floating pillars in the fourth floor's west room and pushes it a metatile.
References fdScriptEnd(), fdScriptStart() and scVenusLighthousePushPillarAhead().
Referenced by VenusLighthouseFourthFloorCues.
Definition at line 2501 of file venus_lighthouse.c.
scVenusLighthouseStepOnWestWallSwitch
static void scVenusLighthouseStepOnWestWallSwitch(void)
Isaac steps onto the pink floor switch on the west side of the fourth floor's
big middle room (metatile (33, 20)). The first time, a wall slides aside in a
cloud of dust, and the view cuts to the third floor's room of three sand
slides, where sand pours down the west one
(scVenusLighthousePourWestSandSlide).
References fdActorGet(), fdMapGridCopyMetatilesTo(), fdMapGridWaitForShakeToSettle(), fdScriptEnd(), fdScriptStart(), fdScriptWait(), gmFlagGet(), Sint32, syImportScriptSetExitRequest(), sySoundPlay(), sySynch() and TickCount.
Referenced by VenusLighthouseFourthFloorCues.
Definition at line 2513 of file venus_lighthouse.c.
scVenusLighthouseStepOnEastWallSwitch
static void scVenusLighthouseStepOnEastWallSwitch(void)
Isaac steps onto the pink floor switch on the east side of the fourth floor's
big middle room (metatile (49, 20)), and as with the west one sand pours down
the third floor's east slide (scVenusLighthousePourEastSandSlide).
References fdActorGet(), fdMapGridCopyMetatilesTo(), fdMapGridWaitForShakeToSettle(), fdScriptEnd(), fdScriptStart(), fdScriptWait(), gmFlagGet(), Sint32, syImportScriptSetExitRequest(), sySoundPlay(), sySynch() and TickCount.
Referenced by VenusLighthouseFourthFloorCues.
Definition at line 2595 of file venus_lighthouse.c.
scVenusLighthouseMoveSocketPillar
static void scVenusLighthouseMoveSocketPillar(void)
Isaac Moves one of the four grey pillars carrying pieces of gold track, in
the fourth floor's south-west room, where the track runs from the lady statue
up to the pink gate. Each pillar that reaches one of the eight sockets sinks
in, and once the four are sunk the light runs from the statue, opening the
gate when it reaches it (FLAG_VENUS_LIGHTHOUSE_PILLAR_GATE_OPEN).
References fdActorGet(), fdActorRelease(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdActorStartScript(), fdActorWaitForScriptEnd(), fdCameraMoveToActorById(), fdCameraWaitForMove(), fdEndBusyAndReveal(), fdMapGridAnimateMetatiles(), fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptStart(), fdScriptWait(), gmFlagGet(), gmFlagSet(), scActorWaitUntilLanded(), scVenusLighthouseCreateLight(), scVenusLighthouseCreateOccludingPassageEffect(), sySoundPlay(), sySynch(), VenusFourthFloorGateMetatiles, VenusFourthFloorLightFromStatue, VenusFourthFloorLightToSoutheast, VenusFourthFloorLightToSouthwest and VenusFourthFloorSockets.
Referenced by scInit(), scVenusLighthouseJumpOrPushSocketPillar() and VenusLighthouseFourthFloorCues.
Definition at line 2678 of file venus_lighthouse.c.
scVenusLighthouseJumpOrPushSocketPillar
static void scVenusLighthouseJumpOrPushSocketPillar(void)
Isaac walks into one of the fourth floor's four track pillars and pushes it a metatile, as Move would, or leaps a one-metatile gap if the far side is clear.
References fdMapGridCopyMetatileAttributes(), fdScriptEnd(), fdScriptStart(), scVenusLighthouseJumpAcrossGap(), scVenusLighthouseMoveSocketPillar() and scVenusLighthousePushPillarAhead().
Referenced by VenusLighthouseFourthFloorCues.
Definition at line 2872 of file venus_lighthouse.c.
scVenusLighthouseEnterRisingPassage
static void scVenusLighthouseEnterRisingPassage(void)
Isaac walks south into the gap in the floor of the fourth floor's last room
(metatile (32, 44)) and drops through it. He lands on a small round platform,
which carries him up to the Lighthouse Aerie
(scVenusLighthouseRaiseLeaderInSparkles).
References fdActorFaceDirection(), fdActorWalkToAndWait(), fdScriptEnd(), fdScriptStart(), fdScriptWait(), scFieldActorJumpDownLedge(), scVenusLighthouseCreateBlendedPassageEffect() and syImportScriptSetExitRequest().
Referenced by VenusLighthouseFourthFloorCues.
Definition at line 2889 of file venus_lighthouse.c.
scGetCues
const CUE *scGetCues(void)
Selects the puzzle interactions and dialogue for the current lighthouse scene.
References MainRoutineStateWork, Sint32, VenusLighthouseEntryCues, VenusLighthouseFirstFloorCues, VenusLighthouseFourthFloorCues, VenusLighthouseGroundFloorCues, VenusLighthouseSecondFloorCues and VenusLighthouseThirdFloorCues.
Definition at line 2906 of file venus_lighthouse.c.
scVenusLighthouseLayDownHurtActor
static void scVenusLighthouseLayDownHurtActor(Sint32 actorId)
Lays one of the scholars or soldiers the wanderers hurt on the ground
(ANIM_HURT_LYING), drawn behind the backgrounds' fronts, still, and neither
solid nor pushable.
References fdActorGet(), fdActorSelectAnimation(), fdActorSetSpriteFlags(), fdActorSetSpritePriority() and Sint32.
Referenced by scInit().
Definition at line 2940 of file venus_lighthouse.c.
scVenusLighthouseVisitPillarActors
static void scVenusLighthouseVisitPillarActors(void)
An event that looks up the fourth floor's four socket pillars each tick and does nothing with them.
References fdActorGet().
Referenced by scInit().
Definition at line 2955 of file venus_lighthouse.c.
scInit
Sint32 scInit(void)
Restores puzzle progress, actors and entrance effects for all six scenes, by scene and entrance.
References fdActorGet(), fdActorSetAnimation(), fdActorSetSpriteFlags(), fdActorSetSpritePriority(), fdBlendScriptSuspend(), fdEffectStartGroundMask(), fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatiles(), fdMapGridCopyMetatilesTo(), fdQueueMusic(), fdScriptGetFlag(), fdScriptStartScreenTransition(), fdScriptWait(), fdScriptWaitTransitionTicks(), gmFlagClear(), gmFlagGet(), gmFlagSet(), MainRoutineStateWork, scActorUpdateBlockDrawOrder(), scActorWaitUntilLanded(), scVenusLighthouseArriveThroughSparkPassage(), scVenusLighthouseCreateBlendedPassageEffect(), scVenusLighthouseDrawFirstPath(), scVenusLighthouseDrawSecondPath(), scVenusLighthouseLandWithRadialDust(), scVenusLighthouseLayDownHurtActor(), scVenusLighthouseMoveBalancePlatforms(), scVenusLighthouseMoveCappedPillar(), scVenusLighthouseMoveCarryPillar(), scVenusLighthouseMoveFirstFloorSandFall(), scVenusLighthouseMoveGatePillar(), scVenusLighthouseMoveSocketPillar(), scVenusLighthouseMoveSwitchPillar(), scVenusLighthousePourEastSandSlide(), scVenusLighthousePourWestSandSlide(), scVenusLighthousePuffEastSlideHead(), scVenusLighthousePuffWestSlideHead(), scVenusLighthouseRaiseLeaderInSparkles(), scVenusLighthouseRestoreMarkedColors(), scVenusLighthouseSetPillarInPit(), scVenusLighthouseTrailLight(), scVenusLighthouseVisitPillarActors(), Sint32, sySetTickEvent() and sySynch().
Definition at line 2970 of file venus_lighthouse.c.
scVenusLighthouseDriftNorth
static void scVenusLighthouseDriftNorth(void)
Isaac steps onto sand flowing north in the fourth floor's sand maze, and it carries him north a metatile at a time in puffs of sand. Where it runs over a ledge he drops down.
References scVenusLighthouseDriftLeader().
Referenced by VenusLighthouseFourthFloorCues.
Definition at line 3530 of file venus_lighthouse.c.
scVenusLighthouseDriftSouth
static void scVenusLighthouseDriftSouth(void)
Isaac steps onto a slide of flowing sand, and it carries him south a metatile at a time in puffs of sand until he reaches firm floor: down the middle of the first floor's big room (metatiles (34, 8) to (50, 33)), the third floor's slides, and the south-flowing sand of the fourth floor's maze.
References scVenusLighthouseDriftLeader().
Referenced by VenusLighthouseFirstFloorCues, VenusLighthouseFourthFloorCues and VenusLighthouseThirdFloorCues.
Definition at line 3543 of file venus_lighthouse.c.
scVenusLighthouseDriftWest
static void scVenusLighthouseDriftWest(void)
Isaac steps onto sand flowing west in the fourth floor's sand maze, and it carries him west a metatile at a time in puffs of sand.
References scVenusLighthouseDriftLeader().
Referenced by VenusLighthouseFourthFloorCues.
Definition at line 3554 of file venus_lighthouse.c.
scVenusLighthouseDriftEast
static void scVenusLighthouseDriftEast(void)
Isaac steps onto sand flowing east in the fourth floor's sand maze, and it carries him east a metatile at a time in puffs of sand.
References scVenusLighthouseDriftLeader().
Referenced by VenusLighthouseFourthFloorCues.
Definition at line 3565 of file venus_lighthouse.c.
scVenusLighthouseSetSandParticleScaleAndSpin
static inline void scVenusLighthouseSetSandParticleScaleAndSpin(EFFECT_OPTIONS *options)
Chooses the size and spin of a burst of sand as a slide starts to pour.
Referenced by scVenusLighthouseMoveFirstFloorSandFall(), scVenusLighthousePourEastSandSlide() and scVenusLighthousePourWestSandSlide().
Definition at line 3687 of file venus_lighthouse.c.
scVenusLighthousePuffSandAtSlideHead
static void scVenusLighthousePuffSandAtSlideHead(Sint32 x, Sint32 z)
Puffs of sand at the head of a sand slide that has started to pour, about one tick in four.
References Sint32 and TickCount.
Referenced by scVenusLighthousePuffEastSlideHead() and scVenusLighthousePuffWestSlideHead().
Definition at line 3781 of file venus_lighthouse.c.
scVenusLighthouseEmitRisingSparkles
static UNREAD_RESULT scVenusLighthouseEmitRisingSparkles(ACTOR *actor)
Sparkles rise around the leader as the platform lifts him, one every four ticks.
References GlintTwinkleScript, Sint32, sySoundPlay() and TickCount.
Referenced by scVenusLighthouseRaiseLeaderInSparkles().
Definition at line 3975 of file venus_lighthouse.c.
scVenusLighthouseRouteLight
static Sint32 scVenusLighthouseRouteLight(ACTOR *light)
A light reaching a socket runs on along the track of the pillar sunk there, by its socket's path for that piece, or goes out when the piece does not join the edge it comes in by.
References fdActorStartScript(), MainRoutineStateWork, scActorFindAtPos(), Sint32, VenusFourthFloorSocketPaths, VenusFourthFloorSockets, VenusFourthFloorSocketTracks, VenusLightGoesOut, VenusThirdFloorSocketPaths, VenusThirdFloorSockets, VenusThirdFloorSocketTracks, VenusTracksMovingEast, VenusTracksMovingNorth, VenusTracksMovingSouth and VenusTracksMovingWest.
Referenced by VenusFourthFloorLightEastToNortheast, VenusFourthFloorLightFarWestToWest, VenusFourthFloorLightMiddleToEast, VenusFourthFloorLightMiddleToWest, VenusFourthFloorLightSoutheastToMiddle, VenusFourthFloorLightSouthwestToFarWest, VenusFourthFloorLightToSoutheast, VenusFourthFloorLightToSouthwest, VenusFourthFloorLightWestToNorthwest, VenusThirdFloorLightNortheastToNorthwest, VenusThirdFloorLightNortheastToSoutheast, VenusThirdFloorLightNorthwestToSouthwest, VenusThirdFloorLightSoutheastToNortheast, VenusThirdFloorLightSoutheastToSouthwest, VenusThirdFloorLightSouthwestToNorthwest, VenusThirdFloorLightToNortheast and VenusThirdFloorLightToSoutheast.
Definition at line 4090 of file venus_lighthouse.c.
Variables in detail
VenusThirdFloorSockets
extern SWITCH_METATILE VenusThirdFloorSockets[]
SWITCH_METATILE VenusThirdFloorSockets[]
The third floor's four sockets, by metatile: northwest, northeast, southwest and southeast.
Referenced by scVenusLighthouseMoveSwitchPillar() and scVenusLighthouseRouteLight().
Definition at lines 95 and 4222 of file venus_lighthouse.c.
VenusFourthFloorSockets
extern SWITCH_METATILE VenusFourthFloorSockets[]
SWITCH_METATILE VenusFourthFloorSockets[]
The fourth floor's eight sockets, by metatile: northwest, northeast, west, east, far west, middle, southwest and southeast.
Referenced by scVenusLighthouseMoveSocketPillar() and scVenusLighthouseRouteLight().
Definition at lines 97 and 4234 of file venus_lighthouse.c.
VenusTracksMovingWest
extern Uint8 VenusTracksMovingWest[]
Uint8 VenusTracksMovingWest[]
The pieces of track a light can run onto in each direction, each list ended by VENUS_TRACK_END
(scVenusLighthouseRouteLight).
Referenced by scVenusLighthouseRouteLight().
Definition at lines 99 and 4247 of file venus_lighthouse.c.
VenusTracksMovingEast
extern Uint8 VenusTracksMovingEast[]
Uint8 VenusTracksMovingEast[]
Referenced by scVenusLighthouseRouteLight().
Definition at lines 100 and 4250 of file venus_lighthouse.c.
VenusTracksMovingNorth
extern Uint8 VenusTracksMovingNorth[]
Uint8 VenusTracksMovingNorth[]
Referenced by scVenusLighthouseRouteLight().
Definition at lines 101 and 4253 of file venus_lighthouse.c.
VenusTracksMovingSouth
extern Uint8 VenusTracksMovingSouth[]
Uint8 VenusTracksMovingSouth[]
Referenced by scVenusLighthouseRouteLight().
Definition at lines 102 and 4256 of file venus_lighthouse.c.
VenusLeaderShockedScript
extern Sint32 VenusLeaderShockedScript[]
Sint32 VenusLeaderShockedScript[]
The leader's actor script as the lightning strikes him (scVenusLighthouseThrowBackFromLightning).
He swells and shrinks ten times, flashing white and crackling
(scVenusLighthouseFlashStruckLeader).
References scVenusLighthouseFlashStruckLeader() and Sint32.
Referenced by scVenusLighthouseThrowBackFromLightning().
Definition at lines 103 and 4319 of file venus_lighthouse.c.
VenusSecondFloorLightToGate
extern Sint32 VenusSecondFloorLightToGate[]
Sint32 VenusSecondFloorLightToGate[]
The second floor's light. It runs from the lady statue along the track, over the sunk gate
pillar, to the gate (scVenusLighthouseTrailLight trails it).
References scVenusLighthouseClearScriptedSpriteFlags(), scVenusLighthouseTrailLight() and Sint32.
Referenced by scVenusLighthouseMoveGatePillar().
Definition at lines 105 and 4382 of file venus_lighthouse.c.
VenusThirdFloorLightToNortheast
extern Sint32 VenusThirdFloorLightToNortheast[]
Sint32 VenusThirdFloorLightToNortheast[]
The third floor's lights, from the lady statue to a socket, from socket to socket, and from a
socket to the gate, where SW_VENUS_LIGHT_ARRIVED opens it. Each that reaches a socket asks
scVenusLighthouseRouteLight for its next path.
References scVenusLighthouseRouteLight() and Sint32.
Referenced by scVenusLighthouseMoveSwitchPillar().
Definition at lines 106 and 4406 of file venus_lighthouse.c.
VenusThirdFloorLightToSoutheast
extern Sint32 VenusThirdFloorLightToSoutheast[]
Sint32 VenusThirdFloorLightToSoutheast[]
References scVenusLighthouseRouteLight() and Sint32.
Referenced by scVenusLighthouseMoveSwitchPillar().
Definition at lines 107 and 4421 of file venus_lighthouse.c.
VenusLightGoesOut
extern Sint32 VenusLightGoesOut[]
Sint32 VenusLightGoesOut[]
A light that cannot go on. It stops trailing particles and is released ten ticks later.
References Sint32.
Referenced by scVenusLighthouseRouteLight(), VenusFourthFloorEastPaths, VenusFourthFloorFarWestPaths, VenusFourthFloorMiddlePaths, VenusFourthFloorNortheastPaths, VenusFourthFloorNorthwestPaths, VenusFourthFloorSoutheastPaths, VenusFourthFloorSouthwestPaths, VenusFourthFloorWestPaths, VenusThirdFloorNortheastPaths, VenusThirdFloorNorthwestPaths, VenusThirdFloorSoutheastPaths and VenusThirdFloorSouthwestPaths.
Definition at lines 108 and 4434 of file venus_lighthouse.c.
VenusFourthFloorLightFromStatue
extern Sint32 VenusFourthFloorLightFromStatue[]
Sint32 VenusFourthFloorLightFromStatue[]
The fourth floor's lights, as the third floor's. The first runs from the statue to the fork,
where scVenusLighthouseMoveSocketPillar sends it on to the southeast socket and a second light to
the southwest one.
References Sint32.
Referenced by scVenusLighthouseMoveSocketPillar().
Definition at lines 109 and 4521 of file venus_lighthouse.c.
VenusFourthFloorLightToSoutheast
extern Sint32 VenusFourthFloorLightToSoutheast[]
Sint32 VenusFourthFloorLightToSoutheast[]
References scVenusLighthouseRouteLight() and Sint32.
Referenced by scVenusLighthouseMoveSocketPillar().
Definition at lines 110 and 4531 of file venus_lighthouse.c.
VenusFourthFloorLightToSouthwest
extern Sint32 VenusFourthFloorLightToSouthwest[]
Sint32 VenusFourthFloorLightToSouthwest[]
References scVenusLighthouseRouteLight() and Sint32.
Referenced by scVenusLighthouseMoveSocketPillar().
Definition at lines 111 and 4621 of file venus_lighthouse.c.
VenusSecondFloorGateMetatiles
extern Uint16 VenusSecondFloorGateMetatiles[]
Uint16 VenusSecondFloorGateMetatiles[]
The gates' metatile animations as each opens, a metatile column at a time.
Referenced by scVenusLighthouseMoveGatePillar().
Definition at lines 112 and 4684 of file venus_lighthouse.c.
VenusThirdFloorGateMetatiles
extern Uint16 VenusThirdFloorGateMetatiles[]
Uint16 VenusThirdFloorGateMetatiles[]
Referenced by scVenusLighthouseMoveSwitchPillar().
Definition at lines 113 and 4691 of file venus_lighthouse.c.
VenusFourthFloorGateMetatiles
extern Uint16 VenusFourthFloorGateMetatiles[]
Uint16 VenusFourthFloorGateMetatiles[]
Referenced by scVenusLighthouseMoveSocketPillar().
Definition at lines 114 and 4698 of file venus_lighthouse.c.
VenusLighthouseEntryEntrances
extern SCENE_ENTRANCE VenusLighthouseEntryEntrances[]
SCENE_ENTRANCE VenusLighthouseEntryEntrances[]
Referenced by scGetEntrances().
Definition at lines 115 and 4706 of file venus_lighthouse.c.
VenusLighthouseEntrancesOther
extern SCENE_ENTRANCE VenusLighthouseEntrancesOther[]
SCENE_ENTRANCE VenusLighthouseEntrancesOther[]
Referenced by scGetEntrances().
Definition at lines 116 and 4716 of file venus_lighthouse.c.
VenusLighthouseFirstFloorEntrances
extern SCENE_ENTRANCE VenusLighthouseFirstFloorEntrances[]
SCENE_ENTRANCE VenusLighthouseFirstFloorEntrances[]
Referenced by scGetEntrances().
Definition at lines 117 and 4768 of file venus_lighthouse.c.
VenusLighthouseSecondFloorEntrances
extern SCENE_ENTRANCE VenusLighthouseSecondFloorEntrances[]
SCENE_ENTRANCE VenusLighthouseSecondFloorEntrances[]
Referenced by scGetEntrances().
Definition at lines 118 and 4814 of file venus_lighthouse.c.
VenusLighthouseThirdFloorEntrances
extern SCENE_ENTRANCE VenusLighthouseThirdFloorEntrances[]
SCENE_ENTRANCE VenusLighthouseThirdFloorEntrances[]
Referenced by scGetEntrances().
Definition at lines 119 and 4840 of file venus_lighthouse.c.
VenusLighthouseFourthFloorEntrances
extern SCENE_ENTRANCE VenusLighthouseFourthFloorEntrances[]
SCENE_ENTRANCE VenusLighthouseFourthFloorEntrances[]
Referenced by scGetEntrances().
Definition at lines 120 and 4884 of file venus_lighthouse.c.
VenusLighthouseExits
extern Uint32 VenusLighthouseExits[]
Uint32 VenusLighthouseExits[]
Referenced by scGetExits().
Definition at lines 121 and 4928 of file venus_lighthouse.c.
VenusLighthouseActorPlacementsOther
extern ACTOR_PLACE VenusLighthouseActorPlacementsOther[]
ACTOR_PLACE VenusLighthouseActorPlacementsOther[]
Referenced by scGetActorPlacements().
Definition at lines 122 and 5238 of file venus_lighthouse.c.
VenusLighthouseEntryActorPlacements
extern ACTOR_PLACE VenusLighthouseEntryActorPlacements[]
ACTOR_PLACE VenusLighthouseEntryActorPlacements[]
Referenced by scGetActorPlacements().
Definition at lines 123 and 5242 of file venus_lighthouse.c.
VenusLighthouseGroundFloorActorPlacements
extern ACTOR_PLACE VenusLighthouseGroundFloorActorPlacements[]
ACTOR_PLACE VenusLighthouseGroundFloorActorPlacements[]
References Sint32, VenusGreyStatueScript and VenusMiniatureLighthouseScript.
Referenced by scGetActorPlacements().
Definition at lines 124 and 5260 of file venus_lighthouse.c.
VenusLighthouseFirstFloorActorPlacements
extern ACTOR_PLACE VenusLighthouseFirstFloorActorPlacements[]
ACTOR_PLACE VenusLighthouseFirstFloorActorPlacements[]
References Sint32 and VenusGreyPillarScript.
Referenced by scGetActorPlacements().
Definition at lines 125 and 5299 of file venus_lighthouse.c.
VenusLighthouseSecondFloorActorPlacements
extern ACTOR_PLACE VenusLighthouseSecondFloorActorPlacements[]
ACTOR_PLACE VenusLighthouseSecondFloorActorPlacements[]
References Sint32, VenusGreyStatueScript and VenusTrackNorthSouthScript.
Referenced by scGetActorPlacements().
Definition at lines 126 and 5313 of file venus_lighthouse.c.
VenusLighthouseThirdFloorActorPlacements
extern ACTOR_PLACE VenusLighthouseThirdFloorActorPlacements[]
ACTOR_PLACE VenusLighthouseThirdFloorActorPlacements[]
References Sint32, VenusGreyStatueScript, VenusTrackNorthWestScript, VenusTrackSouthEastScript and VenusTrackWestEastScript.
Referenced by scGetActorPlacements().
Definition at lines 127 and 5323 of file venus_lighthouse.c.
VenusLighthouseFourthFloorActorPlacements
extern ACTOR_PLACE VenusLighthouseFourthFloorActorPlacements[]
ACTOR_PLACE VenusLighthouseFourthFloorActorPlacements[]
References Sint32, VenusGreyStatueScript, VenusTrackNorthEastScript, VenusTrackNorthSouthScript, VenusTrackSouthEastScript and VenusTrackSouthWestScript.
Referenced by scGetActorPlacements().
Definition at lines 128 and 5337 of file venus_lighthouse.c.
VenusLighthouseEntryCues
extern CUE VenusLighthouseEntryCues[]
CUE VenusLighthouseEntryCues[]
References scVenusLighthouseHearOfTheAttack() and scVenusLighthouseTalkToWaitingScholar().
Referenced by scGetCues().
Definition at lines 129 and 5367 of file venus_lighthouse.c.
VenusLighthouseGroundFloorCues
extern CUE VenusLighthouseGroundFloorCues[]
CUE VenusLighthouseGroundFloorCues[]
References scVenusLighthouseCarryPillarPastWall(), scVenusLighthouseHidePath(), scVenusLighthouseMovePillarTowardWall(), scVenusLighthouseMoveStatueOntoSwitch(), scVenusLighthousePushPillarTowardWall(), scVenusLighthouseReadRelief(), scVenusLighthouseRevealPath(), scVenusLighthouseSearchStatue(), scVenusLighthouseStepOnFloorSwitch(), scVenusLighthouseTalkToScholarByDoor() and scVenusLighthouseThrowBackFromLightning().
Referenced by scGetCues().
Definition at lines 130 and 5406 of file venus_lighthouse.c.
VenusLighthouseFirstFloorCues
extern CUE VenusLighthouseFirstFloorCues[]
CUE VenusLighthouseFirstFloorCues[]
References scVenusLighthouseCarryPillarAcrossGap(), scVenusLighthouseDriftSouth(), scVenusLighthouseEnterCappedPillarRows(), scVenusLighthouseFallThroughFloor(), scVenusLighthouseJumpOrPushCarryPillar(), scVenusLighthouseLeaveCappedPillarRows(), scVenusLighthouseMoveCappedPillar(), scVenusLighthouseMoveCarryPillar(), scVenusLighthousePushCappedPillar() and scVenusLighthouseUnblockCarryPillarMetatiles().
Referenced by scGetCues().
Definition at lines 131 and 5511 of file venus_lighthouse.c.
VenusLighthouseSecondFloorCues
extern CUE VenusLighthouseSecondFloorCues[]
CUE VenusLighthouseSecondFloorCues[]
References scVenusLighthouseEnterSparklingPassage(), scVenusLighthouseJumpOrPushGatePillar(), scVenusLighthouseMoveGatePillar(), scVenusLighthouseSearchLockedDoor() and scVenusLighthouseStepOnWallSwitch().
Referenced by scGetCues().
Definition at lines 132 and 5599 of file venus_lighthouse.c.
VenusLighthouseThirdFloorCues
extern CUE VenusLighthouseThirdFloorCues[]
CUE VenusLighthouseThirdFloorCues[]
References scVenusLighthouseDriftSouth(), scVenusLighthouseEnterSparklingPassage(), scVenusLighthouseJumpOrPushSwitchPillar(), scVenusLighthouseMoveSwitchPillar() and scVenusLighthouseSearchLockedDoor().
Referenced by scGetCues().
Definition at lines 133 and 5636 of file venus_lighthouse.c.
VenusLighthouseFourthFloorCues
extern CUE VenusLighthouseFourthFloorCues[]
CUE VenusLighthouseFourthFloorCues[]
References scVenusLighthouseCarryFloatingPillar(), scVenusLighthouseDriftEast(), scVenusLighthouseDriftNorth(), scVenusLighthouseDriftSouth(), scVenusLighthouseDriftWest(), scVenusLighthouseEnterRisingPassage(), scVenusLighthouseJumpAcrossGap(), scVenusLighthouseJumpOrPushSocketPillar(), scVenusLighthouseMoveSocketPillar(), scVenusLighthousePushFloatingPillar(), scVenusLighthouseSearchLockedDoor(), scVenusLighthouseStepOnEastWallSwitch() and scVenusLighthouseStepOnWestWallSwitch().
Referenced by scGetCues().
Definition at lines 134 and 5704 of file venus_lighthouse.c.
VenusThirdFloorSocketTracks
extern const Uint8 *VenusThirdFloorSocketTracks[]
const Uint8 *VenusThirdFloorSocketTracks[]
Cursors into each third-floor socket's list of pieces in
VenusThirdFloorTrackLists, which scVenusLighthouseRouteLight moves on.
References VenusThirdFloorTrackLists.
Referenced by scVenusLighthouseRouteLight().
Definition at lines 135 and 5811 of file venus_lighthouse.c.
VenusThirdFloorSocketPaths
extern Sint32 **VenusThirdFloorSocketPaths[]
Sint32 **VenusThirdFloorSocketPaths[]
Each third-floor socket's paths, by the index of the piece in its list.
References Sint32, VenusThirdFloorNortheastPaths, VenusThirdFloorNorthwestPaths, VenusThirdFloorSoutheastPaths and VenusThirdFloorSouthwestPaths.
Referenced by scVenusLighthouseRouteLight().
Definition at lines 136 and 5846 of file venus_lighthouse.c.
VenusFourthFloorSocketTracks
extern const Uint8 *VenusFourthFloorSocketTracks[]
const Uint8 *VenusFourthFloorSocketTracks[]
As VenusThirdFloorSocketTracks, for the fourth floor.
References VenusFourthFloorTrackLists.
Referenced by scVenusLighthouseRouteLight().
Definition at lines 137 and 5854 of file venus_lighthouse.c.
VenusFourthFloorSocketPaths
extern Sint32 **VenusFourthFloorSocketPaths[]
Sint32 **VenusFourthFloorSocketPaths[]
As VenusThirdFloorSocketPaths, for the fourth floor.
References Sint32, VenusFourthFloorEastPaths, VenusFourthFloorFarWestPaths, VenusFourthFloorMiddlePaths, VenusFourthFloorNortheastPaths, VenusFourthFloorNorthwestPaths, VenusFourthFloorSoutheastPaths, VenusFourthFloorSouthwestPaths and VenusFourthFloorWestPaths.
Referenced by scVenusLighthouseRouteLight().
Definition at lines 138 and 5901 of file venus_lighthouse.c.
VenusThirdFloorTrackLists
Uint8 VenusThirdFloorTrackLists[]
The third floor's sockets' lists of the pieces they route, in the order of each socket's paths
(VenusThirdFloorSocketTracks points into it).
Referenced by VenusThirdFloorSocketTracks.
Definition at line 4262 of file venus_lighthouse.c.
VenusFourthFloorTrackLists
Uint8 VenusFourthFloorTrackLists[]
The fourth floor's sockets' lists, as VenusThirdFloorTrackLists. Each list ends where the next
begins, and the northeast socket's is empty.
Referenced by VenusFourthFloorSocketTracks.
Definition at line 4275 of file venus_lighthouse.c.
FieldEffectDurationScripts
const Sint32 *FieldEffectDurationScripts[]
References FieldEffectLongScript, FieldEffectMediumScript, FieldEffectShortScript and Sint32.
Definition at line 4294 of file venus_lighthouse.c.
VenusGreyStatueScript
Sint32 VenusGreyStatueScript[]
The lady statues' actor script. They are drawn grey (VENUS_COLOR_MARK), and never pushed
(SW_VENUS_IMMOVABLE).
References scVenusLighthouseApplyMarkedColor() and Sint32.
Referenced by VenusLighthouseFourthFloorActorPlacements, VenusLighthouseGroundFloorActorPlacements, VenusLighthouseSecondFloorActorPlacements and VenusLighthouseThirdFloorActorPlacements.
Definition at line 4302 of file venus_lighthouse.c.
VenusGreyPillarScript
Sint32 VenusGreyPillarScript[]
The first floor's capped pillars' actor script: drawn grey.
References scVenusLighthouseApplyMarkedColor() and Sint32.
Referenced by VenusLighthouseFirstFloorActorPlacements.
Definition at line 4310 of file venus_lighthouse.c.
VenusMiniatureLighthouseScript
Sint32 VenusMiniatureLighthouseScript[]
The actor script of the World Map's picture of Venus Lighthouse, placed in the ground floor's statue room at three fifths of its size, with no collision. It is a small purple tower standing among the floor lamps the statue's routes light (the room's render).
References scVenusLighthouseClearScriptedSpriteFlags() and Sint32.
Referenced by VenusLighthouseGroundFloorActorPlacements.
Definition at line 4339 of file venus_lighthouse.c.
VenusTrackNorthSouthScript
Sint32 VenusTrackNorthSouthScript[]
The actor scripts that give a spiral pillar its piece of track.
References Sint32.
Referenced by VenusLighthouseFourthFloorActorPlacements and VenusLighthouseSecondFloorActorPlacements.
Definition at line 4350 of file venus_lighthouse.c.
VenusTrackNorthWestScript
Sint32 VenusTrackNorthWestScript[]
References Sint32.
Referenced by VenusLighthouseThirdFloorActorPlacements.
Definition at line 4355 of file venus_lighthouse.c.
VenusTrackNorthEastScript
Sint32 VenusTrackNorthEastScript[]
References Sint32.
Referenced by VenusLighthouseFourthFloorActorPlacements.
Definition at line 4360 of file venus_lighthouse.c.
VenusTrackWestEastScript
Sint32 VenusTrackWestEastScript[]
References Sint32.
Referenced by VenusLighthouseThirdFloorActorPlacements.
Definition at line 4365 of file venus_lighthouse.c.
VenusTrackSouthEastScript
Sint32 VenusTrackSouthEastScript[]
References Sint32.
Referenced by VenusLighthouseFourthFloorActorPlacements and VenusLighthouseThirdFloorActorPlacements.
Definition at line 4370 of file venus_lighthouse.c.
VenusTrackSouthWestScript
Sint32 VenusTrackSouthWestScript[]
References Sint32.
Referenced by VenusLighthouseFourthFloorActorPlacements.
Definition at line 4375 of file venus_lighthouse.c.
VenusThirdFloorLightNorthwestToGate
Sint32 VenusThirdFloorLightNorthwestToGate[]
References Sint32.
Referenced by VenusThirdFloorNorthwestPaths.
Definition at line 4440 of file venus_lighthouse.c.
VenusThirdFloorLightNorthwestToSouthwest
Sint32 VenusThirdFloorLightNorthwestToSouthwest[]
References scVenusLighthouseRouteLight() and Sint32.
Referenced by VenusThirdFloorNorthwestPaths.
Definition at line 4451 of file venus_lighthouse.c.
VenusThirdFloorLightNortheastToNorthwest
Sint32 VenusThirdFloorLightNortheastToNorthwest[]
References scVenusLighthouseRouteLight() and Sint32.
Referenced by VenusThirdFloorNortheastPaths.
Definition at line 4460 of file venus_lighthouse.c.
VenusThirdFloorLightNortheastToSoutheast
Sint32 VenusThirdFloorLightNortheastToSoutheast[]
References scVenusLighthouseRouteLight() and Sint32.
Referenced by VenusThirdFloorNortheastPaths.
Definition at line 4469 of file venus_lighthouse.c.
VenusThirdFloorLightSouthwestToNorthwest
Sint32 VenusThirdFloorLightSouthwestToNorthwest[]
The same script as VenusThirdFloorLightNortheastToNorthwest, under another name.
References scVenusLighthouseRouteLight() and Sint32.
Referenced by VenusThirdFloorSouthwestPaths.
Definition at line 4479 of file venus_lighthouse.c.
VenusThirdFloorLightSouthwestToGate
Sint32 VenusThirdFloorLightSouthwestToGate[]
References Sint32.
Referenced by VenusThirdFloorSouthwestPaths.
Definition at line 4488 of file venus_lighthouse.c.
VenusThirdFloorLightSoutheastToNortheast
Sint32 VenusThirdFloorLightSoutheastToNortheast[]
References scVenusLighthouseRouteLight() and Sint32.
Referenced by VenusThirdFloorSoutheastPaths.
Definition at line 4499 of file venus_lighthouse.c.
VenusThirdFloorLightSoutheastToSouthwest
Sint32 VenusThirdFloorLightSoutheastToSouthwest[]
The same script as VenusThirdFloorLightNorthwestToSouthwest, under another name.
References scVenusLighthouseRouteLight() and Sint32.
Referenced by VenusThirdFloorSoutheastPaths.
Definition at line 4509 of file venus_lighthouse.c.
VenusFourthFloorLightSoutheastToMiddle
Sint32 VenusFourthFloorLightSoutheastToMiddle[]
References scVenusLighthouseRouteLight() and Sint32.
Referenced by VenusFourthFloorSoutheastPaths.
Definition at line 4543 of file venus_lighthouse.c.
VenusFourthFloorLightMiddleToWest
Sint32 VenusFourthFloorLightMiddleToWest[]
References scVenusLighthouseRouteLight() and Sint32.
Referenced by VenusFourthFloorMiddlePaths.
Definition at line 4558 of file venus_lighthouse.c.
VenusFourthFloorLightMiddleToEast
Sint32 VenusFourthFloorLightMiddleToEast[]
References scVenusLighthouseRouteLight() and Sint32.
Referenced by VenusFourthFloorMiddlePaths.
Definition at line 4573 of file venus_lighthouse.c.
VenusFourthFloorLightWestToNorthwest
Sint32 VenusFourthFloorLightWestToNorthwest[]
References scVenusLighthouseRouteLight() and Sint32.
Referenced by VenusFourthFloorWestPaths.
Definition at line 4585 of file venus_lighthouse.c.
VenusFourthFloorLightEastToNortheast
Sint32 VenusFourthFloorLightEastToNortheast[]
References scVenusLighthouseRouteLight() and Sint32.
Referenced by VenusFourthFloorEastPaths.
Definition at line 4594 of file venus_lighthouse.c.
VenusFourthFloorLightSouthwestToFarWest
Sint32 VenusFourthFloorLightSouthwestToFarWest[]
References scVenusLighthouseRouteLight() and Sint32.
Referenced by VenusFourthFloorSouthwestPaths.
Definition at line 4642 of file venus_lighthouse.c.
VenusFourthFloorLightFarWestToWest
Sint32 VenusFourthFloorLightFarWestToWest[]
References scVenusLighthouseRouteLight() and Sint32.
Referenced by VenusFourthFloorFarWestPaths.
Definition at line 4660 of file venus_lighthouse.c.
VenusFourthFloorLightNorthwestToGate
Sint32 VenusFourthFloorLightNorthwestToGate[]
References Sint32.
Referenced by VenusFourthFloorNorthwestPaths.
Definition at line 4672 of file venus_lighthouse.c.
VenusThirdFloorNorthwestPaths
Sint32 *VenusThirdFloorNorthwestPaths[]
Each third-floor socket's light scripts, by the index of the piece it has routed.
References Sint32, VenusLightGoesOut, VenusThirdFloorLightNorthwestToGate and VenusThirdFloorLightNorthwestToSouthwest.
Referenced by VenusThirdFloorSocketPaths.
Definition at line 5820 of file venus_lighthouse.c.
VenusThirdFloorNortheastPaths
Sint32 *VenusThirdFloorNortheastPaths[]
References Sint32, VenusLightGoesOut, VenusThirdFloorLightNortheastToNorthwest and VenusThirdFloorLightNortheastToSoutheast.
Referenced by VenusThirdFloorSocketPaths.
Definition at line 5826 of file venus_lighthouse.c.
VenusThirdFloorSouthwestPaths
Sint32 *VenusThirdFloorSouthwestPaths[]
References Sint32, VenusLightGoesOut, VenusThirdFloorLightSouthwestToGate and VenusThirdFloorLightSouthwestToNorthwest.
Referenced by VenusThirdFloorSocketPaths.
Definition at line 5832 of file venus_lighthouse.c.
VenusThirdFloorSoutheastPaths
Sint32 *VenusThirdFloorSoutheastPaths[]
References Sint32, VenusLightGoesOut, VenusThirdFloorLightSoutheastToNortheast and VenusThirdFloorLightSoutheastToSouthwest.
Referenced by VenusThirdFloorSocketPaths.
Definition at line 5838 of file venus_lighthouse.c.
VenusFourthFloorNorthwestPaths
Sint32 *VenusFourthFloorNorthwestPaths[]
Each fourth-floor socket's light scripts, by the index of the piece it has routed.
References Sint32, VenusFourthFloorLightNorthwestToGate and VenusLightGoesOut.
Referenced by VenusFourthFloorSocketPaths.
Definition at line 5867 of file venus_lighthouse.c.
VenusFourthFloorNortheastPaths
Sint32 *VenusFourthFloorNortheastPaths[]
References Sint32 and VenusLightGoesOut.
Referenced by VenusFourthFloorSocketPaths.
Definition at line 5871 of file venus_lighthouse.c.
VenusFourthFloorWestPaths
Sint32 *VenusFourthFloorWestPaths[]
References Sint32, VenusFourthFloorLightWestToNorthwest and VenusLightGoesOut.
Referenced by VenusFourthFloorSocketPaths.
Definition at line 5874 of file venus_lighthouse.c.
VenusFourthFloorEastPaths
Sint32 *VenusFourthFloorEastPaths[]
References Sint32, VenusFourthFloorLightEastToNortheast and VenusLightGoesOut.
Referenced by VenusFourthFloorSocketPaths.
Definition at line 5878 of file venus_lighthouse.c.
VenusFourthFloorFarWestPaths
Sint32 *VenusFourthFloorFarWestPaths[]
References Sint32, VenusFourthFloorLightFarWestToWest and VenusLightGoesOut.
Referenced by VenusFourthFloorSocketPaths.
Definition at line 5882 of file venus_lighthouse.c.
VenusFourthFloorMiddlePaths
Sint32 *VenusFourthFloorMiddlePaths[]
References Sint32, VenusFourthFloorLightMiddleToEast, VenusFourthFloorLightMiddleToWest and VenusLightGoesOut.
Referenced by VenusFourthFloorSocketPaths.
Definition at line 5886 of file venus_lighthouse.c.
VenusFourthFloorSouthwestPaths
Sint32 *VenusFourthFloorSouthwestPaths[]
References Sint32, VenusFourthFloorLightSouthwestToFarWest and VenusLightGoesOut.
Referenced by VenusFourthFloorSocketPaths.
Definition at line 5891 of file venus_lighthouse.c.
VenusFourthFloorSoutheastPaths
Sint32 *VenusFourthFloorSoutheastPaths[]
References Sint32, VenusFourthFloorLightSoutheastToMiddle and VenusLightGoesOut.
Referenced by VenusFourthFloorSocketPaths.
Definition at line 5895 of file venus_lighthouse.c.