Alchemy
Loading...
Searching...
No Matches

tunnel_ruins.h File Reference

Go to the source code of this file.

Functions

const struct SceneEntrance * TunnelRuins_GetEntrances (void)
 The entrances of the first ruins, the second, or the rooms beyond.
const struct SceneRegion * TunnelRuins_GetRegions (void)
const u32 * TunnelRuins_GetExits (void)
const struct ScenePlacement * TunnelRuins_GetPlacements (void)
 The first ruins' actors or the other ruins' (the enums above), each prepared to appear only when it lies in the view.
const struct SceneEvent * TunnelRuins_GetEvents (void)
 The first ruins' events, or the other ruins'.
s32 TunnelRuins_Initialize (void)
 On entering a room: the puzzle as it was left, and the route the statue at Venus Lighthouse chose (flag 0x982 or 0x983).

Variables

s32 gStagedActor_DirectionSteps []
 Pixel step by direction: X in the upper halfword, Z in the lower.
u32 gStagedActor_FootprintKinds []
s32 gStagedActor_FootprintBounds []
s32 gEffectScript0 []
s32 gEffectScript1 []
s32 gEffectScript2 []
u32 gTunnelRuins_BalanceHeights []
 A balance platform's height by its weight (its timer): each block on it takes it 16 pixels further down, and the other platform up as far.
const s32 * gEffectScripts []
s32 gTunnelRuins_ShrinkScript []
s32 gTunnelRuins_StretchScript []
 The bushes stand 8/5 as tall as their sprite.
s32 gTunnelRuins_DouseSplashScript []
 Douse: splashes on the pillar from frame 35 for 130 frames.
u16 gTunnelRuins_DoorOpenSteps []
u16 gTunnelRuins_DoorCloseSteps []
struct SceneEntrance gTunnelRuinsEntrancesOther []
struct SceneEntrance gTunnelRuinsEntrances1 []
struct SceneEntrance gTunnelRuinsEntrances2 []
struct SceneRegion gTunnelRuinsRegions2 []
u32 gTunnelRuinsExits []
struct ScenePlacement gTunnelRuinsPlacements1 []
struct ScenePlacement gTunnelRuinsPlacementsOther []
struct SceneEvent gTunnelRuinsEvents1 []
struct SceneEvent gTunnelRuinsEventsOther []

Function Documentation

◆ TunnelRuins_GetEntrances()

const struct SceneEntrance * TunnelRuins_GetEntrances ( void )

The entrances of the first ruins, the second, or the rooms beyond.

Definition at line 413 of file tunnel_ruins.c.

Referenced by TunnelRuins_GetEntrances().

◆ TunnelRuins_GetRegions()

const struct SceneRegion * TunnelRuins_GetRegions ( void )

Definition at line 425 of file tunnel_ruins.c.

Referenced by TunnelRuins_GetRegions().

◆ TunnelRuins_GetExits()

const u32 * TunnelRuins_GetExits ( void )

Definition at line 432 of file tunnel_ruins.c.

Referenced by TunnelRuins_GetExits().

◆ TunnelRuins_GetPlacements()

const struct ScenePlacement * TunnelRuins_GetPlacements ( void )

The first ruins' actors or the other ruins' (the enums above), each prepared to appear only when it lies in the view.

Definition at line 436 of file tunnel_ruins.c.

Referenced by TunnelRuins_GetPlacements().

◆ TunnelRuins_GetEvents()

const struct SceneEvent * TunnelRuins_GetEvents ( void )

The first ruins' events, or the other ruins'.

Definition at line 1267 of file tunnel_ruins.c.

Referenced by TunnelRuins_GetEvents().

◆ TunnelRuins_Initialize()

s32 TunnelRuins_Initialize ( void )

On entering a room: the puzzle as it was left, and the route the statue at Venus Lighthouse chose (flag 0x982 or 0x983).

