src/scene/jupiter_lighthouse_right_tower_lower.c
The lower rooms of Jupiter Lighthouse's right tower, past its stone archer statue. More…
#include "field/field_effect.h"#include "field/field_engine.h"#include "field/script_inline.h"#include "game/game.h"#include "field/call.h"#include "scene/scene.h"#include "field/metatile_target.h"#include "macros.h"#include "field/actor_script.h"#include "scene/lighthouse_palettes.h"#include "shared/scene_set_arrival_flags.c"#include "shared/palette_cycle_set_pauses_in_scripts.c"#include "shared/palette_cycle_step.c"#include "shared/jupiter_lighthouse_load_palettes.c"#include "shared/actor_raise_from_metatile.c"#include "shared/whirlwind_carry_leader.c"#include "shared/position_flat_distance.c"#include "shared/whirlwind_update.c"#include "shared/whirlwind_spawn.c"#include "shared/actor_emit_smoke.c"#include "shared/jupiter_lighthouse_place_raised_actors.c"#include "shared/actors_set_metatiles_open.c"#include "shared/pound_sink_target.c"#include "shared/actor_set_metatile_open.c"#include "shared/light_sprites_draw.c"#include "shared/light_sprites_init_channel_pieces.c"#include "shared/light_sprites_init_path_glows.c"#include "shared/light_sprites_init_energy_block_glow.c"#include "shared/light_sprites_add_counted.c"#include "shared/actor_set_sprite_priority.c"#include "../field/field_effect_move.c"#include "shared/field_effect_spawn.c"#include "shared/cracked_tile_mask.c"#include "shared/cracked_tile_find.c"#include "shared/leader_center_in_metatile.c"#include "shared/cracked_tile_crack.c"#include "shared/cracked_tile_fall.c"#include "../field/field_effect_advance_motion.c"#include "shared/cracked_tile_drop_in.c"#include "shared/cracked_tile_step.c"#include "shared/cracked_tile_place_landing.c"#include "shared/field_effect_duration_scripts.c"#include "shared/scene_entrances_default.c"
Macros
| Name | Description | |
|---|---|---|
#define | OWN_fdMapGridGetMetatileBehavior | This file declares fdMapGridGetMetatileBehavior its own way, below. |
#define | FLAG_PATH_BLOCK_PLACED_FIRST 0xa10 | A path block lies in a gap of the east hall, a flag for each PATH_BLOCK_PLACE from the first. |
#define | FLAG_PATH_BLOCK_PLACED (place) (FLAG_PATH_BLOCK_PLACED_FIRST + (place)) | |
#define | FLAG_EAST_STAKE_SUNK 0xa16 | The east stake is down in the floor: Pounded, or not yet raised by the two blocks both lying in gaps. |
#define | FLAG_WEST_STAKE_SUNK 0xa17 | The west stake is down in the floor, Pounded; the third block is then out of its gap. |
#define | FLAG_THIRD_BLOCK_IN_GAP 0xa1a | The third path block lies in its gap below the west hall's north door. |
#define | FLAG_BUTTON_PILLAR_PLACED 0xa1b | The pillar stands on the button by the pit: the bridge stays across it. |
#define | FLAG_BRIDGE_BUTTON_HELD FLAG_SCENE_TEMP(0x02) | Set while Felix stands on the button, which holds the bridge across. |
#define | EAST_GAP_METATILE_X 35 | The east hall's three gaps, by metatile. |
#define | EAST_GAP_METATILE_Z 15 | |
#define | WEST_GAP_METATILE_X 31 | |
#define | WEST_GAP_METATILE_Z 16 | |
#define | NORTH_GAP_METATILE_X 33 | |
#define | NORTH_GAP_METATILE_Z 10 | |
#define | THIRD_GAP_METATILE_X 8 | The third block's gap, by metatile. |
#define | THIRD_GAP_METATILE_Z 12 | |
#define | BUTTON_METATILE_X 8 | The button by the pit, by metatile. |
#define | BUTTON_METATILE_Z 37 | |
#define | GAP_FLOOR_HEIGHT toFIXED(-16) | A gap's floor, 16 pixels below the hall's, where a thrown block starts. |
#define | BLOCK_LANDING_TICKS 30 | The most ticks the room waits for a block to come down. |
#define | EFFECT_SET_MODE fdActorSelectAnimation | |
#define | EFFECT_SET_SCRIPT fdActorStartScript | |
#define | METATILE_PUSH_SLOT_ENTRY syOAMAddSpriteAtDepthClamped | |
#define | FIELD_EFFECT_DURATION_SCRIPT_SECTION LATE_DATA | |
#define | SCENE_ENTRANCES_SECTION LATE_DATA |
Enumerations
| Name | Description | |
|---|---|---|
enum | PATH_BLOCK_PLACE { STRAIGHT_BLOCK_IN_EAST_GAP, CORNER_BLOCK_IN_EAST_GAP, STRAIG … } | Where the first two path blocks lie, each block in each of the east hall's three gaps: the block's flag after FLAG_PATH_BLOCK_PLACED(0), and what scJupiterLighthouseFindBlockGap returns. |
enum | JUPITER_LIGHTHOUSE_RIGHT_TOWER_LOWER_METATILE_BEHAVIOR { METATILE_BEHAVIOR_BRIDGE_BUTTON, METATILE_BEHAVIOR_OFF_BRIDG … } | The rooms' own metatile behaviors. |
enum | JUPITER_LIGHTHOUSE_RIGHT_TOWER_LOWER_WAY { WAY_WEST_HALL_DOWN_TO_EAST_HALL, WAY_EAST_HALL_UP_TO_WEST_HA … } | The ways between the rooms: stairs down from the west hall's north doorway to the east hall's, and back up; a doorway from the east hall's south end into the hall of three doorways, and on from that hall's south side into the archer statue's room; stairs up from the doorway hall's east doorway to the room of the pit, through the pit room's east arch; and from the pit room's west arch into the west hall's south end. |
enum | anonymous enum { GLOW_PATH_NORTH_SOUTH, GLOW_PATH_NORTH_EAST, GLOW_PATH_EAST_ … } | The path blocks' glows, pictures of FieldPathGlowTiles: the lit channel of a straight north-south path piece, of a corner joining north and east, and of a straight east-west piece. |
enum | anonymous enum { SHOW_AT_ONCE, SHOW_GRADUALLY } | How the bridge is laid across the pit or the west hall's path lit or darkened: at once, as the rooms are set up, or before the player's eyes, the bridge with a thud and the grey blocks rising or sinking. |
enum | anonymous enum { AHEAD_EMPTY_GAP, AHEAD_BLOCK, AHEAD_FILLED_GAP } | What Felix walks towards from beside a gap: an empty gap, a block he can push, or a gap a block already fills. |
enum | JUPITER_LIGHTHOUSE_RIGHT_TOWER_LOWER_ACTOR_ID { ACTOR_ARCHER_STATUE, ACTOR_WEST_STAKE, ACTOR_FIRST_GREY_BLOC … } | The right tower's lower rooms' actors, numbering their placement table. |
Functions
| Name | Description | |
|---|---|---|
void | scJupiterLighthouseLightWestPath (Sint32 how) | Lights or darkens the west hall's path as the third block lies in its gap or not, raising the grey blocks that stand on it or letting them down. |
void | scJupiterLighthouseThrowOutBlock ( Sint32 id, Sint32 x, Sint32 z, Sint32 dx, Sint32 dz) | Throws a block up out of its gap at metatile (x, z) to land beside it. |
void | scLeaderCenterInMetatile (void) | Walks the leader to the middle of the metatile he stands on, as he does before dropping through a cracked tile, sets him there and lowers the camera's point 8 pixels. |
void | scJupiterLighthouseLayBridge (Sint32 how) | The bridge's two panels, standing on end at the pit's sides, swing down to lie across it: with a thud and a picture halfway down, or at once. |
void | scJupiterLighthouseStandBridgeUp (void) | The bridge's two panels swing back up on end with a heavy thud. |
void | scJupiterLighthouseCheckPillarOnButton (void) | Lays the bridge across the pit for good once the pillar stands on the button. |
void | scJupiterLighthouseFightWhorl (void) | Felix talks to Whorl on its ledge in the east hall, facing north: the Jupiter Djinni fights the party. |
const SCENE_ENTRANCE * | scGetEntrances (void) | Where the party can enter: the cave under the spring has its own entrances. |
const SCENE_REGION * | scGetExitRegions (void) | The regions of the rooms whose exits are rectangles: the Chestbeaters' room and the stream room. |
const Uint32 * | scGetExits (void) | The dock's ways lead back the way the party came into Lemuria, which the harbour and the shore of Ancient Lemuria note in FLAG_LEMURIA_OTHER_WAY_IN. |
const ACTOR_PLACE * | scGetActorPlacements (void) | The scene's actor placements: a room of names for its entrance, else the debug room's. |
void | scJupiterLighthouseStepOnButton (void) | Felix steps onto the purple button by the pit, metatile (8, 37): the bridge's panels swing down across the pit with a thud, and stay while he stands there. |
void | scJupiterLighthouseStepOffButton (void) | Felix steps off the purple button by the pit: the bridge's panels swing back up on end with a heavy thud. |
void | scJupiterLighthouseMoveButtonPillar (void) | The stone pillar beside the purple button by the pit, Moved one metatile west onto the button at metatile (8, 37), holds the bridge across the pit for good, a shortcut back through the tower. |
Sint32 | scJupiterLighthouseFindBlockGap (void) | Marks the gap the first two blocks have just come to rest in; returns where the block lies, or -1 for no gap. |
Sint32 | scJupiterLighthouseCountBlocksInGaps (void) | How many of the first two blocks lie in gaps. |
void | scJupiterLighthouseDrawBlocksInGaps (void) | Draws the east hall's floor for the blocks that lie in gaps: each filled gap, the path lit between them, and the Hover tiles that path reaches. |
Bool | scJupiterLighthouseIsOnWestPath (ACTOR *actor) | Whether the actor stands on one of the metatiles of the west hall's path. |
void | scJupiterLighthouseLiftPathBlock (Sint32 unused, Sint32 id) | Nothing visible happens as Felix starts to push or Move an energy path block. |
Sint32 | fdMapGetTerrainHeight (Sint32 layer, Sint32 x, Sint32 z) | The ground height of a layer at (x, z), 16.16 pixels (fdMapGridGetTerrainHeight, through the overlay's own import row). |
void | scJupiterLighthousePlacePathBlock (Sint32 unused, Sint32 id) | An energy path block, pushed or Moved, comes to rest, landing with a thump if it dropped off a ledge. |
void | scJupiterLighthouseStartPound (void) | Nothing visible happens as Felix starts to cast Pound on the east hall's stake; whatever the hall was still doing is settled first (fdScriptEndLastingPsynergy). |
void | scJupiterLighthouseSinkPoundTarget (Sint32 stage, Sint32 tick) | Pound hammers the cone-shaped stake in the east or the west hall down into the floor. |
void | scJupiterLighthouseRaiseBlocksFromGaps (void) | Once Pound has hammered the east hall's stake down, the camera turns to the gaps and the two energy path blocks fly up out of them with a rush of wind, each landing on the floor beside its gap, and the path goes dark. |
void | scJupiterLighthouseRaiseThirdBlockFromGap (void) | Once Pound has hammered the west hall's stake down, its energy path block flies up out of its gap at metatile (8, 12) and lands beside it, and the path under the grey blocks goes dark, letting them down. |
void | scJupiterLighthouseJumpOrPushBlock (void) | Felix walks towards a gap from a metatile beside it, in the east hall or round the west hall's gap: a block in front of him he pushes; an empty gap he jumps across, where there is floor to land on; over a gap a block fills, he walks on. |
void | scJupiterLighthouseJumpForward (void) | Felix walks among the raised grey blocks in the west hall, between metatiles (8, 16) and (15, 20), while its path is lit: he jumps forward onto the next block, where there is one to land on. |
const CUE * | scGetCues (void) | The scene's cues: the rooms of names' for any entrance above ENTRANCE_NAMES_ABOVE, else the debug room's. |
void | scActorsSetMetatilesOpen (const Uint16 *list) | fdActorSetMetatileOpen for each actor of a list ended by ACTOR_LIST_END. |
void | scLightSpritesInitPathGlows (void) | Loads the path pieces' glows (FieldPathGlowTiles) into VRAM and starts drawing the lit actors (none yet), small, each at its own priority. |
void | scLightSpritesAddCounted (Sint32 id, Sint32 frame) | scLightSpritesAdd with the count kept in a plain global. |
Sint32 | scInit (void) | Sets up the rooms as the party enters: the archer statue at three quarters of its size, the stakes and the bridge as their flags leave them, the blocks' glow, and the grey blocks as platforms. |
Sint32 | scPrepareMap (void) | Lays out the blocks as the map is drawn: the first two stay in their gaps only when both lie in them or the party comes back to where it left, the third lies in its gap while the west stake stands, and the floor and the west hall's path follow. |
static inline void | scPaletteCycleSetTick (Sint32 value) | Restarts the palette cycle at the given tick. |
Sint32 | fdMapGridGetMetatileBehavior (Sint32 x, Sint32 z, Sint32 layer) | These rooms read the metatile behavior back as a whole Sint32; the field defines it returning a Uint8. |
void | fdActorSetMetatileOpen (Sint32 id, Uint32 mode, Sint32 flag, Sint32 layer) | A stake as its flag leaves it: driven down by Pound, its metatile is open ground and it is drawn underfoot, sunk to its top; still standing, its metatile is a wall. |
void | scCrackedTileCrack (METATILE_TARGET *table, METATILE_TARGET_ENTRY *entry) | Cracks the tile under the leader, swapping in its cracked picture. |
void | scCrackedTileFall (METATILE_TARGET *table, METATILE_TARGET_ENTRY *entry) | A cracked tile gives way under Felix, who drops through it. |
void | scWhirlwindUpdate (ACTOR *self) | A whirlwind's update: it travels forward, catches the leader it reaches and ends off screen or at a wall. |
void | scFieldEffectSpawn (Sint32 x, Sint32 y, Sint32 z, Sint32 velocityX, Sint32 velocityY, Sint32 velocityZ, Uint32 flags, const EFFECT_OPTIONS *options) | Spawns a field effect at x, y, z moving at the velocity given, its type, scale, palette, priority, script, rotation, spin and update chosen by the EFFECT_USE_ flags from the options. |
void | scLightSpritesSetPriority (Uint16 value) | Sets the priority the lit actors' sprites are drawn at. |
void | syGameFlagSetByte (Sint32 flag, Sint32 value) | Sets the whole byte flags is in. |
Variables
| Name | Description | |
|---|---|---|
extern Sint16 | JupiterLighthouseWestPathMetatiles [][2] | The metatiles of the west hall's path, ending at an x of -1. |
extern Sint16 | JupiterLighthouseRightTowerLowerPoundTargets [] | The two stakes Pound sinks: each stake, its kind and the flag set once it is sunk, ended by -1. |
extern Sint32 | PaletteCyclePausesInScripts | |
Sint32 | WhirlwindRiding | The state of the code every Jupiter Lighthouse room's overlay keeps its own copy of: a whirlwind's ride (shared/whirlwind_*.c), the palette cycle (shared/palette_cycle_step.c), the lit actors' sprites (shared/light_sprites_*.c) and the cracked tiles (shared/cracked_tile_*.c). |
Uint16 | PaletteCycleColors [16] | A copy of the room's cycling palette, BG palette CYCLE_PALETTE, which the cycle takes its colours from (scJupiterLighthouseLoadPalettes). |
Uint16 | PaletteCycleUnlitPalette [2] | Palette 13's first two colors; it is copied whole, with the unlit colors after them. |
Uint16 | PaletteCycleUnlitColors [14] | |
Sint16 | LightSpriteTile | The glows drawn over the symbol blocks (scLightSpritesDraw): the VRAM cache entry of their tiles, how many actors carry one and which, their sprites, the large mode, the priority (-1 for each actor's own) and the picture row. |
Sint16 | LightSpriteCount | |
Uint32 | LightSpriteActors [16] | |
LIGHT_OAM | LightSpriteOams [16] | |
Sint16 | LightSpritesLarge | |
Sint16 | LightSpritePriority | |
METATILE_TARGET | CrackedTiles | The cracked floors' metatiles, found by shared/cracked_tile_find.c. |
extern Sint32 | PaletteCycleTick | The palette cycle's tick, -1 before it starts, and whether scripts hold it (fdPaletteCycleStep). |
extern Sint32 | WhirlwindEndScript [] | |
extern Uint32 | FieldEffectShortScript [] | |
extern Uint32 | FieldEffectMediumScript [] | The flash about the Tomegathericon: held 45 ticks, then put away and freed. |
extern Uint32 | FieldEffectLongScript [] | |
extern const Sint32 * | FieldEffectDurationScripts [] | The field effects' three scripts by how long an effect lasts: short, medium and long. |
LATE_DATA Uint32 | SceneExits [] | The room has no exits of its own. |
LATE_DATA ACTOR_PLACE | ActorPlacements [] | The room's people: the party's four rows, then PSYNERGY_TEST_ACTOR_ID's. |
LATE_DATA CUE | SceneCues [] | The room's scripts: talking to its people, Mind Read on them, the metatiles examined, and the field Psynergy each spot answers. |
LATE_DATA | Sint32 | The tick counts of the four red moai's streams' cycles (scAquaRockTimeStreams). |
Description
The lower rooms of Jupiter Lighthouse's right tower, past its stone archer
statue. In the big east hall the Jupiter Djinni Whorl waits on a ledge
(scJupiterLighthouseFightWhorl). Two energy path blocks, one carrying a
straight piece of the path and one a corner, pushed or Moved into two of the
three gaps in its floor (scJupiterLighthousePlacePathBlock), light the path
to new Hover pads and raise a cone-shaped stake; Pound on the stake throws
the blocks back out of their gaps to try another layout
(scJupiterLighthouseRaiseBlocksFromGaps), and one layout reaches Whorl. In
the west hall a third block, pushed into the gap at metatile (8, 12), lights
the path under six grey blocks, which rise so that Felix can jump across from
block to block, and the west stake Pounded throws it out again. Down in the
room of the pit, the stone pillar pushed or Moved one metatile west onto the
purple button lays the bridge across the pit for good, a shortcut.
Macros in detail
OWN_fdMapGridGetMetatileBehavior
#define OWN_fdMapGridGetMetatileBehavior
This file declares fdMapGridGetMetatileBehavior its own way, below.
Definition at line 16 of file jupiter_lighthouse_right_tower_lower.c.
FLAG_PATH_BLOCK_PLACED_FIRST
#define FLAG_PATH_BLOCK_PLACED_FIRST 0xa10
A path block lies in a gap of the east hall, a flag for each PATH_BLOCK_PLACE
from the first.
Definition at line 51 of file jupiter_lighthouse_right_tower_lower.c.
FLAG_PATH_BLOCK_PLACED
#define FLAG_PATH_BLOCK_PLACED(place) (FLAG_PATH_BLOCK_PLACED_FIRST + (place))
Referenced by scInit(), scJupiterLighthouseCountBlocksInGaps(), scJupiterLighthouseDrawBlocksInGaps(), scJupiterLighthouseFindBlockGap(), scJupiterLighthouseJumpOrPushBlock(), scJupiterLighthousePlacePathBlock(), scJupiterLighthouseRaiseBlocksFromGaps() and scPrepareMap().
Definition at line 52 of file jupiter_lighthouse_right_tower_lower.c.
FLAG_EAST_STAKE_SUNK
#define FLAG_EAST_STAKE_SUNK 0xa16
The east stake is down in the floor: Pounded, or not yet raised by the two blocks both lying in gaps.
Referenced by JupiterLighthouseRightTowerLowerPoundTargets, SceneCues, scJupiterLighthousePlacePathBlock() and scPrepareMap().
Definition at line 55 of file jupiter_lighthouse_right_tower_lower.c.
FLAG_WEST_STAKE_SUNK
#define FLAG_WEST_STAKE_SUNK 0xa17
The west stake is down in the floor, Pounded; the third block is then out of its gap.
Referenced by JupiterLighthouseRightTowerLowerPoundTargets, SceneCues, scJupiterLighthousePlacePathBlock() and scPrepareMap().
Definition at line 58 of file jupiter_lighthouse_right_tower_lower.c.
FLAG_THIRD_BLOCK_IN_GAP
#define FLAG_THIRD_BLOCK_IN_GAP 0xa1a
The third path block lies in its gap below the west hall's north door.
Referenced by SceneCues, scJupiterLighthouseLightWestPath(), scJupiterLighthousePlacePathBlock(), scJupiterLighthouseRaiseThirdBlockFromGap() and scPrepareMap().
Definition at line 60 of file jupiter_lighthouse_right_tower_lower.c.
FLAG_BUTTON_PILLAR_PLACED
#define FLAG_BUTTON_PILLAR_PLACED 0xa1b
The pillar stands on the button by the pit: the bridge stays across it.
Referenced by SceneCues, scInit() and scJupiterLighthouseCheckPillarOnButton().
Definition at line 62 of file jupiter_lighthouse_right_tower_lower.c.
FLAG_BRIDGE_BUTTON_HELD
#define FLAG_BRIDGE_BUTTON_HELD FLAG_SCENE_TEMP(0x02)
Set while Felix stands on the button, which holds the bridge across.
Referenced by scInit(), scJupiterLighthouseStepOffButton() and scJupiterLighthouseStepOnButton().
Definition at line 64 of file jupiter_lighthouse_right_tower_lower.c.
EAST_GAP_METATILE_X
#define EAST_GAP_METATILE_X 35
The east hall's three gaps, by metatile.
Referenced by scJupiterLighthouseFindBlockGap(), scJupiterLighthouseJumpOrPushBlock() and scJupiterLighthouseRaiseBlocksFromGaps().
Definition at line 67 of file jupiter_lighthouse_right_tower_lower.c.
EAST_GAP_METATILE_Z
#define EAST_GAP_METATILE_Z 15
Referenced by scJupiterLighthouseFindBlockGap(), scJupiterLighthouseJumpOrPushBlock() and scJupiterLighthouseRaiseBlocksFromGaps().
Definition at line 68 of file jupiter_lighthouse_right_tower_lower.c.
WEST_GAP_METATILE_X
#define WEST_GAP_METATILE_X 31
Referenced by scJupiterLighthouseFindBlockGap(), scJupiterLighthouseJumpOrPushBlock() and scJupiterLighthouseRaiseBlocksFromGaps().
Definition at line 69 of file jupiter_lighthouse_right_tower_lower.c.
WEST_GAP_METATILE_Z
#define WEST_GAP_METATILE_Z 16
Referenced by scJupiterLighthouseFindBlockGap(), scJupiterLighthouseJumpOrPushBlock() and scJupiterLighthouseRaiseBlocksFromGaps().
Definition at line 70 of file jupiter_lighthouse_right_tower_lower.c.
NORTH_GAP_METATILE_X
#define NORTH_GAP_METATILE_X 33
Referenced by scJupiterLighthouseFindBlockGap(), scJupiterLighthouseJumpOrPushBlock() and scJupiterLighthouseRaiseBlocksFromGaps().
Definition at line 71 of file jupiter_lighthouse_right_tower_lower.c.
NORTH_GAP_METATILE_Z
#define NORTH_GAP_METATILE_Z 10
Referenced by scJupiterLighthouseFindBlockGap(), scJupiterLighthouseJumpOrPushBlock() and scJupiterLighthouseRaiseBlocksFromGaps().
Definition at line 72 of file jupiter_lighthouse_right_tower_lower.c.
THIRD_GAP_METATILE_X
#define THIRD_GAP_METATILE_X 8
The third block's gap, by metatile.
Referenced by scJupiterLighthousePlacePathBlock() and scJupiterLighthouseRaiseThirdBlockFromGap().
Definition at line 74 of file jupiter_lighthouse_right_tower_lower.c.
THIRD_GAP_METATILE_Z
#define THIRD_GAP_METATILE_Z 12
Referenced by scJupiterLighthousePlacePathBlock() and scJupiterLighthouseRaiseThirdBlockFromGap().
Definition at line 75 of file jupiter_lighthouse_right_tower_lower.c.
BUTTON_METATILE_X
#define BUTTON_METATILE_X 8
The button by the pit, by metatile.
Referenced by scJupiterLighthouseCheckPillarOnButton().
Definition at line 77 of file jupiter_lighthouse_right_tower_lower.c.
BUTTON_METATILE_Z
#define BUTTON_METATILE_Z 37
Referenced by scJupiterLighthouseCheckPillarOnButton().
Definition at line 78 of file jupiter_lighthouse_right_tower_lower.c.
GAP_FLOOR_HEIGHT
#define GAP_FLOOR_HEIGHT toFIXED(-16)
A gap's floor, 16 pixels below the hall's, where a thrown block starts.
Referenced by scJupiterLighthouseThrowOutBlock().
Definition at line 100 of file jupiter_lighthouse_right_tower_lower.c.
BLOCK_LANDING_TICKS
#define BLOCK_LANDING_TICKS 30
The most ticks the room waits for a block to come down.
Referenced by scJupiterLighthousePlacePathBlock(), scJupiterLighthouseRaiseBlocksFromGaps() and scJupiterLighthouseRaiseThirdBlockFromGap().
Definition at line 102 of file jupiter_lighthouse_right_tower_lower.c.
EFFECT_SET_MODE
#define EFFECT_SET_MODE fdActorSelectAnimation
Referenced by EFFECT_SPAWN.
Definition at line 1113 of file jupiter_lighthouse_right_tower_lower.c.
EFFECT_SET_SCRIPT
#define EFFECT_SET_SCRIPT fdActorStartScript
Referenced by EFFECT_SPAWN.
Definition at line 1114 of file jupiter_lighthouse_right_tower_lower.c.
METATILE_PUSH_SLOT_ENTRY
#define METATILE_PUSH_SLOT_ENTRY syOAMAddSpriteAtDepthClamped
Referenced by scCrackedTileUpdate().
Definition at line 1117 of file jupiter_lighthouse_right_tower_lower.c.
FIELD_EFFECT_DURATION_SCRIPT_SECTION
#define FIELD_EFFECT_DURATION_SCRIPT_SECTION LATE_DATA
Referenced by FieldEffectLongScript, FieldEffectMediumScript and FieldEffectShortScript.
Definition at line 1154 of file jupiter_lighthouse_right_tower_lower.c.
SCENE_ENTRANCES_SECTION
#define SCENE_ENTRANCES_SECTION LATE_DATA
Referenced by LATE_DATA and SceneEntrances.
Definition at line 1164 of file jupiter_lighthouse_right_tower_lower.c.
Enumerations in detail
PATH_BLOCK_PLACE
enum PATH_BLOCK_PLACE
Where the first two path blocks lie, each block in each of the east hall's
three gaps: the block's flag after FLAG_PATH_BLOCK_PLACED(0), and what
scJupiterLighthouseFindBlockGap returns.
| Enumerator | Value | Description |
|---|---|---|
STRAIGHT_BLOCK_IN_EAST_GAP | ||
CORNER_BLOCK_IN_EAST_GAP | ||
STRAIGHT_BLOCK_IN_WEST_GAP | ||
CORNER_BLOCK_IN_WEST_GAP | ||
STRAIGHT_BLOCK_IN_NORTH_GAP | ||
CORNER_BLOCK_IN_NORTH_GAP |
Definition at line 39 of file jupiter_lighthouse_right_tower_lower.c.
JUPITER_LIGHTHOUSE_RIGHT_TOWER_LOWER_METATILE_BEHAVIOR
enum JUPITER_LIGHTHOUSE_RIGHT_TOWER_LOWER_METATILE_BEHAVIOR
The rooms' own metatile behaviors.
| Enumerator | Value | Description |
|---|---|---|
METATILE_BEHAVIOR_BRIDGE_BUTTON | 20 | The purple button by the pit, |
METATILE_BEHAVIOR_OFF_BRIDGE_BUTTON | metatile (8, 37), and the eight metatiles round it. | |
METATILE_BEHAVIOR_GREY_BLOCK_JUMP | 30 | The west hall's floor among the grey blocks, (8, 16) to (15, 20), where Felix jumps from block to block while they stand raised. |
METATILE_BEHAVIOR_EAST_OF_GAP | 40 | The metatiles beside the gaps, each named for the side of the gap it is on: walking into the gap from it pushes a block or jumps across. |
METATILE_BEHAVIOR_SOUTH_OF_GAP | ||
METATILE_BEHAVIOR_WEST_OF_GAP | ||
METATILE_BEHAVIOR_NORTH_OF_GAP |
Definition at line 81 of file jupiter_lighthouse_right_tower_lower.c.
JUPITER_LIGHTHOUSE_RIGHT_TOWER_LOWER_WAY
enum JUPITER_LIGHTHOUSE_RIGHT_TOWER_LOWER_WAY
The ways between the rooms: stairs down from the west hall's north doorway to the east hall's, and back up; a doorway from the east hall's south end into the hall of three doorways, and on from that hall's south side into the archer statue's room; stairs up from the doorway hall's east doorway to the room of the pit, through the pit room's east arch; and from the pit room's west arch into the west hall's south end. A way's exit, the metatile that takes it and the entrance at its mouth share its number, so the way back is the entrance the exit leads to.
| Enumerator | Value | Description |
|---|---|---|
WAY_WEST_HALL_DOWN_TO_EAST_HALL | 2 | |
WAY_EAST_HALL_UP_TO_WEST_HALL | ||
WAY_EAST_HALL_TO_DOORWAY_HALL | ||
WAY_DOORWAY_HALL_TO_EAST_HALL | ||
WAY_DOORWAY_HALL_TO_ARCHER_ROOM | ||
WAY_ARCHER_ROOM_TO_DOORWAY_HALL | ||
WAY_DOORWAY_HALL_UP_TO_PIT_ROOM | 9 | |
WAY_PIT_ROOM_DOWN_TO_DOORWAY_HALL | ||
WAY_PIT_ROOM_TO_WEST_HALL | ||
WAY_WEST_HALL_TO_PIT_ROOM |
Definition at line 112 of file jupiter_lighthouse_right_tower_lower.c.
anonymous enum
enum { GLOW_PATH_NORTH_SOUTH, GLOW_PATH_NORTH_EAST, GLOW_PATH_EAST_WEST }
The path blocks' glows, pictures of FieldPathGlowTiles: the lit channel of a
straight north-south path piece, of a corner joining north and east, and of a
straight east-west piece.
| Enumerator | Value | Description |
|---|---|---|
GLOW_PATH_NORTH_SOUTH | ||
GLOW_PATH_NORTH_EAST | ||
GLOW_PATH_EAST_WEST |
Definition at line 129 of file jupiter_lighthouse_right_tower_lower.c.
anonymous enum
enum { SHOW_AT_ONCE, SHOW_GRADUALLY }
How the bridge is laid across the pit or the west hall's path lit or darkened: at once, as the rooms are set up, or before the player's eyes, the bridge with a thud and the grey blocks rising or sinking.
| Enumerator | Value | Description |
|---|---|---|
SHOW_AT_ONCE | ||
SHOW_GRADUALLY |
Definition at line 139 of file jupiter_lighthouse_right_tower_lower.c.
anonymous enum
enum { AHEAD_EMPTY_GAP, AHEAD_BLOCK, AHEAD_FILLED_GAP }
What Felix walks towards from beside a gap: an empty gap, a block he can push, or a gap a block already fills.
| Enumerator | Value | Description |
|---|---|---|
AHEAD_EMPTY_GAP | ||
AHEAD_BLOCK | ||
AHEAD_FILLED_GAP |
Definition at line 147 of file jupiter_lighthouse_right_tower_lower.c.
JUPITER_LIGHTHOUSE_RIGHT_TOWER_LOWER_ACTOR_ID
enum JUPITER_LIGHTHOUSE_RIGHT_TOWER_LOWER_ACTOR_ID
The right tower's lower rooms' actors, numbering their placement table.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_ARCHER_STATUE | ACTOR_FIRST_PLACED | |
ACTOR_WEST_STAKE | ||
ACTOR_FIRST_GREY_BLOCK | The six grey blocks; those on the west hall's path rise while it is lit. | |
ACTOR_LAST_GREY_BLOCK | ACTOR_FIRST_GREY_BLOCK + 5 | |
ACTOR_BUTTON_PILLAR | ||
ACTOR_EAST_STAKE | ||
ACTOR_STRAIGHT_PATH_BLOCK | ||
ACTOR_CORNER_PATH_BLOCK | ||
ACTOR_THIRD_PATH_BLOCK | ||
ACTOR_WHORL |
Definition at line 155 of file jupiter_lighthouse_right_tower_lower.c.
Functions in detail
scJupiterLighthouseLightWestPath
void scJupiterLighthouseLightWestPath(Sint32 how)
Lights or darkens the west hall's path as the third block lies in its gap or not, raising the grey blocks that stand on it or letting them down.
References fdActorGet(), fdMapGridCopyMetatilesLayered(), fdMapGridSetMetatileHeight(), fdScriptGetFlag(), MainRoutineStateWork, scFieldActorStop(), scJupiterLighthouseIsOnWestPath(), Sint32 and sySynch().
Referenced by scJupiterLighthousePlacePathBlock(), scJupiterLighthouseRaiseThirdBlockFromGap() and scPrepareMap().
Definition at lines 31 and 486 of file jupiter_lighthouse_right_tower_lower.c.
scJupiterLighthouseThrowOutBlock
void scJupiterLighthouseThrowOutBlock( Sint32 id, Sint32 x, Sint32 z, Sint32 dx, Sint32 dz)
Throws a block up out of its gap at metatile (x, z) to land beside it.
References fdActorGet(), fdActorSetDestinationOffset(), fdActorSetPosFX(), fdScriptPlaySound() and Sint32.
Referenced by scJupiterLighthouseRaiseBlocksFromGaps() and scJupiterLighthouseRaiseThirdBlockFromGap().
Definition at lines 32 and 713 of file jupiter_lighthouse_right_tower_lower.c.
scJupiterLighthouseLayBridge
void scJupiterLighthouseLayBridge(Sint32 how)
The bridge's two panels, standing on end at the pit's sides, swing down to lie across it: with a thud and a picture halfway down, or at once.
References fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesLayered(), fdScriptPlaySound(), Sint32 and sySynch().
Referenced by scInit(), scJupiterLighthouseCheckPillarOnButton() and scJupiterLighthouseStepOnButton().
Definition at lines 191 and 224 of file jupiter_lighthouse_right_tower_lower.c.
scJupiterLighthouseStandBridgeUp
void scJupiterLighthouseStandBridgeUp(void)
The bridge's two panels swing back up on end with a heavy thud.
References fdMapGridCopyMetatileAttributes(), fdMapGridCopyMetatilesLayered(), fdScriptPlaySound() and sySynch().
Referenced by scJupiterLighthouseStepOffButton().
Definition at lines 192 and 237 of file jupiter_lighthouse_right_tower_lower.c.
scJupiterLighthouseCheckPillarOnButton
void scJupiterLighthouseCheckPillarOnButton(void)
Lays the bridge across the pit for good once the pillar stands on the button.
References fdActorGet(), fdScriptGetFlag(), fdScriptSetFlag() and scJupiterLighthouseLayBridge().
Referenced by scJupiterLighthouseFinishMovingBlock(), scJupiterLighthouseMoveButtonPillar() and scJupiterLighthouseStepOffButton().
Definition at lines 193 and 247 of file jupiter_lighthouse_right_tower_lower.c.
scJupiterLighthouseFightWhorl
void scJupiterLighthouseFightWhorl(void)
Felix talks to Whorl on its ledge in the east hall, facing north: the Jupiter Djinni fights the party.
References fdRequestDjinnBattle().
Referenced by SceneCues.
Definition at line 197 of file jupiter_lighthouse_right_tower_lower.c.
scGetEntrances
const SCENE_ENTRANCE *scGetEntrances(void)
References SceneEntrances.
Definition at line 202 of file jupiter_lighthouse_right_tower_lower.c.
scGetExitRegions
const SCENE_REGION *scGetExitRegions(void)
Definition at line 207 of file jupiter_lighthouse_right_tower_lower.c.
scGetExits
const Uint32 *scGetExits(void)
References SceneExits.
Definition at line 212 of file jupiter_lighthouse_right_tower_lower.c.
scGetActorPlacements
const ACTOR_PLACE *scGetActorPlacements(void)
References ActorPlacements.
Definition at line 217 of file jupiter_lighthouse_right_tower_lower.c.
scJupiterLighthouseStepOnButton
void scJupiterLighthouseStepOnButton(void)
Felix steps onto the purple button by the pit, metatile (8, 37): the bridge's panels swing down across the pit with a thud, and stay while he stands there.
References fdScriptGetFlag(), fdScriptSetFlag() and scJupiterLighthouseLayBridge().
Referenced by SceneCues.
Definition at line 262 of file jupiter_lighthouse_right_tower_lower.c.
scJupiterLighthouseStepOffButton
void scJupiterLighthouseStepOffButton(void)
Felix steps off the purple button by the pit: the bridge's panels swing back up on end with a heavy thud. If the stone pillar has just been pushed onto the button, the bridge stays across the pit for good instead.
References fdScriptClearFlag(), fdScriptGetFlag(), scJupiterLighthouseCheckPillarOnButton() and scJupiterLighthouseStandBridgeUp().
Referenced by SceneCues.
Definition at line 274 of file jupiter_lighthouse_right_tower_lower.c.
scJupiterLighthouseMoveButtonPillar
void scJupiterLighthouseMoveButtonPillar(void)
The stone pillar beside the purple button by the pit, Moved one metatile west onto the button at metatile (8, 37), holds the bridge across the pit for good, a shortcut back through the tower. Moved anywhere else, it does nothing.
References scJupiterLighthouseCheckPillarOnButton() and sySynch().
Referenced by SceneCues.
Definition at line 288 of file jupiter_lighthouse_right_tower_lower.c.
scJupiterLighthouseFindBlockGap
Sint32 scJupiterLighthouseFindBlockGap(void)
Marks the gap the first two blocks have just come to rest in; returns where the block lies, or -1 for no gap.
References fdActorGet(), fdScriptGetFlag(), fdScriptSetFlag() and Sint32.
Referenced by scJupiterLighthousePlacePathBlock().
Definition at line 296 of file jupiter_lighthouse_right_tower_lower.c.
scJupiterLighthouseCountBlocksInGaps
Sint32 scJupiterLighthouseCountBlocksInGaps(void)
How many of the first two blocks lie in gaps.
References fdScriptGetFlag() and Sint32.
Referenced by scJupiterLighthousePlacePathBlock() and scPrepareMap().
Definition at line 350 of file jupiter_lighthouse_right_tower_lower.c.
scJupiterLighthouseDrawBlocksInGaps
void scJupiterLighthouseDrawBlocksInGaps(void)
Draws the east hall's floor for the blocks that lie in gaps: each filled gap, the path lit between them, and the Hover tiles that path reaches.
References Call4(), fdMapGridCopyMetatilesLayered(), fdMapGridSetMetatileHeight(), fdScriptGetFlag() and scFieldMapGridSetMetatileBehavior().
Referenced by scJupiterLighthousePlacePathBlock(), scJupiterLighthouseRaiseBlocksFromGaps() and scPrepareMap().
Definition at line 367 of file jupiter_lighthouse_right_tower_lower.c.
scJupiterLighthouseIsOnWestPath
Bool scJupiterLighthouseIsOnWestPath(ACTOR *actor)
Whether the actor stands on one of the metatiles of the west hall's path.
References JupiterLighthouseWestPathMetatiles and Sint32.
Referenced by scJupiterLighthouseLightWestPath().
Definition at line 469 of file jupiter_lighthouse_right_tower_lower.c.
scJupiterLighthouseLiftPathBlock
void scJupiterLighthouseLiftPathBlock(Sint32 unused, Sint32 id)
Nothing visible happens as Felix starts to push or Move an energy path block. When it is the west hall's block, the metatile it leaves becomes plain floor again, no longer a step to jump onto.
References fdActorGet(), fdMapGridClearAttributeBBitsAt(), fdMapGridSetMetatileHeight() and Sint32.
Referenced by SceneCues.
Definition at line 563 of file jupiter_lighthouse_right_tower_lower.c.
scJupiterLighthousePlacePathBlock
void scJupiterLighthousePlacePathBlock(Sint32 unused, Sint32 id)
An energy path block, pushed or Moved, comes to rest, landing with a thump if it dropped off a ledge. In one of the east hall's three gaps, (35, 15), (31, 16) or (33, 10), it sinks in and lights the path through it, with a sound where the lit path reaches it; once both blocks lie in gaps, the camera turns to the cone-shaped stake as it rises. The west hall's block, in its gap at metatile (8, 12), lights the path under the grey blocks and raises the west stake. Set down anywhere else, the west hall's block stands as a step Felix can jump onto.
References fdActorGetById(), fdActorSelectAnimation(), fdActorSetSpriteFlags(), fdActorStop(), fdCameraWaitForArrival(), fdMapGetTerrainHeight(), fdMapGridSetMetatileAttributeBitsAt(), fdMapGridSetMetatileHeight(), fdScriptClearFlag(), fdScriptEnd(), fdScriptGetFlag(), fdScriptPlaySound(), fdScriptSetFlag(), fdScriptStart(), fdScriptWait(), MainRoutineStateWork, scFieldMapGridSetMetatileBehavior(), scFieldScriptEndLastingPsynergy(), scJupiterLighthouseCountBlocksInGaps(), scJupiterLighthouseDrawBlocksInGaps(), scJupiterLighthouseFindBlockGap(), scJupiterLighthouseLightWestPath(), scScriptCameraFollowActor(), Sint32 and sySynch().
Referenced by SceneCues.
Definition at line 588 of file jupiter_lighthouse_right_tower_lower.c.
scJupiterLighthouseStartPound
void scJupiterLighthouseStartPound(void)
Nothing visible happens as Felix starts to cast Pound on the east hall's
stake; whatever the hall was still doing is settled first
(fdScriptEndLastingPsynergy).
References fdScriptEndLastingPsynergy().
Referenced by SceneCues.
Definition at line 699 of file jupiter_lighthouse_right_tower_lower.c.
scJupiterLighthouseSinkPoundTarget
void scJupiterLighthouseSinkPoundTarget(Sint32 stage, Sint32 tick)
Pound hammers the cone-shaped stake in the east or the west hall down into the floor.
References fdPoundSinkTarget(), JupiterLighthouseRightTowerLowerPoundTargets and Sint32.
Referenced by SceneCues.
Definition at line 706 of file jupiter_lighthouse_right_tower_lower.c.
scJupiterLighthouseRaiseBlocksFromGaps
void scJupiterLighthouseRaiseBlocksFromGaps(void)
Once Pound has hammered the east hall's stake down, the camera turns to the gaps and the two energy path blocks fly up out of them with a rush of wind, each landing on the floor beside its gap, and the path goes dark.
References fdActorGet(), fdCameraWaitForArrival(), fdScriptClearFlag(), fdScriptGetFlag(), MainRoutineStateWork, scFieldScriptWait(), scJupiterLighthouseDrawBlocksInGaps(), scJupiterLighthouseThrowOutBlock(), scScriptCameraFollowActor(), Sint32 and sySynch().
Referenced by SceneCues.
Definition at line 731 of file jupiter_lighthouse_right_tower_lower.c.
scJupiterLighthouseRaiseThirdBlockFromGap
void scJupiterLighthouseRaiseThirdBlockFromGap(void)
Once Pound has hammered the west hall's stake down, its energy path block flies up out of its gap at metatile (8, 12) and lands beside it, and the path under the grey blocks goes dark, letting them down.
References fdActorGet(), fdScriptClearFlag(), fdScriptGetFlag(), scJupiterLighthouseLightWestPath(), scJupiterLighthouseThrowOutBlock(), Sint32 and sySynch().
Referenced by SceneCues.
Definition at line 827 of file jupiter_lighthouse_right_tower_lower.c.
scJupiterLighthouseJumpOrPushBlock
void scJupiterLighthouseJumpOrPushBlock(void)
Felix walks towards a gap from a metatile beside it, in the east hall or round the west hall's gap: a block in front of him he pushes; an empty gap he jumps across, where there is floor to land on; over a gap a block fills, he walks on.
References fdActorGet(), fdLeaderPushObjectAhead(), fdScriptGetFlag(), fdTryJumpForward(), MainRoutineStateWork and Sint32.
Referenced by SceneCues.
Definition at line 855 of file jupiter_lighthouse_right_tower_lower.c.
scJupiterLighthouseJumpForward
void scJupiterLighthouseJumpForward(void)
Felix walks among the raised grey blocks in the west hall, between metatiles (8, 16) and (15, 20), while its path is lit: he jumps forward onto the next block, where there is one to land on.
References fdTryJumpForward().
Referenced by SceneCues.
Definition at line 912 of file jupiter_lighthouse_right_tower_lower.c.
scGetCues
const CUE *scGetCues(void)
References SceneCues.
Definition at line 917 of file jupiter_lighthouse_right_tower_lower.c.
scInit
Sint32 scInit(void)
Sets up the rooms as the party enters: the archer statue at three quarters of its size, the stakes and the bridge as their flags leave them, the blocks' glow, and the grey blocks as platforms. Returns 0.
References fdActorGet(), fdScriptGetFlag(), JupiterLighthouseRightTowerLowerPoundTargets, MainRoutineStateWork, scActorsSetMetatilesOpen(), scJupiterLighthouseLayBridge(), scLightSpritesAddCounted(), scLightSpritesInitPathGlows(), scLightSpritesSetPriority() and Sint32.
Definition at line 929 of file jupiter_lighthouse_right_tower_lower.c.
scPrepareMap
Sint32 scPrepareMap(void)
Lays out the blocks as the map is drawn: the first two stay in their gaps only when both lie in them or the party comes back to where it left, the third lies in its gap while the west stake stands, and the floor and the west hall's path follow. Returns 0.
References fdActorGet(), fdMapGridGetMetatileHeight(), fdMapGridSetMetatileAttributeBitsAt(), fdMapGridSetMetatileHeight(), fdScriptClearFlag(), fdScriptGetFlag(), fdScriptSetFlag(), MainRoutineStateWork, scJupiterLighthouseCountBlocksInGaps(), scJupiterLighthouseDrawBlocksInGaps(), scJupiterLighthouseLightWestPath(), scJupiterLighthouseLoadPalettes(), scSetArrivalFlags() and Sint32.
Definition at line 985 of file jupiter_lighthouse_right_tower_lower.c.
scPaletteCycleSetTick
static inline void scPaletteCycleSetTick(Sint32 value)
Restarts the palette cycle at the given tick.
References PaletteCycleTick and Sint32.
Referenced by scJupiterLighthouseLoadPalettes() and scTrialRoadStartPaletteCycle().
Definition at line 1048 of file jupiter_lighthouse_right_tower_lower.c.
scLightSpritesSetPriority
void scLightSpritesSetPriority(Uint16 value)
Sets the priority the lit actors' sprites are drawn at.
References LightSpritePriority.
Referenced by scInit().
Definition at line 1103 of file jupiter_lighthouse_right_tower_lower.c.
Variables in detail
JupiterLighthouseWestPathMetatiles
extern Sint16 JupiterLighthouseWestPathMetatiles[][2]
Sint16 JupiterLighthouseWestPathMetatiles[][2]
The metatiles of the west hall's path, ending at an x of -1.
Referenced by scJupiterLighthouseIsOnWestPath().
Definition at lines 29 and 1147 of file jupiter_lighthouse_right_tower_lower.c.
JupiterLighthouseRightTowerLowerPoundTargets
extern Sint16 JupiterLighthouseRightTowerLowerPoundTargets[]
LATE_DATA Sint16 JupiterLighthouseRightTowerLowerPoundTargets[]
The two stakes Pound sinks: each stake, its kind and the flag set once it is sunk, ended by -1.
Referenced by scInit() and scJupiterLighthouseSinkPoundTarget().
Definition at lines 170 and 1158 of file jupiter_lighthouse_right_tower_lower.c.
WhirlwindRiding
Sint32 WhirlwindRiding
The state of the code every Jupiter Lighthouse room's overlay keeps its own
copy of: a whirlwind's ride (shared/whirlwind_*.c), the palette cycle
(shared/palette_cycle_step.c), the lit actors' sprites
(shared/light_sprites_*.c) and the cracked tiles (shared/cracked_tile_*.c).
These rooms have neither whirlwind nor cracked tile, but their copies of that
code keep their state here all the same.
References Sint32.
Referenced by scInit(), scJupiterLighthouseRaiseUpperWhirlwind(), scJupiterLighthouseRaiseWhirlwind(), scJupiterLighthouseRideUpperWhirlwind(), scJupiterLighthouseRideWhirlwind() and scWhirlwindUpdate().
Definition at line 178 of file jupiter_lighthouse_right_tower_lower.c.
PaletteCycleColors
Uint16 PaletteCycleColors[16]
Referenced by fdPaletteCycleFade(), fdPaletteCycleStep(), scJupiterLighthouseLoadPalettes() and scPaletteSetColorsFade().
Definition at line 179 of file jupiter_lighthouse_right_tower_lower.c.
PaletteCycleUnlitPalette
Uint16 PaletteCycleUnlitPalette[2]
Palette 13's first two colors; it is copied whole, with the unlit colors after them.
Referenced by scJupiterLighthouseLoadPalettes().
Definition at line 182 of file jupiter_lighthouse_right_tower_lower.c.
PaletteCycleUnlitColors
Uint16 PaletteCycleUnlitColors[14]
Referenced by scJupiterLighthouseLoadPalettes().
Definition at line 183 of file jupiter_lighthouse_right_tower_lower.c.
LightSpriteTile
Sint16 LightSpriteTile
Referenced by scAnemosInnerSanctumDullahanStartLightSprites(), scLightSpritesDraw(), scLightSpritesInitChannelPieces(), scLightSpritesInitEnergyBlockGlow() and scLightSpritesInitPathGlows().
Definition at line 184 of file jupiter_lighthouse_right_tower_lower.c.
LightSpriteCount
Sint16 LightSpriteCount
Referenced by scAnemosInnerSanctumDullahanStartLightSprites(), scLightSpritesAdd(), scLightSpritesAddCounted(), scLightSpritesDraw(), scLightSpritesInitChannelPieces(), scLightSpritesInitEnergyBlockGlow() and scLightSpritesInitPathGlows().
Definition at line 185 of file jupiter_lighthouse_right_tower_lower.c.
LightSpriteActors
Uint32 LightSpriteActors[16]
Referenced by scAnemosInnerSanctumDullahanStartLightSprites(), scLightSpritesAdd(), scLightSpritesAddCounted(), scLightSpritesDraw(), scLightSpritesInitChannelPieces(), scLightSpritesInitEnergyBlockGlow() and scLightSpritesInitPathGlows().
Definition at line 186 of file jupiter_lighthouse_right_tower_lower.c.
LightSpriteOams
LIGHT_OAM LightSpriteOams[16]
Referenced by scLightSpritesDraw().
Definition at line 187 of file jupiter_lighthouse_right_tower_lower.c.
LightSpritesLarge
Sint16 LightSpritesLarge
Referenced by scAnemosInnerSanctumDullahanStartLightSprites(), scLightSpritesDraw(), scLightSpritesInitChannelPieces(), scLightSpritesInitEnergyBlockGlow() and scLightSpritesInitPathGlows().
Definition at line 188 of file jupiter_lighthouse_right_tower_lower.c.
LightSpritePriority
Sint16 LightSpritePriority
Referenced by scAnemosInnerSanctumDullahanSetLightPriority(), scAnemosInnerSanctumDullahanStartLightSprites(), scLightSpritesDraw(), scLightSpritesInitChannelPieces(), scLightSpritesInitEnergyBlockGlow(), scLightSpritesInitPathGlows() and scLightSpritesSetPriority().
Definition at line 189 of file jupiter_lighthouse_right_tower_lower.c.
CrackedTiles
METATILE_TARGET CrackedTiles
Referenced by scCrackedTileFind(), scCrackedTilePlaceLanding(), scCrackedTileStep() and scCrackedTileUpdate().
Definition at line 190 of file jupiter_lighthouse_right_tower_lower.c.
WhirlwindEndScript
extern Sint32 WhirlwindEndScript[]
LATE_DATA Sint32 WhirlwindEndScript[]
References Sint32.
Referenced by scWhirlwindUpdate().
Definition at lines 1059 and 1312 of file jupiter_lighthouse_right_tower_lower.c.
FieldEffectDurationScripts
extern const Sint32 *FieldEffectDurationScripts[]
LATE_DATA const Sint32 *FieldEffectDurationScripts[]
References FieldEffectLongScript, FieldEffectMediumScript, FieldEffectShortScript and Sint32.
Referenced by fdEffectSpawnResident(), scFieldEffectSpawn() and scFieldEffectSpawnLocal().
Definition at lines 1111 and 1319 of file jupiter_lighthouse_right_tower_lower.c.
SceneExits
LATE_DATA Uint32 SceneExits[]
Referenced by scGetExits().
Definition at line 1167 of file jupiter_lighthouse_right_tower_lower.c.
ActorPlacements
LATE_DATA ACTOR_PLACE ActorPlacements[]
Referenced by scGetActorPlacements().
Definition at line 1198 of file jupiter_lighthouse_right_tower_lower.c.
SceneCues
LATE_DATA CUE SceneCues[]
References scJupiterLighthouseFightWhorl(), scJupiterLighthouseJumpForward(), scJupiterLighthouseJumpOrPushBlock(), scJupiterLighthouseLiftPathBlock(), scJupiterLighthouseMoveButtonPillar(), scJupiterLighthousePlacePathBlock(), scJupiterLighthouseRaiseBlocksFromGaps(), scJupiterLighthouseRaiseThirdBlockFromGap(), scJupiterLighthouseSinkPoundTarget(), scJupiterLighthouseStartPound(), scJupiterLighthouseStepOffButton() and scJupiterLighthouseStepOnButton().
Referenced by scGetCues().
Definition at line 1230 of file jupiter_lighthouse_right_tower_lower.c.
Sint32
LATE_DATA Sint32
Referenced by ActorApproachWatchedScript, ActorCameraScript, ActorFaceWatchedScript, ActorFlyScript, ActorFootprintScript, ActorHoverScript, ActorIdleScript, ActorKeyCheckScript, ActorKeysScript, ActorLaunchScript, ActorOffsetScript, ActorPlacements, ActorPlayerScript, ActorRippleScript, ActorRopeScript, ActorSailOnMapScript, ActorSailScript, ActorSandOnWorldMapScript, ActorSandPuffScript, ActorSandScript, ActorScriptCycleTable, ActorScriptEndScript, ActorScriptIdleScript, ActorSplashScript, ActorStepAngleScript, ActorTightropeScript, ActorWaitScript, ActorWalkingScript, ActorWorldMapScript, AirsRockEntrancePlacements, AirsRockInsideFaceVentsPlacements, AirsRockInsideLeaderLevel, AirsRockInsideOrbitingSparkScript, AirsRockInsidePairedStakesPlacements, AirsRockInsideStampedHeight, AirsRockInsideStampedMetatile, AirsRockInsideStampedWidth, AirsRockInsideStampedX, AirsRockInsideStampedZ, AirsRockInsideTightropesPlacements, AirsRockInsideTurningBridgePlacements, AirsRockInsideWindStonePlacements, AirsRockLeaderLevel, AirsRockRubbleScript, AirsRockWindStoneScript, AlhafraActorPlacementsOnceTheMastIsCleared, AlhafraAlhafranLeadsBehindFelixScript, AlhafraElderStepsBackScript, AlhafranCaveGuardStepsAsideScript, AlhafranCaveIdleEventTick and 4596 more.
Definition at lines 1308 and 1310 of file jupiter_lighthouse_right_tower_lower.c.