Alchemy
Loading...
Searching...
No Matches

mercury_lighthouse.h File Reference

Go to the source code of this file.

Functions

const struct SceneEntrance * MercuryLighthouse_GetEntrances (void)
const struct SceneRegion * MercuryLighthouse_GetRegions (void)
const u32 * MercuryLighthouse_GetExits (void)
 Returns the packed exits shared by the lighthouse scenes.
const struct ScenePlacement * MercuryLighthouse_GetPlacements (void)
 Selects the actors and obstacles for the current lighthouse scene.
const struct SceneEvent * MercuryLighthouse_GetEvents (void)
 Selects the puzzle interactions and dialogue for the current scene.
s32 MercuryLighthouse_Initialize (void)
 Restores each lighthouse scene's puzzle state and entrance sequence.

Variables

s32 gEffectScript0 []
s32 gEffectScript1 []
s32 gEffectScript2 []
s32 gStagedActor_DirectionSteps []
 Pixel step by direction: X in the upper halfword, Z in the lower.
u32 gStagedActor_FootprintKinds []
s32 gStagedActor_FootprintBounds []
s32 gMercuryLighthouse_RiseScript []
s32 gMercuryLighthouse_SparkScript []
s32 gMercuryLighthouse_RampScript []
s32 gMercuryLighthouse_ScaleCounterScript []
s32 gMercuryLighthouse_PillarScript []
u16 gMercuryLighthouse_MoveAngles []
const s32 * gEffectScripts []
s32 gMercuryLighthouse_SparkBurstScript []
s32 gMercuryLighthouse_PushScriptA []
s32 gMercuryLighthouse_PushScriptB []
s32 gMercuryLighthouse_PushScriptD []
s32 gMercuryLighthouse_PushScriptC []
s32 gPaletteCycleRed
s32 gPaletteCycleGreen
s32 gPaletteCycleBlue
u16 gMercuryLighthouse_GateCells []
u16 gMercuryLighthouse_GateCloseCells []
u16 gMercuryLighthouse_FloorSwitchCells []
u16 gMercuryLighthouse_FloorSwitchCloseCells []
u16 gMercuryLighthouse_ColumnCells []
struct SceneEntrance gMercuryLighthouseEntrancesOther []
struct SceneEntrance gMercuryLighthouseEntrances2 []
struct SceneEntrance gMercuryLighthouseEntrances3 []
struct SceneEntrance gMercuryLighthouseEntrances4 []
u32 gMercuryLighthouse_Exits []
struct ScenePlacement gMercuryLighthousePlacementsOther []
struct ScenePlacement gMercuryLighthousePlacements1 []
struct ScenePlacement gMercuryLighthousePlacements2 []
struct ScenePlacement gMercuryLighthousePlacements3 []
struct ScenePlacement gMercuryLighthousePlacements4 []
struct SceneEvent gMercuryLighthouseEvents1 []
struct SceneEvent gMercuryLighthouseEvents2 []
struct SceneEvent gMercuryLighthouseEvents3 []
struct SceneEvent gMercuryLighthouseEventsOther []

Function Documentation

◆ MercuryLighthouse_GetEntrances()

const struct SceneEntrance * MercuryLighthouse_GetEntrances ( void )

Definition at line 212 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_GetEntrances().

◆ MercuryLighthouse_GetRegions()

const struct SceneRegion * MercuryLighthouse_GetRegions ( void )

Definition at line 227 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_GetRegions().

◆ MercuryLighthouse_GetExits()

const u32 * MercuryLighthouse_GetExits ( void )

Returns the packed exits shared by the lighthouse scenes.

Definition at line 230 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_GetExits().

◆ MercuryLighthouse_GetPlacements()

const struct ScenePlacement * MercuryLighthouse_GetPlacements ( void )

Selects the actors and obstacles for the current lighthouse scene.

Definition at line 233 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_GetPlacements().

◆ MercuryLighthouse_GetEvents()

const struct SceneEvent * MercuryLighthouse_GetEvents ( void )

Selects the puzzle interactions and dialogue for the current scene.

Definition at line 281 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_GetEvents().

◆ MercuryLighthouse_Initialize()

s32 MercuryLighthouse_Initialize ( void )

Restores each lighthouse scene's puzzle state and entrance sequence.

Definition at line 2029 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_Initialize().

Variable Documentation

◆ gEffectScript0

s32 gEffectScript0[]
extern

Definition at line 1356 of file babi_lighthouse.c.

◆ gEffectScript1

s32 gEffectScript1[]
extern

Definition at line 1361 of file babi_lighthouse.c.

◆ gEffectScript2

s32 gEffectScript2[]
extern

Definition at line 1366 of file babi_lighthouse.c.

◆ gStagedActor_DirectionSteps

s32 gStagedActor_DirectionSteps[]
extern

Pixel step by direction: X in the upper halfword, Z in the lower.

Definition at line 2131 of file altmiller_cave.c.

◆ gStagedActor_FootprintKinds

u32 gStagedActor_FootprintKinds[]
extern

Definition at line 2140 of file altmiller_cave.c.

◆ gStagedActor_FootprintBounds

s32 gStagedActor_FootprintBounds[]
extern

Definition at line 2144 of file altmiller_cave.c.

◆ gMercuryLighthouse_RiseScript

s32 gMercuryLighthouse_RiseScript[]
extern

Definition at line 2722 of file mercury_lighthouse.c.

Referenced by OverlayObject_SpawnKind24AtObject().

