Alchemy
Loading...
Searching...
No Matches

venus_lighthouse.h File Reference

Go to the source code of this file.

Functions

const struct SceneEntrance * Scene_GetEntrances (void)
const struct SceneRegion * SceneData_ReturnZero (void)
const u32 * SceneData_GetPrimaryTable (void)
 Returns the packed exits shared by the lighthouse scenes.
const struct ScenePlacement * Scene_GetPlacements (void)
const struct SceneEvent * Scene_GetEvents (void)
s32 Scene_RunEntrySetup (void)
 Restores puzzle progress, actors and entrance effects for all six scenes.

Variables

s32 gEffectScript0 []
s32 gEffectScript1 []
s32 gEffectScript2 []
u32 gStagedActor_DirectionSteps []
 Pixel step by direction: X in the upper halfword, Z in the lower.
struct SwitchCell gVenusSwitchCells []
u32 gVenusBlockHeights []
struct SwitchCell gVenusPillarCells []
u8 gVenusShapesPushedLeft []
u8 gVenusShapesPushedRight []
u8 gVenusShapesPushedUp []
u8 gVenusShapesPushedDown []
u8 gVenusSwitchShape0 []
u8 gVenusSwitchShape1 []
u8 gVenusSwitchShape2 []
u8 gVenusSwitchShape3 []
u8 gVenusPillarShape0 []
u8 gVenusPillarShape1 []
u8 gVenusPillarShape2 []
u8 gVenusPillarShape3 []
u8 gVenusPillarShape4 []
u8 gVenusPillarShape5 []
u8 gVenusPillarShape6 []
const s32 * gEffectScripts []
s32 gVenusLighthousePlacements2_0 []
s32 gVenusLighthousePlacements3_Data []
s32 gVenusLeaderApproachScript []
s32 gVenusLighthousePlacements2_1 []
s32 gVenusSprayScript []
s32 gVenusLighthousePlacements4_1 []
s32 gVenusLighthousePlacements5_3 []
s32 gVenusLighthousePlacements6_4 []
s32 gVenusLighthousePlacements5_2 []
s32 gVenusLighthousePlacements5_1 []
s32 gVenusLighthousePlacements6_3 []
s32 gVenusPushScript []
s32 gVenusSettleScriptA []
s32 gVenusSettleScriptB []
s32 gVenusRefusedPushScript []
s32 gVenusSwitchPushScript0_0 []
s32 gVenusSwitchPushScript0_1 []
s32 gVenusSwitchPushScript1_0 []
s32 gVenusSwitchPushScript1_1 []
s32 gVenusSwitchPushScript2_1 []
s32 gVenusSwitchPushScript2_0 []
s32 gVenusSwitchPushScript3_1 []
s32 gVenusSwitchPushScript3_0 []
s32 gVenusFirstGateScript []
s32 gVenusFirstGateOpenScript []
s32 gVenusPillarPushScript7_0 []
s32 gVenusPillarPushScript5_1 []
s32 gVenusPillarPushScript5_0 []
s32 gVenusPillarPushScript2_0 []
s32 gVenusPillarPushScript3_0 []
s32 gVenusSecondGateScript []
s32 gVenusPillarPushScript6_0 []
s32 gVenusPillarPushScript4_0 []
s32 gVenusPillarPushScript0_0 []
u16 gVenusPushCells []
u16 gVenusSettleCells []
u16 gVenusGateCells []
struct SceneEntrance gVenusLighthouseEntrances1 []
struct SceneEntrance gVenusLighthouseEntrancesOther []
struct SceneEntrance gVenusLighthouseEntrances3 []
struct SceneEntrance gVenusLighthouseEntrances4 []
struct SceneEntrance gVenusLighthouseEntrances5 []
struct SceneEntrance gVenusLighthouseEntrances6 []
u32 gVenusLighthousePrimaryTable []
struct ScenePlacement gVenusLighthousePlacementsOther []
struct ScenePlacement gVenusLighthousePlacements1 []
struct ScenePlacement gVenusLighthousePlacements2 []
struct ScenePlacement gVenusLighthousePlacements3 []
struct ScenePlacement gVenusLighthousePlacements4 []
struct ScenePlacement gVenusLighthousePlacements5 []
struct ScenePlacement gVenusLighthousePlacements6 []
struct SceneEvent gVenusLighthouseEvents1 []
struct SceneEvent gVenusLighthouseEvents2 []
struct SceneEvent gVenusLighthouseEvents3 []
struct SceneEvent gVenusLighthouseEvents4 []
struct SceneEvent gVenusLighthouseEvents5 []
struct SceneEvent gVenusLighthouseEvents6 []
const u8 * gVenusSwitchShapes []
s32 * gVenusSwitchPushScript0 []
s32 * gVenusSwitchPushScript1 []
s32 * gVenusSwitchPushScript2 []
s32 * gVenusSwitchPushScript3 []
s32 ** gVenusSwitchPushScripts []
const u8 * gVenusPillarShapes []
s32 * gVenusPillarPushScript0 []
s32 * gVenusPillarPushScript1 []
s32 * gVenusPillarPushScript2 []
s32 * gVenusPillarPushScript3 []
s32 * gVenusPillarPushScript4 []
s32 * gVenusPillarPushScript5 []
s32 * gVenusPillarPushScript6 []
s32 * gVenusPillarPushScript7 []
s32 ** gVenusPillarPushScripts []

