Alchemy
Loading...
Searching...
No Matches

altmiller_cave.h File Reference

Go to the source code of this file.

Functions

const struct SceneEntrance * AltmillerCave_GetEntrances (void)
 The six rooms share one entrance table.
const struct SceneRegion * AltmillerCave_GetRegions (void)
const u32 * AltmillerCave_GetExits (void)
const struct ScenePlacement * AltmillerCave_GetPlacements (void)
const struct SceneEvent * AltmillerCave_GetEvents (void)
s32 AltmillerCave_Initialize (void)
 Sets up the room being entered: an entry from outside the cave takes the room's first entrance; room 1 picks its darkness from the entrance; room 2's Babi is invisible until rescued; room 4's obstacles and pillar and room 6's obstacles, lights and rocks are restored.

Variables

s32 gStagedActor_DirectionSteps []
 Pixel step by direction: X in the upper halfword, Z in the lower.
u32 gStagedActor_FootprintKinds []
s32 gStagedActor_FootprintBounds []
struct LightWheel * gAltmillerCave_LightWheel
struct SceneEntrance gAltmillerCave_Entrances []
u32 gAltmillerCave_Exits []
struct ScenePlacement gAltmillerCave_PlacementsOther []
struct ScenePlacement gAltmillerCave_Placements2 []
struct ScenePlacement gAltmillerCave_Placements4 []
struct ScenePlacement gAltmillerCave_Placements6 []
u32 gAltmillerCave_PulseScales []
 The sizes the light at the top pulses through.
s32 gAltmillerCave_GuardsArrivePath []
 The two soldiers walk in to Babi.
s32 gAltmillerCave_SecondGuardLeavePath []
 Babi and the soldiers walk out of the room, each by his own path.
s32 gAltmillerCave_FirstGuardLeavePath []
s32 gAltmillerCave_BabiLeavePath []
struct SceneEvent gAltmillerCave_EventsOther []
struct SceneEvent gAltmillerCave_Events2 []
struct SceneEvent gAltmillerCave_Events3 []
struct SceneEvent gAltmillerCave_Events4 []
struct SceneEvent gAltmillerCave_Events5 []
struct SceneEvent gAltmillerCave_Events6 []

Function Documentation

◆ AltmillerCave_GetEntrances()

const struct SceneEntrance * AltmillerCave_GetEntrances ( void )

The six rooms share one entrance table.

Definition at line 170 of file altmiller_cave.c.

Referenced by AltmillerCave_GetEntrances().

◆ AltmillerCave_GetRegions()

const struct SceneRegion * AltmillerCave_GetRegions ( void )

Definition at line 174 of file altmiller_cave.c.

Referenced by AltmillerCave_GetRegions().

◆ AltmillerCave_GetExits()

const u32 * AltmillerCave_GetExits ( void )

Definition at line 176 of file altmiller_cave.c.

Referenced by AltmillerCave_GetExits().

◆ AltmillerCave_GetPlacements()

const struct ScenePlacement * AltmillerCave_GetPlacements ( void )

Definition at line 178 of file altmiller_cave.c.

Referenced by AltmillerCave_GetPlacements().

◆ AltmillerCave_GetEvents()

const struct SceneEvent * AltmillerCave_GetEvents ( void )

Definition at line 1849 of file altmiller_cave.c.

Referenced by AltmillerCave_GetEvents().

◆ AltmillerCave_Initialize()

s32 AltmillerCave_Initialize ( void )

Sets up the room being entered: an entry from outside the cave takes the room's first entrance; room 1 picks its darkness from the entrance; room 2's Babi is invisible until rescued; room 4's obstacles and pillar and room 6's obstacles, lights and rocks are restored.

Returns 0.

Definition at line 1892 of file altmiller_cave.c.

Referenced by AltmillerCave_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.

◆ gAltmillerCave_LightWheel

struct LightWheel* gAltmillerCave_LightWheel
extern

◆ gAltmillerCave_Entrances