◆ gMercuryLighthouse_SparkScript

s32 gMercuryLighthouse_SparkScript[]
extern

Definition at line 2727 of file mercury_lighthouse.c.

◆ gMercuryLighthouse_RampScript

s32 gMercuryLighthouse_RampScript[]
extern

Definition at line 2732 of file mercury_lighthouse.c.

◆ gMercuryLighthouse_ScaleCounterScript

s32 gMercuryLighthouse_ScaleCounterScript[]
extern

Definition at line 2737 of file mercury_lighthouse.c.

◆ gMercuryLighthouse_PillarScript

s32 gMercuryLighthouse_PillarScript[]
extern

Definition at line 2742 of file mercury_lighthouse.c.

◆ gMercuryLighthouse_MoveAngles

u16 gMercuryLighthouse_MoveAngles[]
extern

Definition at line 2747 of file mercury_lighthouse.c.

◆ gEffectScripts

const s32* gEffectScripts[]
extern

Definition at line 1371 of file babi_lighthouse.c.

◆ gMercuryLighthouse_SparkBurstScript

s32 gMercuryLighthouse_SparkBurstScript[]
extern

◆ gMercuryLighthouse_PushScriptA

s32 gMercuryLighthouse_PushScriptA[]
extern

Definition at line 2778 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_StartStatueSlide().

◆ gMercuryLighthouse_PushScriptB

s32 gMercuryLighthouse_PushScriptB[]
extern

Definition at line 2788 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_StartStatueSlide().

◆ gMercuryLighthouse_PushScriptD

s32 gMercuryLighthouse_PushScriptD[]
extern

Definition at line 2799 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_StartStatueSlide().

◆ gMercuryLighthouse_PushScriptC

s32 gMercuryLighthouse_PushScriptC[]
extern

Definition at line 2810 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_StartStatueSlide().

◆ gPaletteCycleRed

s32 gPaletteCycleRed
extern

Definition at line 2816 of file mercury_lighthouse.c.

◆ gPaletteCycleGreen

s32 gPaletteCycleGreen
extern

Definition at line 2818 of file mercury_lighthouse.c.

◆ gPaletteCycleBlue

s32 gPaletteCycleBlue
extern

Definition at line 2820 of file mercury_lighthouse.c.

◆ gMercuryLighthouse_GateCells

u16 gMercuryLighthouse_GateCells[]
extern

◆ gMercuryLighthouse_GateCloseCells

u16 gMercuryLighthouse_GateCloseCells[]
extern

Definition at line 2826 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_CloseFloorSwitch().

◆ gMercuryLighthouse_FloorSwitchCells

u16 gMercuryLighthouse_FloorSwitchCells[]
extern

◆ gMercuryLighthouse_FloorSwitchCloseCells

u16 gMercuryLighthouse_FloorSwitchCloseCells[]
extern

Definition at line 2834 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_ReleaseStairFloorSwitch().

◆ gMercuryLighthouse_ColumnCells

u16 gMercuryLighthouse_ColumnCells[]
extern

Definition at line 2838 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_MiaOpensEntranceWithPly().

◆ gMercuryLighthouseEntrancesOther

struct SceneEntrance gMercuryLighthouseEntrancesOther[]
extern

Definition at line 2842 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_GetEntrances().

◆ gMercuryLighthouseEntrances2

struct SceneEntrance gMercuryLighthouseEntrances2[]
extern

Definition at line 2859 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_GetEntrances().

◆ gMercuryLighthouseEntrances3

struct SceneEntrance gMercuryLighthouseEntrances3[]
extern

Definition at line 2874 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_GetEntrances().

◆ gMercuryLighthouseEntrances4

struct SceneEntrance gMercuryLighthouseEntrances4[]
extern

Definition at line 2895 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_GetEntrances().

◆ gMercuryLighthouse_Exits

u32 gMercuryLighthouse_Exits[]
extern

Definition at line 2909 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_GetExits().

◆ gMercuryLighthousePlacementsOther

struct ScenePlacement gMercuryLighthousePlacementsOther[]
extern

Definition at line 2965 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_GetPlacements().

◆ gMercuryLighthousePlacements1

struct ScenePlacement gMercuryLighthousePlacements1[]
extern

Definition at line 2969 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_GetPlacements().

◆ gMercuryLighthousePlacements2

struct ScenePlacement gMercuryLighthousePlacements2[]
extern

Definition at line 2985 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_GetPlacements().

◆ gMercuryLighthousePlacements3

struct ScenePlacement gMercuryLighthousePlacements3[]
extern

Definition at line 2999 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_GetPlacements().

◆ gMercuryLighthousePlacements4

struct ScenePlacement gMercuryLighthousePlacements4[]
extern

Definition at line 3029 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_GetPlacements().

◆ gMercuryLighthouseEvents1

struct SceneEvent gMercuryLighthouseEvents1[]
extern

Definition at line 3059 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_GetEvents().

◆ gMercuryLighthouseEvents2

struct SceneEvent gMercuryLighthouseEvents2[]
extern

Definition at line 3088 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_GetEvents().

◆ gMercuryLighthouseEvents3

struct SceneEvent gMercuryLighthouseEvents3[]
extern

Definition at line 3119 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_GetEvents().

◆ gMercuryLighthouseEventsOther

struct SceneEvent gMercuryLighthouseEventsOther[]
extern

Definition at line 3152 of file mercury_lighthouse.c.

Referenced by MercuryLighthouse_GetEvents().