Alchemy
Loading...
Searching...
No Matches

lunpa_suhalla.h

Go to the documentation of this file.
1#ifndef ALCHEMY_UNIT_SCENE_LUNPA_SUHALLA_H
2#define ALCHEMY_UNIT_SCENE_LUNPA_SUHALLA_H
3
4#include "types.h"
5#include "field_scene.h"
6
7struct SceneEntrance;
8struct SceneEvent;
9struct ScenePlacement;
10struct SceneRegion;
11
12extern const struct SceneEntrance gInteriorEntrances[];
13extern const u32 gInteriorExits[];
14extern const struct ScenePlacement gInteriorPlacements[];
15extern const struct SceneEvent gInteriorSealedEvents[];
16extern const struct SceneEvent gInteriorReopenedEvents[];
17extern const struct SceneEvent gSuhallaGateHouseEvents[];
18const struct SceneEntrance *Scene_GetEntrances(void);
19const struct SceneRegion *Scene_GetRegions(void);
20const u32 *Scene_GetExits(void);
21const struct ScenePlacement *Scene_GetPlacements(void);
22const struct SceneEvent *Scene_GetEvents(void);
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.
const struct ScenePlacement gInteriorPlacements[]
const struct SceneEvent gInteriorSealedEvents[]
const u32 gInteriorExits[]
const struct SceneEntrance gInteriorEntrances[]
const struct SceneEvent gInteriorReopenedEvents[]
const struct SceneEvent gSuhallaGateHouseEvents[]
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