Function Documentation

◆ Scene_GetEntrances()

const struct SceneEntrance * Scene_GetEntrances ( void )

Definition at line 150 of file alpine_crossing_lama_temple.c.

◆ SceneData_ReturnZero()

const struct SceneRegion * SceneData_ReturnZero ( void )

Definition at line 51 of file level.c.

Referenced by SceneData_ReturnZero().

◆ SceneData_GetPrimaryTable()

const u32 * SceneData_GetPrimaryTable ( void )

Returns the packed exits shared by the lighthouse scenes.

Definition at line 724 of file venus_lighthouse.c.

Referenced by SceneData_GetPrimaryTable().

◆ Scene_GetPlacements()

const struct ScenePlacement * Scene_GetPlacements ( void )

Definition at line 162 of file alpine_crossing_lama_temple.c.

◆ Scene_GetEvents()

const struct SceneEvent * Scene_GetEvents ( void )

Definition at line 796 of file alpine_crossing_lama_temple.c.

◆ Scene_RunEntrySetup()

s32 Scene_RunEntrySetup ( void )

Restores puzzle progress, actors and entrance effects for all six scenes.

Definition at line 2241 of file venus_lighthouse.c.

Referenced by Scene_RunEntrySetup().

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

◆ gVenusSwitchCells

struct SwitchCell gVenusSwitchCells[]
extern

◆ gVenusBlockHeights

u32 gVenusBlockHeights[]
extern

Definition at line 3334 of file venus_lighthouse.c.

Referenced by VenusLighthouse_LowerFloatingBlocks().

◆ gVenusPillarCells

struct SwitchCell gVenusPillarCells[]
extern

◆ gVenusShapesPushedLeft

u8 gVenusShapesPushedLeft[]
extern

Definition at line 3349 of file venus_lighthouse.c.

Referenced by VenusLighthouse_DispatchPushScript().

◆ gVenusShapesPushedRight

u8 gVenusShapesPushedRight[]
extern

Definition at line 3353 of file venus_lighthouse.c.

Referenced by VenusLighthouse_DispatchPushScript().

◆ gVenusShapesPushedUp

u8 gVenusShapesPushedUp[]
extern

Definition at line 3357 of file venus_lighthouse.c.

Referenced by VenusLighthouse_DispatchPushScript().

◆ gVenusShapesPushedDown

u8 gVenusShapesPushedDown[]
extern

Definition at line 3361 of file venus_lighthouse.c.

Referenced by VenusLighthouse_DispatchPushScript().

◆ gVenusSwitchShape0

u8 gVenusSwitchShape0[]
extern

Definition at line 3365 of file venus_lighthouse.c.

◆ gVenusSwitchShape1

u8 gVenusSwitchShape1[]
extern

Definition at line 3369 of file venus_lighthouse.c.

◆ gVenusSwitchShape2

u8 gVenusSwitchShape2[]
extern

Definition at line 3373 of file venus_lighthouse.c.

◆ gVenusSwitchShape3

u8 gVenusSwitchShape3[]
extern

Definition at line 3377 of file venus_lighthouse.c.

◆ gVenusPillarShape0

u8 gVenusPillarShape0[]
extern

Definition at line 3381 of file venus_lighthouse.c.

◆ gVenusPillarShape1

u8 gVenusPillarShape1[]
extern

Definition at line 3385 of file venus_lighthouse.c.

◆ gVenusPillarShape2

u8 gVenusPillarShape2[]
extern

Definition at line 3389 of file venus_lighthouse.c.

◆ gVenusPillarShape3

u8 gVenusPillarShape3[]
extern

Definition at line 3393 of file venus_lighthouse.c.

◆ gVenusPillarShape4

u8 gVenusPillarShape4[]
extern

Definition at line 3397 of file venus_lighthouse.c.

