Alchemy
Loading...
Searching...
No Matches

altin_peak.h File Reference

Go to the source code of this file.

Functions

const struct SceneEntrance * Scene_GetEntrances (void)
const struct SceneRegion * Scene_GetRegions (void)
const u32 * Scene_GetExits (void)
 Both scenes share one exit table.
const struct ScenePlacement * Scene_GetPlacements (void)
const struct SceneEvent * Scene_GetEvents (void)
s32 Scene_Initialize (void)
 Sets up whichever scene is being entered and runs its arrival events.

Variables

s8 gAltinPeak_PaletteScript []
 The water's palette cycle: pairs of a color offset and the frames it holds, repeating from the top at -1.
s32 gAltinPeak_FaceLeaderScript []
 Room 1's beast keeps turning to face the party leader.
s32 gAltinPeak_PuddleGrowScript []
 The new puddle grows to full size over 108 frames.
s32 gAltinPeak_BoulderPath []
 Room 9's boulder rolls straight down the path, and marks its arrival.
s32 gAltinPeak_LeaderFleePath []
 The party leader flees down the winding path ahead of the boulder, marks the arrival, steps aside and turns round.
s32 gAltinPeak_DebrisScript []
 A piece of debris flies for 60 frames and is freed.
s32 gAltinPeak_GaretScript []
 Garet, Ivan and Mia step out beside the leader after the Hydros battle.
s32 gAltinPeak_IvanScript []
s32 gAltinPeak_MiaScript []
s32 gAltinPeak_StatueSinkScript []
 The guardian statue and its shadow flatten into the floor over 60 frames.
s32 gAltinPeak_RejoinScript []
 Garet, Ivan and Mia walk back to the leader and rejoin the party.
struct SceneEntrance gAltinPeak_EntrancesOther []
struct SceneEntrance gAltinPeak_Entrances1 []
struct SceneEntrance gAltinPeak_Entrances2 []
struct SceneEntrance gAltinPeak_Entrances3 []
struct SceneEntrance gAltinPeak_Entrances4 []
struct SceneEntrance gAltinPeak_Entrances5 []
struct SceneEntrance gAltinPeak_Entrances6 []
struct SceneEntrance gAltinPeak_Entrances7 []
struct SceneEntrance gAltinPeak_Entrances8 []
struct SceneEntrance gAltinPeak_Entrances9 []
struct SceneEntrance gAltinPeak_Entrances10 []
struct SceneEntrance gAltinPeak_Entrances11 []
struct SceneRegion gAltinPeak_Regions9 []
struct SceneRegion gAltinPeak_Regions10 []
u32 gAltinPeak_Exits []
struct ScenePlacement gAltinPeak_PlacementsOther []
struct ScenePlacement gAltinPeak_Placements1 []
struct ScenePlacement gAltinPeak_Placements3 []
struct ScenePlacement gAltinPeak_Placements5 []
struct ScenePlacement gAltinPeak_Placements6 []
struct ScenePlacement gAltinPeak_Placements7 []
struct ScenePlacement gAltinPeak_Placements8 []
struct ScenePlacement gAltinPeak_Placements9 []
struct ScenePlacement gAltinPeak_Placements10 []
struct ScenePlacement gAltinPeak_Placements11 []
struct SceneEvent gAltinPeak_EventsOther []
struct SceneEvent gAltinPeak_Events1 []
struct SceneEvent gAltinPeak_Events1Drained []
struct SceneEvent gAltinPeak_Events2 []
struct SceneEvent gAltinPeak_Events3 []
struct SceneEvent gAltinPeak_Events4 []
struct SceneEvent gAltinPeak_Events5 []
struct SceneEvent gAltinPeak_Events6 []
struct SceneEvent gAltinPeak_Events7 []
struct SceneEvent gAltinPeak_Events8 []
struct SceneEvent gAltinPeak_Events9 []
struct SceneEvent gAltinPeak_Events10 []
struct SceneEvent gAltinPeak_Events11 []
s32 gAltinPeak_RumbleTicks
 Frames since the statue's last rumble.
