Alchemy
Loading...
Searching...
No Matches

lamakan_desert.h File Reference

Go to the source code of this file.

Functions

const struct SceneEntrance * LamakanDesert_GetEntrances (void)
 Where the party can enter each of the four maps.
const struct SceneRegion * LamakanDesert_GetRegions (void)
const u32 * LamakanDesert_GetExits (void)
 All four desert maps share the packed exit table.
const struct ScenePlacement * LamakanDesert_GetPlacements (void)
 The pits and the monster of each map.
const struct SceneEvent * LamakanDesert_GetEvents (void)
 The desert's triggers, the same on every map.
s32 LamakanDesert_Initialize (s32 a0, s32 a1)
 Entering the desert: the heat gauge (600 steps) starts on the first three maps, the patches Reveal uncovers are saved to the spare cells at 64, 126 or 64, 124, and the secrets are hidden.
void HeatGauge_Start (void)
 Loads the gauge's tiles, claims VRAM for them and starts drawing it.

Variables

const s32 gEffectScript0 []
const s32 gEffectScript1 []
const s32 gEffectScript2 []
const s32 gLamakanDesertRecoveryPoints1 []
 Each map's recovery points, as x, z pairs.
const s32 gLamakanDesertRecoveryPoints2 []
const s32 gLamakanDesertRecoveryPointsOther []
const s32 * gEffectScripts []
struct SceneEntrance gLamakanDesertEntrancesOther []
struct SceneEntrance gLamakanDesertEntrances1 []
struct SceneEntrance gLamakanDesertEntrances2 []
struct SceneEntrance gLamakanDesertEntrances3 []
struct SceneEntrance gLamakanDesertEntrances4 []
u32 gLamakanDesertExits []
struct ScenePlacement gLamakanDesertPlacementsOther []
struct ScenePlacement gLamakanDesertPlacements1 []
struct ScenePlacement gLamakanDesertPlacements2 []
struct ScenePlacement gLamakanDesertPlacements3 []
struct SceneEvent gLamakanDesertEvents []
s16 gHeatGaugeLevel
 The gauge: how full it is (0 to 120), how far it has slid onto the screen, and a flash as it fills.
s16 gHeatGaugeSlide
s16 gHeatGaugeFlash

Function Documentation

◆ LamakanDesert_GetEntrances()

const struct SceneEntrance * LamakanDesert_GetEntrances ( void )

Where the party can enter each of the four maps.

Definition at line 129 of file lamakan_desert.c.

Referenced by LamakanDesert_GetEntrances().

◆ LamakanDesert_GetRegions()

const struct SceneRegion * LamakanDesert_GetRegions ( void )

Definition at line 147 of file lamakan_desert.c.

Referenced by LamakanDesert_GetRegions().

◆ LamakanDesert_GetExits()

const u32 * LamakanDesert_GetExits ( void )

All four desert maps share the packed exit table.

Definition at line 150 of file lamakan_desert.c.

Referenced by LamakanDesert_GetExits().

◆ LamakanDesert_GetPlacements()

const struct ScenePlacement * LamakanDesert_GetPlacements ( void )

The pits and the monster of each map.

Arriving at the third map's entrance 5, the way back from the monster's battle, marks it beaten.

Definition at line 154 of file lamakan_desert.c.

Referenced by LamakanDesert_GetPlacements().

◆ LamakanDesert_GetEvents()

const struct SceneEvent * LamakanDesert_GetEvents ( void )

The desert's triggers, the same on every map.

Definition at line 192 of file lamakan_desert.c.

Referenced by LamakanDesert_GetEvents().

◆ LamakanDesert_Initialize()

s32 LamakanDesert_Initialize ( s32 a0,
s32 a1 )

Entering the desert: the heat gauge (600 steps) starts on the first three maps, the patches Reveal uncovers are saved to the spare cells at 64, 126 or 64, 124, and the secrets are hidden.

Definition at line 835 of file lamakan_desert.c.

Referenced by LamakanDesert_Initialize().

◆ HeatGauge_Start()

void HeatGauge_Start ( void )

Loads the gauge's tiles, claims VRAM for them and starts drawing it.

Definition at line 1044 of file lamakan_desert.c.

Referenced by HeatGauge_Start(), and LamakanDesert_Initialize().

Variable Documentation

