Alchemy
Loading...
Searching...
No Matches

lamakan_desert.h

Go to the documentation of this file.
1#ifndef ALCHEMY_UNIT_SCENE_LAMAKAN_DESERT_H
2#define ALCHEMY_UNIT_SCENE_LAMAKAN_DESERT_H
3
4#include "types.h"
5#include "field_scene.h"
6
7struct SceneEntrance;
8struct SceneEvent;
9struct ScenePlacement;
10struct SceneRegion;
11
13const struct SceneRegion *LamakanDesert_GetRegions(void);
14const u32 *LamakanDesert_GetExits(void);
16const struct SceneEvent *LamakanDesert_GetEvents(void);
18void HeatGauge_Start(void);
19extern const s32 gEffectScript0[];
20extern const s32 gEffectScript1[];
21extern const s32 gEffectScript2[];
25extern const s32 *gEffectScripts[];
36extern struct SceneEvent gLamakanDesertEvents[];
37extern s16 gHeatGaugeLevel;
38extern s16 gHeatGaugeSlide;
39extern s16 gHeatGaugeFlash;
40
41#endif
s32 gEffectScript0[]
const s32 * gEffectScripts[]
s32 gEffectScript1[]
s32 gEffectScript2[]
The scene table formats: entrances, exits, placements and events, and the macros that write them.
const u32 * LamakanDesert_GetExits(void)
All four desert maps share the packed exit table.
const s32 gLamakanDesertRecoveryPoints2[]
s16 gHeatGaugeSlide
const struct SceneRegion * LamakanDesert_GetRegions(void)
struct SceneEntrance gLamakanDesertEntrancesOther[]
struct ScenePlacement gLamakanDesertPlacements3[]
const struct SceneEvent * LamakanDesert_GetEvents(void)
The desert's triggers, the same on every map.
struct SceneEntrance gLamakanDesertEntrances3[]
const struct SceneEntrance * LamakanDesert_GetEntrances(void)
Where the party can enter each of the four maps.
s32 LamakanDesert_Initialize(s32 a0, s32 a1)
Entering the desert: the heat gauge (600 steps) starts on the first three maps, the patches Reveal un...
const s32 gLamakanDesertRecoveryPoints1[]
Each map's recovery points, as x, z pairs.
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.
u32 gLamakanDesertExits[]
struct SceneEntrance gLamakanDesertEntrances1[]
const struct ScenePlacement * LamakanDesert_GetPlacements(void)
The pits and the monster of each map.
struct ScenePlacement gLamakanDesertPlacements1[]
const s32 gLamakanDesertRecoveryPointsOther[]
struct SceneEvent gLamakanDesertEvents[]
struct SceneEntrance gLamakanDesertEntrances2[]
void HeatGauge_Start(void)
Loads the gauge's tiles, claims VRAM for them and starts drawing it.
struct SceneEntrance gLamakanDesertEntrances4[]
s16 gHeatGaugeFlash
struct ScenePlacement gLamakanDesertPlacementsOther[]
struct ScenePlacement gLamakanDesertPlacements2[]
A scene entrance: where and facing which way the party arrives, and the camera's bounds there (-1 for...
Definition field_scene.h:54
A scene event: its kind and detail, the trigger it answers, its condition and its value (a message or...
An actor a scene places: its sprite, the condition for placing it, how it behaves,...
Definition field_scene.h:81
A scene's exit region: the box that, while its condition holds, takes the party leader out through it...
The integer types, TRUE, UNUSED and the fixed-address macros.
signed int s32
Definition types.h:14
unsigned int u32
Definition types.h:15
signed short s16
Definition types.h:12