u32 gAltinPeak_RollRadii []
 The log's speed factor by its height against where it set off: 2 to the power i / 16 for i from 0 to 32, in 16.16.

Function Documentation

◆ Scene_GetEntrances()

const struct SceneEntrance * Scene_GetEntrances ( void )

Definition at line 150 of file alpine_crossing_lama_temple.c.

◆ Scene_GetRegions()

const struct SceneRegion * Scene_GetRegions ( void )

Definition at line 157 of file alpine_crossing_lama_temple.c.

◆ Scene_GetExits()

const u32 * Scene_GetExits ( void )

Both scenes share one exit table.

Definition at line 160 of file alpine_crossing_lama_temple.c.

◆ 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_Initialize()

s32 Scene_Initialize ( void )

Sets up whichever scene is being entered and runs its arrival events.

Definition at line 804 of file alpine_crossing_lama_temple.c.

Variable Documentation

◆ gAltinPeak_PaletteScript

s8 gAltinPeak_PaletteScript[]
extern

The water's palette cycle: pairs of a color offset and the frames it holds, repeating from the top at -1.

Definition at line 2385 of file altin_peak.c.

Referenced by AltinPeak_StepPaletteAnim().

◆ gAltinPeak_FaceLeaderScript

s32 gAltinPeak_FaceLeaderScript[]
extern

Room 1's beast keeps turning to face the party leader.

Definition at line 2394 of file altin_peak.c.

Referenced by AltinPeak_RestoreRoom1(), and AltinPeak_ShowFirstBeastRoute().

◆ gAltinPeak_PuddleGrowScript

s32 gAltinPeak_PuddleGrowScript[]
extern

The new puddle grows to full size over 108 frames.

Definition at line 2400 of file altin_peak.c.

Referenced by AltinPeak_DrainFirstWater().

◆ gAltinPeak_BoulderPath

s32 gAltinPeak_BoulderPath[]
extern

Room 9's boulder rolls straight down the path, and marks its arrival.

Definition at line 2409 of file altin_peak.c.

Referenced by AltinPeak_RunBoulderChase().

◆ gAltinPeak_LeaderFleePath

s32 gAltinPeak_LeaderFleePath[]
extern

The party leader flees down the winding path ahead of the boulder, marks the arrival, steps aside and turns round.

Definition at line 2426 of file altin_peak.c.

Referenced by AltinPeak_RunBoulderChase().

◆ gAltinPeak_DebrisScript

s32 gAltinPeak_DebrisScript[]
extern

A piece of debris flies for 60 frames and is freed.

Definition at line 2487 of file altin_peak.c.

Referenced by AltinPeak_SpawnDebris().

◆ gAltinPeak_GaretScript

s32 gAltinPeak_GaretScript[]
extern

Garet, Ivan and Mia step out beside the leader after the Hydros battle.

Definition at line 2497 of file altin_peak.c.

Referenced by AltinPeak_CelebrateHydrosVictory().

◆ gAltinPeak_IvanScript

s32 gAltinPeak_IvanScript[]
extern

Definition at line 2506 of file altin_peak.c.

Referenced by AltinPeak_CelebrateHydrosVictory().

◆ gAltinPeak_MiaScript

s32 gAltinPeak_MiaScript[]
extern

Definition at line 2515 of file altin_peak.c.

Referenced by AltinPeak_CelebrateHydrosVictory().

◆ gAltinPeak_StatueSinkScript

s32 gAltinPeak_StatueSinkScript[]
extern

The guardian statue and its shadow flatten into the floor over 60 frames.

Definition at line 2525 of file altin_peak.c.

Referenced by AltinPeak_CelebrateHydrosVictory().

◆ gAltinPeak_RejoinScript

s32 gAltinPeak_RejoinScript[]
extern

Garet, Ivan and Mia walk back to the leader and rejoin the party.

Definition at line 2536 of file altin_peak.c.

Referenced by AltinPeak_CelebrateHydrosVictory().

◆ gAltinPeak_EntrancesOther

struct SceneEntrance gAltinPeak_EntrancesOther[]
extern