◆ gEffectScript0

const s32 gEffectScript0[]
extern

Definition at line 1356 of file babi_lighthouse.c.

◆ gEffectScript1

const s32 gEffectScript1[]
extern

Definition at line 1361 of file babi_lighthouse.c.

◆ gEffectScript2

const s32 gEffectScript2[]
extern

Definition at line 1366 of file babi_lighthouse.c.

◆ gLamakanDesertRecoveryPoints1

const s32 gLamakanDesertRecoveryPoints1[]
extern

Each map's recovery points, as x, z pairs.

Definition at line 1081 of file lamakan_desert.c.

Referenced by CollapseFromHeat().

◆ gLamakanDesertRecoveryPoints2

const s32 gLamakanDesertRecoveryPoints2[]
extern

Definition at line 1087 of file lamakan_desert.c.

Referenced by CollapseFromHeat().

◆ gLamakanDesertRecoveryPointsOther

const s32 gLamakanDesertRecoveryPointsOther[]
extern

Definition at line 1095 of file lamakan_desert.c.

Referenced by CollapseFromHeat().

◆ gEffectScripts

const s32* gEffectScripts[]
extern

Definition at line 1371 of file babi_lighthouse.c.

◆ gLamakanDesertEntrancesOther

struct SceneEntrance gLamakanDesertEntrancesOther[]
extern

Definition at line 1106 of file lamakan_desert.c.

Referenced by LamakanDesert_GetEntrances().

◆ gLamakanDesertEntrances1

struct SceneEntrance gLamakanDesertEntrances1[]
extern

Definition at line 1112 of file lamakan_desert.c.

Referenced by LamakanDesert_GetEntrances().

◆ gLamakanDesertEntrances2

struct SceneEntrance gLamakanDesertEntrances2[]
extern

Definition at line 1119 of file lamakan_desert.c.

Referenced by LamakanDesert_GetEntrances().

◆ gLamakanDesertEntrances3

struct SceneEntrance gLamakanDesertEntrances3[]
extern

Definition at line 1126 of file lamakan_desert.c.

Referenced by LamakanDesert_GetEntrances().

◆ gLamakanDesertEntrances4

struct SceneEntrance gLamakanDesertEntrances4[]
extern

Definition at line 1136 of file lamakan_desert.c.

Referenced by LamakanDesert_GetEntrances().

◆ gLamakanDesertExits

u32 gLamakanDesertExits[]
extern

Definition at line 1145 of file lamakan_desert.c.

Referenced by LamakanDesert_GetExits().

◆ gLamakanDesertPlacementsOther

struct ScenePlacement gLamakanDesertPlacementsOther[]
extern

Definition at line 1165 of file lamakan_desert.c.

Referenced by LamakanDesert_GetPlacements().

◆ gLamakanDesertPlacements1

struct ScenePlacement gLamakanDesertPlacements1[]
extern

Definition at line 1169 of file lamakan_desert.c.

Referenced by LamakanDesert_GetPlacements().

◆ gLamakanDesertPlacements2

struct ScenePlacement gLamakanDesertPlacements2[]
extern

Definition at line 1177 of file lamakan_desert.c.

Referenced by LamakanDesert_GetPlacements().

◆ gLamakanDesertPlacements3

struct ScenePlacement gLamakanDesertPlacements3[]
extern

Definition at line 1193 of file lamakan_desert.c.

Referenced by LamakanDesert_GetPlacements().

◆ gLamakanDesertEvents

struct SceneEvent gLamakanDesertEvents[]
extern

Definition at line 1201 of file lamakan_desert.c.

Referenced by LamakanDesert_GetEvents().

◆ gHeatGaugeLevel

s16 gHeatGaugeLevel
extern

The gauge: how full it is (0 to 120), how far it has slid onto the screen, and a flash as it fills.

Definition at line 1244 of file lamakan_desert.c.

Referenced by HeatGauge_Draw().

◆ gHeatGaugeSlide

s16 gHeatGaugeSlide
extern

Definition at line 1246 of file lamakan_desert.c.

Referenced by HeatGauge_Draw(), and HeatGauge_Start().

◆ gHeatGaugeFlash

s16 gHeatGaugeFlash
extern

Definition at line 1248 of file lamakan_desert.c.

Referenced by HeatGauge_Draw().