Alchemy
Loading...
Searching...
No Matches

altin.h

Go to the documentation of this file.
1#ifndef ALCHEMY_UNIT_SCENE_ALTIN_H
2#define ALCHEMY_UNIT_SCENE_ALTIN_H
3
4#include "types.h"
5#include "field_event.h"
6#include "field_scene.h"
7
8struct SceneEntrance;
9struct SceneEvent;
10struct ScenePlacement;
11struct SceneRegion;
12/// Each village door the party can walk through: its opening picture and the
13/// cell it is drawn at.
14struct DoorAnim {
15 const u16 *steps;
18};
19
20const struct SceneEntrance *Scene_GetEntrances(void);
21const struct SceneRegion *Scene_GetRegions(void);
22const u32 *Scene_GetExits(void);
23const struct ScenePlacement *Scene_GetPlacements(void);
24const struct SceneEvent *Scene_GetEvents(void);
30extern u32 gAltin_Exits[];
34extern struct SceneEvent gAltinOther_Events[];
35extern struct SceneEvent gAltinVillage_Events[];
36extern struct SceneEvent gAltinHouses_Events[];
44extern struct DoorAnim gAltinVillage_Doors[];
45
46#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.
struct ScenePlacement gAltinHouses_Placements[]
Definition altin.c:930
struct ScenePlacement gAltinOther_Placements[]
Definition altin.c:887
u16 gAltinVillage_MineDoorCells[]
The opening pictures of the village's doors, two cells square.
Definition altin.c:1162
struct DoorAnim gAltinVillage_Doors[]
Each door trigger's opening picture and cell, from trigger 2.
Definition altin.c:1207
u16 gAltinVillage_DoorCellsD[]
Definition altin.c:1194
struct SceneEntrance gAltinOther_Entrances[]
Definition altin.c:838
u16 gAltinVillage_DoorCellsG[]
Definition altin.c:1182
u16 gAltinVillage_DoorCellsE[]
Definition altin.c:1200
struct SceneEvent gAltinHouses_Events[]
Definition altin.c:1051
struct SceneEntrance gAltinHouses_Entrances[]
Definition altin.c:861
u16 gAltinVillage_DoorCellsF[]
Definition altin.c:1176
u16 gAltinVillage_DoorCellsA[]
Definition altin.c:1170
u32 gAltin_Exits[]
Definition altin.c:875
s32 gAltinHouses_CookScript[]
The cook from Xian paces between his pots, nodding over each.
Definition altin.c:804
u16 gAltinVillage_DoorCellsC[]
Definition altin.c:1188
struct SceneEvent gAltinVillage_Events[]
Definition altin.c:964
struct SceneEvent gAltinOther_Events[]
Definition altin.c:960
struct ScenePlacement gAltinVillage_Placements[]
Definition altin.c:891
struct SceneEntrance gAltinVillage_Entrances[]
Definition altin.c:843
The scene script layer: the engine services a scene's events call, declared once (Engine_EventBegin,...
The scene table formats: entrances, exits, placements and events, and the macros that write them.
Each village door the party can walk through: its opening picture and the cell it is drawn at.
Definition altin.h:14
s16 y
Definition altin.h:17
const u16 * steps
Definition altin.h:15
s16 x
Definition altin.h:16
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
unsigned short u16
Definition types.h:13