Definition at line 2545 of file altin_peak.c.

Referenced by Scene_GetEntrances().

◆ gAltinPeak_Entrances1

struct SceneEntrance gAltinPeak_Entrances1[]
extern

Definition at line 2550 of file altin_peak.c.

Referenced by Scene_GetEntrances().

◆ gAltinPeak_Entrances2

struct SceneEntrance gAltinPeak_Entrances2[]
extern

Definition at line 2558 of file altin_peak.c.

Referenced by Scene_GetEntrances().

◆ gAltinPeak_Entrances3

struct SceneEntrance gAltinPeak_Entrances3[]
extern

Definition at line 2565 of file altin_peak.c.

Referenced by Scene_GetEntrances().

◆ gAltinPeak_Entrances4

struct SceneEntrance gAltinPeak_Entrances4[]
extern

Definition at line 2575 of file altin_peak.c.

Referenced by Scene_GetEntrances().

◆ gAltinPeak_Entrances5

struct SceneEntrance gAltinPeak_Entrances5[]
extern

Definition at line 2587 of file altin_peak.c.

Referenced by Scene_GetEntrances().

◆ gAltinPeak_Entrances6

struct SceneEntrance gAltinPeak_Entrances6[]
extern

Definition at line 2595 of file altin_peak.c.

Referenced by Scene_GetEntrances().

◆ gAltinPeak_Entrances7

struct SceneEntrance gAltinPeak_Entrances7[]
extern

Definition at line 2606 of file altin_peak.c.

Referenced by Scene_GetEntrances().

◆ gAltinPeak_Entrances8

struct SceneEntrance gAltinPeak_Entrances8[]
extern

Definition at line 2614 of file altin_peak.c.

Referenced by Scene_GetEntrances().

◆ gAltinPeak_Entrances9

struct SceneEntrance gAltinPeak_Entrances9[]
extern

Definition at line 2624 of file altin_peak.c.

Referenced by Scene_GetEntrances().

◆ gAltinPeak_Entrances10

struct SceneEntrance gAltinPeak_Entrances10[]
extern

Definition at line 2635 of file altin_peak.c.

Referenced by Scene_GetEntrances().

◆ gAltinPeak_Entrances11

struct SceneEntrance gAltinPeak_Entrances11[]
extern

Definition at line 2643 of file altin_peak.c.

Referenced by Scene_GetEntrances().

◆ gAltinPeak_Regions9

struct SceneRegion gAltinPeak_Regions9[]
extern

Definition at line 2652 of file altin_peak.c.

Referenced by Scene_GetRegions().

◆ gAltinPeak_Regions10

struct SceneRegion gAltinPeak_Regions10[]
extern

Definition at line 2662 of file altin_peak.c.

Referenced by Scene_GetRegions().

◆ gAltinPeak_Exits

u32 gAltinPeak_Exits[]
extern

Definition at line 2671 of file altin_peak.c.

Referenced by Scene_GetExits().

◆ gAltinPeak_PlacementsOther

struct ScenePlacement gAltinPeak_PlacementsOther[]
extern

Definition at line 2725 of file altin_peak.c.

Referenced by Scene_GetPlacements().

◆ gAltinPeak_Placements1

struct ScenePlacement gAltinPeak_Placements1[]
extern

Definition at line 2729 of file altin_peak.c.

Referenced by Scene_GetPlacements().

◆ gAltinPeak_Placements3

struct ScenePlacement gAltinPeak_Placements3[]
extern

Definition at line 2739 of file altin_peak.c.

Referenced by Scene_GetPlacements().

◆ gAltinPeak_Placements5

struct ScenePlacement gAltinPeak_Placements5[]
extern

Definition at line 2749 of file altin_peak.c.

Referenced by Scene_GetPlacements().

◆ gAltinPeak_Placements6

struct ScenePlacement gAltinPeak_Placements6[]
extern

Definition at line 2759 of file altin_peak.c.

Referenced by Scene_GetPlacements().

◆ gAltinPeak_Placements7

struct ScenePlacement gAltinPeak_Placements7[]
extern