struct SceneEntrance gAltmillerCave_Entrances[]
extern

Definition at line 2151 of file altmiller_cave.c.

Referenced by AltmillerCave_GetEntrances().

◆ gAltmillerCave_Exits

u32 gAltmillerCave_Exits[]
extern

Definition at line 2173 of file altmiller_cave.c.

Referenced by AltmillerCave_GetExits().

◆ gAltmillerCave_PlacementsOther

struct ScenePlacement gAltmillerCave_PlacementsOther[]
extern

Definition at line 2184 of file altmiller_cave.c.

Referenced by AltmillerCave_GetPlacements().

◆ gAltmillerCave_Placements2

struct ScenePlacement gAltmillerCave_Placements2[]
extern

Definition at line 2188 of file altmiller_cave.c.

Referenced by AltmillerCave_GetPlacements().

◆ gAltmillerCave_Placements4

struct ScenePlacement gAltmillerCave_Placements4[]
extern

Definition at line 2206 of file altmiller_cave.c.

Referenced by AltmillerCave_GetPlacements().

◆ gAltmillerCave_Placements6

struct ScenePlacement gAltmillerCave_Placements6[]
extern

Definition at line 2222 of file altmiller_cave.c.

Referenced by AltmillerCave_GetPlacements().

◆ gAltmillerCave_PulseScales

u32 gAltmillerCave_PulseScales[]
extern

The sizes the light at the top pulses through.

Definition at line 2253 of file altmiller_cave.c.

Referenced by AltmillerCave_PulseLight().

◆ gAltmillerCave_GuardsArrivePath

s32 gAltmillerCave_GuardsArrivePath[]
extern

The two soldiers walk in to Babi.

Definition at line 2261 of file altmiller_cave.c.

Referenced by AltmillerCave_RestoreBabiAndInviteParty().

◆ gAltmillerCave_SecondGuardLeavePath

s32 gAltmillerCave_SecondGuardLeavePath[]
extern

Babi and the soldiers walk out of the room, each by his own path.

Definition at line 2274 of file altmiller_cave.c.

Referenced by AltmillerCave_RestoreBabiAndInviteParty().

◆ gAltmillerCave_FirstGuardLeavePath

s32 gAltmillerCave_FirstGuardLeavePath[]
extern

Definition at line 2286 of file altmiller_cave.c.

Referenced by AltmillerCave_RestoreBabiAndInviteParty().

◆ gAltmillerCave_BabiLeavePath

s32 gAltmillerCave_BabiLeavePath[]
extern

Definition at line 2300 of file altmiller_cave.c.

Referenced by AltmillerCave_RestoreBabiAndInviteParty().

◆ gAltmillerCave_EventsOther

struct SceneEvent gAltmillerCave_EventsOther[]
extern

Definition at line 2315 of file altmiller_cave.c.

Referenced by AltmillerCave_GetEvents().

◆ gAltmillerCave_Events2

struct SceneEvent gAltmillerCave_Events2[]
extern

Definition at line 2334 of file altmiller_cave.c.

Referenced by AltmillerCave_GetEvents().

◆ gAltmillerCave_Events3

struct SceneEvent gAltmillerCave_Events3[]
extern

Definition at line 2353 of file altmiller_cave.c.

Referenced by AltmillerCave_GetEvents().

◆ gAltmillerCave_Events4

struct SceneEvent gAltmillerCave_Events4[]
extern

Definition at line 2363 of file altmiller_cave.c.

Referenced by AltmillerCave_GetEvents().

◆ gAltmillerCave_Events5

struct SceneEvent gAltmillerCave_Events5[]
extern

Definition at line 2379 of file altmiller_cave.c.

Referenced by AltmillerCave_GetEvents().

◆ gAltmillerCave_Events6

struct SceneEvent gAltmillerCave_Events6[]
extern

Definition at line 2390 of file altmiller_cave.c.

Referenced by AltmillerCave_GetEvents().