Retreat leads back to the first ruins' entrance 1, or from the other ruins' first rooms to Babi Lighthouse. The scene's initialization. Entering rooms 8 to 11 sets flag 0x973. XXX: no other code of the game reads flag 0x973; a reader elsewhere would say what it records.

Definition at line 1368 of file tunnel_ruins.c.

Referenced by TunnelRuins_Initialize().

Variable Documentation

◆ 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.

◆ 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.

◆ gTunnelRuins_BalanceHeights

u32 gTunnelRuins_BalanceHeights[]
extern

A balance platform's height by its weight (its timer): each block on it takes it 16 pixels further down, and the other platform up as far.

Definition at line 1690 of file tunnel_ruins.c.

Referenced by TunnelRuins_SettleBalance().

◆ gEffectScripts

const s32* gEffectScripts[]
extern

Definition at line 1371 of file babi_lighthouse.c.

◆ gTunnelRuins_ShrinkScript

s32 gTunnelRuins_ShrinkScript[]
extern

Definition at line 1701 of file tunnel_ruins.c.

◆ gTunnelRuins_StretchScript

s32 gTunnelRuins_StretchScript[]
extern

The bushes stand 8/5 as tall as their sprite.

Definition at line 1710 of file tunnel_ruins.c.

◆ gTunnelRuins_DouseSplashScript

s32 gTunnelRuins_DouseSplashScript[]
extern

Douse: splashes on the pillar from frame 35 for 130 frames.

Definition at line 1716 of file tunnel_ruins.c.

Referenced by Event_DouseBeginsOnPillar(), and Event_DouseBeginsOnPillarB().

◆ gTunnelRuins_DoorOpenSteps

u16 gTunnelRuins_DoorOpenSteps[]
extern

Definition at line 1722 of file tunnel_ruins.c.

Referenced by Event_MoveLadyStatue().

◆ gTunnelRuins_DoorCloseSteps

u16 gTunnelRuins_DoorCloseSteps[]
extern

Definition at line 1729 of file tunnel_ruins.c.

Referenced by Event_MoveLadyStatue().

◆ gTunnelRuinsEntrancesOther

struct SceneEntrance gTunnelRuinsEntrancesOther[]
extern

Definition at line 1736 of file tunnel_ruins.c.

Referenced by TunnelRuins_GetEntrances().

◆ gTunnelRuinsEntrances1

struct SceneEntrance gTunnelRuinsEntrances1[]
extern

Definition at line 1742 of file tunnel_ruins.c.

Referenced by TunnelRuins_GetEntrances().

◆ gTunnelRuinsEntrances2

struct SceneEntrance gTunnelRuinsEntrances2[]
extern

Definition at line 1765 of file tunnel_ruins.c.

Referenced by TunnelRuins_GetEntrances().

◆ gTunnelRuinsRegions2

struct SceneRegion gTunnelRuinsRegions2[]
extern

Definition at line 1787 of file tunnel_ruins.c.

Referenced by TunnelRuins_GetRegions().

◆ gTunnelRuinsExits

u32 gTunnelRuinsExits[]
extern

Definition at line 1794 of file tunnel_ruins.c.

Referenced by TunnelRuins_GetExits().

◆ gTunnelRuinsPlacements1

struct ScenePlacement gTunnelRuinsPlacements1[]
extern

Definition at line 1810 of file tunnel_ruins.c.

Referenced by TunnelRuins_GetPlacements().

◆ gTunnelRuinsPlacementsOther

struct ScenePlacement gTunnelRuinsPlacementsOther[]
extern

Definition at line 1845 of file tunnel_ruins.c.

Referenced by TunnelRuins_GetPlacements().

◆ gTunnelRuinsEvents1

struct SceneEvent gTunnelRuinsEvents1[]
extern

Definition at line 1882 of file tunnel_ruins.c.

Referenced by TunnelRuins_GetEvents().

◆ gTunnelRuinsEventsOther

struct SceneEvent gTunnelRuinsEventsOther[]
extern

Definition at line 1966 of file tunnel_ruins.c.

Referenced by TunnelRuins_GetEvents().