Alchemy
Loading...
Searching...
No Matches

lunpa.h

Go to the documentation of this file.
1#ifndef ALCHEMY_UNIT_SCENE_LUNPA_H
2#define ALCHEMY_UNIT_SCENE_LUNPA_H
3
4#include "types.h"
5#include "field_scene.h"
6
7struct SceneEntrance;
8struct SceneEvent;
9struct ScenePlacement;
10struct SceneRegion;
11
12extern s32 gShortEffectScript[];
14extern s32 gLongEffectScript[];
15extern const s32 *gEffectScripts[];
16const struct SceneEntrance *Scene_GetEntrances(void);
17const struct SceneRegion *Scene_GetRegions(void);
18const u32 *Scene_GetExits(void);
19const struct ScenePlacement *Scene_GetPlacements(void);
20const struct SceneEvent *Scene_GetEvents(void);
22extern struct SceneEntrance gLunpaEntrances[];
23extern struct SceneEntrance gGateEntrances[];
24extern u32 gLunpaExits[];
25extern u32 gGateExits[];
26extern struct ScenePlacement gLunpaPlacements[];
27extern struct ScenePlacement gGatePlacements[];
28extern struct SceneEvent gLunpaSealedEvents[];
29extern struct SceneEvent gLunpaReopenedEvents[];
30extern struct SceneEvent gGateEvents[];
32
33#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.
const s32 * gEffectScripts[]
The scene table formats: entrances, exits, placements and events, and the macros that write them.
struct SceneEvent gGateEvents[]
Definition lunpa.c:1074
struct SceneEvent gLunpaReopenedEvents[]
Definition lunpa.c:1039
u32 gLunpaUnusedWord
Definition lunpa.c:1121
struct SceneEntrance gGateEntrances[]
Definition lunpa.c:889
s32 gMediumEffectScript[]
Definition lunpa.c:47
struct SceneEvent gLunpaSealedEvents[]
Definition lunpa.c:1014
struct ScenePlacement gLunpaPlacements[]
Definition lunpa.c:930
u32 gLunpaExits[]
Definition lunpa.c:901
struct SceneEntrance gLunpaEntrances[]
Definition lunpa.c:872
struct ScenePlacement gGatePlacements[]
Definition lunpa.c:960
s32 gShortEffectScript[]
How long an effect of common/effect_spawn.h lasts: 22, 44 or 126 frames, then it moves away and is fr...
Definition lunpa.c:41
u32 gGateExits[]
Definition lunpa.c:921
s32 gLongEffectScript[]
Definition lunpa.c:53
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