Definition at line 2767 of file altin_peak.c.

Referenced by Scene_GetPlacements().

◆ gAltinPeak_Placements8

struct ScenePlacement gAltinPeak_Placements8[]
extern

Definition at line 2784 of file altin_peak.c.

Referenced by Scene_GetPlacements().

◆ gAltinPeak_Placements9

struct ScenePlacement gAltinPeak_Placements9[]
extern

Definition at line 2790 of file altin_peak.c.

Referenced by Scene_GetPlacements().

◆ gAltinPeak_Placements10

struct ScenePlacement gAltinPeak_Placements10[]
extern

Definition at line 2801 of file altin_peak.c.

Referenced by Scene_GetPlacements().

◆ gAltinPeak_Placements11

struct ScenePlacement gAltinPeak_Placements11[]
extern

Definition at line 2812 of file altin_peak.c.

Referenced by Scene_GetPlacements().

◆ gAltinPeak_EventsOther

struct SceneEvent gAltinPeak_EventsOther[]
extern

Definition at line 2820 of file altin_peak.c.

Referenced by Scene_GetEvents().

◆ gAltinPeak_Events1

struct SceneEvent gAltinPeak_Events1[]
extern

Definition at line 2824 of file altin_peak.c.

Referenced by Scene_GetEvents().

◆ gAltinPeak_Events1Drained

struct SceneEvent gAltinPeak_Events1Drained[]
extern

Definition at line 2834 of file altin_peak.c.

Referenced by AltinPeak_AwardFrostJewelAndDrain(), and Scene_GetEvents().

◆ gAltinPeak_Events2

struct SceneEvent gAltinPeak_Events2[]
extern

Definition at line 2842 of file altin_peak.c.

Referenced by Scene_GetEvents().

◆ gAltinPeak_Events3

struct SceneEvent gAltinPeak_Events3[]
extern

Definition at line 2848 of file altin_peak.c.

Referenced by Scene_GetEvents().

◆ gAltinPeak_Events4

struct SceneEvent gAltinPeak_Events4[]
extern

Definition at line 2865 of file altin_peak.c.

Referenced by Scene_GetEvents().

◆ gAltinPeak_Events5

struct SceneEvent gAltinPeak_Events5[]
extern

Definition at line 2876 of file altin_peak.c.

Referenced by Scene_GetEvents().

◆ gAltinPeak_Events6

struct SceneEvent gAltinPeak_Events6[]
extern

Definition at line 2891 of file altin_peak.c.

Referenced by Scene_GetEvents().

◆ gAltinPeak_Events7

struct SceneEvent gAltinPeak_Events7[]
extern

Definition at line 2905 of file altin_peak.c.

Referenced by Scene_GetEvents().

◆ gAltinPeak_Events8

struct SceneEvent gAltinPeak_Events8[]
extern

Definition at line 2927 of file altin_peak.c.

Referenced by Scene_GetEvents().

◆ gAltinPeak_Events9

struct SceneEvent gAltinPeak_Events9[]
extern

Definition at line 2939 of file altin_peak.c.

Referenced by Scene_GetEvents().

◆ gAltinPeak_Events10

struct SceneEvent gAltinPeak_Events10[]
extern

Definition at line 2952 of file altin_peak.c.

Referenced by Scene_GetEvents().

◆ gAltinPeak_Events11

struct SceneEvent gAltinPeak_Events11[]
extern

Definition at line 2960 of file altin_peak.c.

Referenced by Scene_GetEvents().

◆ gAltinPeak_RumbleTicks

s32 gAltinPeak_RumbleTicks
extern

Frames since the statue's last rumble.

Definition at line 2973 of file altin_peak.c.

Referenced by AltinPeak_PlayHydrosRumble().

◆ gAltinPeak_RollRadii

u32 gAltinPeak_RollRadii[]
extern

The log's speed factor by its height against where it set off: 2 to the power i / 16 for i from 0 to 32, in 16.16.

Definition at line 2977 of file altin_peak.c.

Referenced by AltinPeak_AdvanceLog().