◆ gVenusPillarShape5

u8 gVenusPillarShape5[]
extern

Definition at line 3401 of file venus_lighthouse.c.

◆ gVenusPillarShape6

u8 gVenusPillarShape6[]
extern

Definition at line 3405 of file venus_lighthouse.c.

◆ gEffectScripts

const s32* gEffectScripts[]
extern

Definition at line 1371 of file babi_lighthouse.c.

◆ gVenusLighthousePlacements2_0

s32 gVenusLighthousePlacements2_0[]
extern

Definition at line 3415 of file venus_lighthouse.c.

◆ gVenusLighthousePlacements3_Data

s32 gVenusLighthousePlacements3_Data[]
extern

Definition at line 3422 of file venus_lighthouse.c.

◆ gVenusLeaderApproachScript

s32 gVenusLeaderApproachScript[]
extern

Definition at line 3428 of file venus_lighthouse.c.

Referenced by Event_JumpDown().

◆ gVenusLighthousePlacements2_1

s32 gVenusLighthousePlacements2_1[]
extern

Definition at line 3444 of file venus_lighthouse.c.

◆ gVenusSprayScript

s32 gVenusSprayScript[]
extern

Definition at line 3452 of file venus_lighthouse.c.

Referenced by VenusLighthouse_UpdateRisingSpray().

◆ gVenusLighthousePlacements4_1

s32 gVenusLighthousePlacements4_1[]
extern

Definition at line 3472 of file venus_lighthouse.c.

◆ gVenusLighthousePlacements5_3

s32 gVenusLighthousePlacements5_3[]
extern

Definition at line 3477 of file venus_lighthouse.c.

◆ gVenusLighthousePlacements6_4

s32 gVenusLighthousePlacements6_4[]
extern

Definition at line 3482 of file venus_lighthouse.c.

◆ gVenusLighthousePlacements5_2

s32 gVenusLighthousePlacements5_2[]
extern

Definition at line 3487 of file venus_lighthouse.c.

◆ gVenusLighthousePlacements5_1

s32 gVenusLighthousePlacements5_1[]
extern

Definition at line 3492 of file venus_lighthouse.c.

◆ gVenusLighthousePlacements6_3

s32 gVenusLighthousePlacements6_3[]
extern

Definition at line 3497 of file venus_lighthouse.c.

◆ gVenusPushScript

s32 gVenusPushScript[]
extern

Definition at line 3502 of file venus_lighthouse.c.

Referenced by Event_MoveGateBlock().

◆ gVenusSettleScriptA

s32 gVenusSettleScriptA[]
extern

Definition at line 3523 of file venus_lighthouse.c.

Referenced by Event_MoveSwitchBlock().

◆ gVenusSettleScriptB

s32 gVenusSettleScriptB[]
extern

Definition at line 3538 of file venus_lighthouse.c.

Referenced by Event_MoveSwitchBlock().

◆ gVenusRefusedPushScript

s32 gVenusRefusedPushScript[]
extern

Definition at line 3550 of file venus_lighthouse.c.

Referenced by VenusLighthouse_DispatchPushScript().

◆ gVenusSwitchPushScript0_0

s32 gVenusSwitchPushScript0_0[]
extern

Definition at line 3556 of file venus_lighthouse.c.

◆ gVenusSwitchPushScript0_1

s32 gVenusSwitchPushScript0_1[]
extern

Definition at line 3567 of file venus_lighthouse.c.

◆ gVenusSwitchPushScript1_0

s32 gVenusSwitchPushScript1_0[]
extern

Definition at line 3576 of file venus_lighthouse.c.

◆ gVenusSwitchPushScript1_1

s32 gVenusSwitchPushScript1_1[]
extern

Definition at line 3585 of file venus_lighthouse.c.

◆ gVenusSwitchPushScript2_1

s32 gVenusSwitchPushScript2_1[]
extern

Definition at line 3594 of file venus_lighthouse.c.

◆ gVenusSwitchPushScript2_0

s32 gVenusSwitchPushScript2_0[]
extern

Definition at line 3603 of file venus_lighthouse.c.

◆ gVenusSwitchPushScript3_1

s32 gVenusSwitchPushScript3_1[]
extern

Definition at line 3614 of file venus_lighthouse.c.

◆ gVenusSwitchPushScript3_0

s32 gVenusSwitchPushScript3_0[]
extern

Definition at line 3623 of file venus_lighthouse.c.

◆ gVenusFirstGateScript

s32 gVenusFirstGateScript[]
extern

Definition at line 3632 of file venus_lighthouse.c.

Referenced by Event_MovePillarSwitchBlock().

