Alchemy
Loading...
Searching...
No Matches

west_lunpa_cave.h

Go to the documentation of this file.
1#ifndef ALCHEMY_UNIT_SCENE_WEST_LUNPA_CAVE_H
2#define ALCHEMY_UNIT_SCENE_WEST_LUNPA_CAVE_H
3
4#include "types.h"
5#include "field_scene.h"
6
7struct SceneEntrance;
8struct SceneEvent;
9struct ScenePlacement;
10struct SceneRegion;
11
12const struct SceneEntrance *Scene_GetEntrances(void);
13const struct SceneRegion *Scene_GetRegions(void);
14const u32 *Scene_GetExits(void);
15const struct ScenePlacement *Scene_GetPlacements(void);
16const struct SceneEvent *Scene_GetEvents(void);
18extern const struct SceneEntrance gCaveEntrances[];
19extern const u32 gCaveExits[];
20extern const struct ScenePlacement gCaveNoPlacements[];
21extern const struct ScenePlacement gCavePlacements[];
22extern const struct SceneEvent gCaveNoEvents[];
23extern const struct SceneEvent gCaveEvents[];
24
25#endif
const struct ScenePlacement * Scene_GetPlacements(void)
const struct SceneEntrance * Scene_GetEntrances(void)
const struct SceneEvent * Scene_GetEvents(void)
const u32 * Scene_GetExits(void)
Both scenes share one exit table.
const struct SceneRegion * Scene_GetRegions(void)
s32 Scene_Initialize(void)
Sets up whichever scene is being entered and runs its arrival events.
The scene table formats: entrances, exits, placements and events, and the macros that write them.
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
const struct ScenePlacement gCaveNoPlacements[]
const struct ScenePlacement gCavePlacements[]
const struct SceneEvent gCaveNoEvents[]
const struct SceneEntrance gCaveEntrances[]
const u32 gCaveExits[]
const struct SceneEvent gCaveEvents[]