◆ gVenusFirstGateOpenScript

s32 gVenusFirstGateOpenScript[]
extern

Definition at line 3642 of file venus_lighthouse.c.

Referenced by Event_MovePillarSwitchBlock().

◆ gVenusPillarPushScript7_0

s32 gVenusPillarPushScript7_0[]
extern

Definition at line 3654 of file venus_lighthouse.c.

◆ gVenusPillarPushScript5_1

s32 gVenusPillarPushScript5_1[]
extern

Definition at line 3669 of file venus_lighthouse.c.

◆ gVenusPillarPushScript5_0

s32 gVenusPillarPushScript5_0[]
extern

Definition at line 3684 of file venus_lighthouse.c.

◆ gVenusPillarPushScript2_0

s32 gVenusPillarPushScript2_0[]
extern

Definition at line 3696 of file venus_lighthouse.c.

◆ gVenusPillarPushScript3_0

s32 gVenusPillarPushScript3_0[]
extern

Definition at line 3705 of file venus_lighthouse.c.

◆ gVenusSecondGateScript

s32 gVenusSecondGateScript[]
extern

Definition at line 3732 of file venus_lighthouse.c.

Referenced by Event_MovePillarSwitchBlock().

◆ gVenusPillarPushScript6_0

s32 gVenusPillarPushScript6_0[]
extern

Definition at line 3753 of file venus_lighthouse.c.

◆ gVenusPillarPushScript4_0

s32 gVenusPillarPushScript4_0[]
extern

Definition at line 3771 of file venus_lighthouse.c.

◆ gVenusPillarPushScript0_0

s32 gVenusPillarPushScript0_0[]
extern

Definition at line 3783 of file venus_lighthouse.c.

◆ gVenusPushCells

u16 gVenusPushCells[]
extern

Definition at line 3794 of file venus_lighthouse.c.

Referenced by Event_MoveGateBlock().

◆ gVenusSettleCells

u16 gVenusSettleCells[]
extern

Definition at line 3798 of file venus_lighthouse.c.

Referenced by Event_MoveSwitchBlock().

◆ gVenusGateCells

u16 gVenusGateCells[]
extern

Definition at line 3802 of file venus_lighthouse.c.

Referenced by Event_MovePillarSwitchBlock().

◆ gVenusLighthouseEntrances1

struct SceneEntrance gVenusLighthouseEntrances1[]
extern

Definition at line 3806 of file venus_lighthouse.c.

Referenced by Scene_GetEntrances().

◆ gVenusLighthouseEntrancesOther

struct SceneEntrance gVenusLighthouseEntrancesOther[]
extern

Definition at line 3813 of file venus_lighthouse.c.

Referenced by Scene_GetEntrances().

◆ gVenusLighthouseEntrances3

struct SceneEntrance gVenusLighthouseEntrances3[]
extern

Definition at line 3841 of file venus_lighthouse.c.

Referenced by Scene_GetEntrances().

◆ gVenusLighthouseEntrances4

struct SceneEntrance gVenusLighthouseEntrances4[]
extern

Definition at line 3866 of file venus_lighthouse.c.

Referenced by Scene_GetEntrances().

◆ gVenusLighthouseEntrances5

struct SceneEntrance gVenusLighthouseEntrances5[]
extern

Definition at line 3881 of file venus_lighthouse.c.

Referenced by Scene_GetEntrances().

◆ gVenusLighthouseEntrances6

struct SceneEntrance gVenusLighthouseEntrances6[]
extern

Definition at line 3905 of file venus_lighthouse.c.

Referenced by Scene_GetEntrances().

◆ gVenusLighthousePrimaryTable

u32 gVenusLighthousePrimaryTable[]
extern

Definition at line 3929 of file venus_lighthouse.c.

Referenced by SceneData_GetPrimaryTable().

◆ gVenusLighthousePlacementsOther

struct ScenePlacement gVenusLighthousePlacementsOther[]
extern

Definition at line 4039 of file venus_lighthouse.c.

Referenced by Scene_GetPlacements().

◆ gVenusLighthousePlacements1

struct ScenePlacement gVenusLighthousePlacements1[]
extern

Definition at line 4043 of file venus_lighthouse.c.

Referenced by Scene_GetPlacements().

◆ gVenusLighthousePlacements2

struct ScenePlacement gVenusLighthousePlacements2[]
extern

Definition at line 4061 of file venus_lighthouse.c.

Referenced by Scene_GetPlacements().

◆ gVenusLighthousePlacements3

struct ScenePlacement gVenusLighthousePlacements3[]
extern

Definition at line 4099 of file venus_lighthouse.c.

Referenced by Scene_GetPlacements().

◆ gVenusLighthousePlacements4

struct ScenePlacement gVenusLighthousePlacements4[]
extern

Definition at line 4113 of file venus_lighthouse.c.

Referenced by Scene_GetPlacements().

◆ gVenusLighthousePlacements5

struct ScenePlacement gVenusLighthousePlacements5[]
extern

Definition at line 4123 of file venus_lighthouse.c.

Referenced by Scene_GetPlacements().

◆ gVenusLighthousePlacements6

struct ScenePlacement gVenusLighthousePlacements6[]
extern

Definition at line 4137 of file venus_lighthouse.c.

Referenced by Scene_GetPlacements().

◆ gVenusLighthouseEvents1

struct SceneEvent gVenusLighthouseEvents1[]
extern

Definition at line 4167 of file venus_lighthouse.c.

Referenced by Scene_GetEvents().

◆ gVenusLighthouseEvents2

struct SceneEvent gVenusLighthouseEvents2[]
extern

Definition at line 4188 of file venus_lighthouse.c.

Referenced by Scene_GetEvents().

◆ gVenusLighthouseEvents3

struct SceneEvent gVenusLighthouseEvents3[]
extern

Definition at line 4243 of file venus_lighthouse.c.

Referenced by Scene_GetEvents().

◆ gVenusLighthouseEvents4

struct SceneEvent gVenusLighthouseEvents4[]
extern

Definition at line 4286 of file venus_lighthouse.c.

Referenced by Scene_GetEvents().

◆ gVenusLighthouseEvents5

struct SceneEvent gVenusLighthouseEvents5[]
extern

Definition at line 4304 of file venus_lighthouse.c.

Referenced by Scene_GetEvents().

◆ gVenusLighthouseEvents6

struct SceneEvent gVenusLighthouseEvents6[]
extern

Definition at line 4334 of file venus_lighthouse.c.

Referenced by Scene_GetEvents().

◆ gVenusSwitchShapes

const u8* gVenusSwitchShapes[]
extern

Definition at line 4385 of file venus_lighthouse.c.

Referenced by VenusLighthouse_DispatchPushScript().

◆ gVenusSwitchPushScript0

s32* gVenusSwitchPushScript0[]
extern

Definition at line 4392 of file venus_lighthouse.c.

◆ gVenusSwitchPushScript1

s32* gVenusSwitchPushScript1[]
extern

Definition at line 4399 of file venus_lighthouse.c.

◆ gVenusSwitchPushScript2

s32* gVenusSwitchPushScript2[]
extern

Definition at line 4406 of file venus_lighthouse.c.

◆ gVenusSwitchPushScript3

s32* gVenusSwitchPushScript3[]
extern

Definition at line 4413 of file venus_lighthouse.c.

◆ gVenusSwitchPushScripts

s32** gVenusSwitchPushScripts[]
extern

Definition at line 4420 of file venus_lighthouse.c.

Referenced by VenusLighthouse_DispatchPushScript().

◆ gVenusPillarShapes

const u8* gVenusPillarShapes[]
extern

Definition at line 4427 of file venus_lighthouse.c.

Referenced by VenusLighthouse_DispatchPushScript().

◆ gVenusPillarPushScript0

s32* gVenusPillarPushScript0[]
extern

Definition at line 4433 of file venus_lighthouse.c.

◆ gVenusPillarPushScript1

s32* gVenusPillarPushScript1[]
extern

Definition at line 4438 of file venus_lighthouse.c.

◆ gVenusPillarPushScript2

s32* gVenusPillarPushScript2[]
extern

Definition at line 4442 of file venus_lighthouse.c.

◆ gVenusPillarPushScript3

s32* gVenusPillarPushScript3[]
extern

Definition at line 4447 of file venus_lighthouse.c.

◆ gVenusPillarPushScript4

s32* gVenusPillarPushScript4[]
extern

Definition at line 4452 of file venus_lighthouse.c.

◆ gVenusPillarPushScript5

s32* gVenusPillarPushScript5[]
extern

Definition at line 4457 of file venus_lighthouse.c.

◆ gVenusPillarPushScript6

s32* gVenusPillarPushScript6[]
extern

Definition at line 4463 of file venus_lighthouse.c.

◆ gVenusPillarPushScript7

s32* gVenusPillarPushScript7[]
extern

Definition at line 4468 of file venus_lighthouse.c.

◆ gVenusPillarPushScripts

s32** gVenusPillarPushScripts[]
extern

Definition at line 4473 of file venus_lighthouse.c.

Referenced by VenusLighthouse_DispatchPushScript().