Alchemy
Loading...
Searching...
No Matches

venus_lighthouse.h

Go to the documentation of this file.
1#ifndef ALCHEMY_UNIT_SCENE_VENUS_LIGHTHOUSE_H
2#define ALCHEMY_UNIT_SCENE_VENUS_LIGHTHOUSE_H
3
4#include "types.h"
5#include "field.h"
6#include "field_scene.h"
7
8struct SceneEntrance;
9struct SceneEvent;
10struct ScenePlacement;
11
12const struct SceneEntrance *Scene_GetEntrances(void);
13const struct SceneRegion *SceneData_ReturnZero(void);
15const struct ScenePlacement *Scene_GetPlacements(void);
16const struct SceneEvent *Scene_GetEvents(void);
18extern s32 gEffectScript0[];
19extern s32 gEffectScript1[];
20extern s32 gEffectScript2[];
22extern struct SwitchCell gVenusSwitchCells[];
23extern u32 gVenusBlockHeights[];
24extern struct SwitchCell gVenusPillarCells[];
29extern u8 gVenusSwitchShape0[];
30extern u8 gVenusSwitchShape1[];
31extern u8 gVenusSwitchShape2[];
32extern u8 gVenusSwitchShape3[];
33extern u8 gVenusPillarShape0[];
34extern u8 gVenusPillarShape1[];
35extern u8 gVenusPillarShape2[];
36extern u8 gVenusPillarShape3[];
37extern u8 gVenusPillarShape4[];
38extern u8 gVenusPillarShape5[];
39extern u8 gVenusPillarShape6[];
40extern const s32 *gEffectScripts[];
45extern s32 gVenusSprayScript[];
52extern s32 gVenusPushScript[];
75extern u16 gVenusPushCells[];
76extern u16 gVenusSettleCells[];
77extern u16 gVenusGateCells[];
98extern const u8 *gVenusSwitchShapes[];
104extern const u8 *gVenusPillarShapes[];
114
115#endif
const struct ScenePlacement * Scene_GetPlacements(void)
const struct SceneEntrance * Scene_GetEntrances(void)
const struct SceneEvent * Scene_GetEvents(void)
s32 gStagedActor_DirectionSteps[]
Pixel step by direction: X in the upper halfword, Z in the lower.
s32 gEffectScript0[]
const s32 * gEffectScripts[]
s32 gEffectScript1[]
s32 gEffectScript2[]
The scene table formats: entrances, exits, placements and events, and the macros that write them.
s32 SceneData_ReturnZero(void)
Definition level.c:51
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...
A Venus Lighthouse switch or pillar socket's map cell.
Definition field.h:89
The integer types, TRUE, UNUSED and the fixed-address macros.
signed int s32
Definition types.h:14
unsigned int u32
Definition types.h:15
unsigned short u16
Definition types.h:13
unsigned char u8
Definition types.h:11
struct SceneEntrance gVenusLighthouseEntrances1[]
struct SceneEvent gVenusLighthouseEvents2[]
struct SceneEvent gVenusLighthouseEvents3[]
u32 gVenusLighthousePrimaryTable[]
u16 gVenusSettleCells[]
s32 gVenusPillarPushScript0_0[]
s32 gVenusSwitchPushScript2_0[]
s32 gVenusSwitchPushScript1_0[]
s32 gVenusSwitchPushScript0_0[]
u8 gVenusSwitchShape0[]
s32 gVenusLighthousePlacements6_3[]
s32 gVenusPillarPushScript4_0[]
s32 gVenusPillarPushScript5_1[]
struct SwitchCell gVenusSwitchCells[]
s32 * gVenusPillarPushScript5[]
s32 * gVenusPillarPushScript2[]
struct ScenePlacement gVenusLighthousePlacements6[]
const u8 * gVenusPillarShapes[]
s32 gVenusSwitchPushScript3_1[]
s32 * gVenusSwitchPushScript0[]
u8 gVenusShapesPushedLeft[]
s32 gVenusSettleScriptB[]
struct SceneEvent gVenusLighthouseEvents1[]
s32 ** gVenusPillarPushScripts[]
const u32 * SceneData_GetPrimaryTable(void)
Returns the packed exits shared by the lighthouse scenes.
s32 gVenusLighthousePlacements5_3[]
u8 gVenusPillarShape3[]
s32 * gVenusSwitchPushScript3[]
s32 gVenusPillarPushScript7_0[]
s32 gVenusRefusedPushScript[]
struct SceneEntrance gVenusLighthouseEntrances5[]
s32 gVenusLighthousePlacements5_2[]
struct ScenePlacement gVenusLighthousePlacements2[]
u8 gVenusPillarShape6[]
s32 * gVenusPillarPushScript1[]
s32 gVenusLighthousePlacements2_1[]
s32 gVenusPushScript[]
s32 * gVenusPillarPushScript3[]
s32 gVenusPillarPushScript6_0[]
s32 gVenusLighthousePlacements2_0[]
s32 gVenusPillarPushScript5_0[]
struct SceneEntrance gVenusLighthouseEntrancesOther[]
s32 * gVenusSwitchPushScript2[]
s32 * gVenusPillarPushScript6[]
s32 * gVenusPillarPushScript4[]
struct ScenePlacement gVenusLighthousePlacements4[]
s32 gVenusSettleScriptA[]
struct ScenePlacement gVenusLighthousePlacements3[]
s32 Scene_RunEntrySetup(void)
Restores puzzle progress, actors and entrance effects for all six scenes.
s32 gVenusLighthousePlacements4_1[]
struct SceneEntrance gVenusLighthouseEntrances4[]
s32 gVenusFirstGateScript[]
u8 gVenusPillarShape1[]
s32 gVenusSwitchPushScript3_0[]
s32 ** gVenusSwitchPushScripts[]
struct SceneEvent gVenusLighthouseEvents4[]
u8 gVenusSwitchShape1[]
s32 gVenusSecondGateScript[]
s32 gVenusLighthousePlacements5_1[]
u8 gVenusSwitchShape3[]
s32 gVenusLighthousePlacements3_Data[]
s32 gVenusSprayScript[]
struct ScenePlacement gVenusLighthousePlacementsOther[]
struct ScenePlacement gVenusLighthousePlacements5[]
u8 gVenusShapesPushedRight[]
s32 * gVenusPillarPushScript7[]
u8 gVenusPillarShape0[]
u8 gVenusPillarShape5[]
struct SceneEvent gVenusLighthouseEvents5[]
s32 gVenusLeaderApproachScript[]
u8 gVenusPillarShape4[]
s32 gVenusFirstGateOpenScript[]
s32 gVenusSwitchPushScript1_1[]
u8 gVenusPillarShape2[]
u8 gVenusShapesPushedUp[]
s32 * gVenusSwitchPushScript1[]
u8 gVenusSwitchShape2[]
s32 gVenusPillarPushScript3_0[]
struct SwitchCell gVenusPillarCells[]
struct ScenePlacement gVenusLighthousePlacements1[]
s32 gVenusLighthousePlacements6_4[]
u16 gVenusGateCells[]
const u8 * gVenusSwitchShapes[]
s32 gVenusPillarPushScript2_0[]
s32 gVenusSwitchPushScript0_1[]
struct SceneEntrance gVenusLighthouseEntrances3[]
s32 gVenusSwitchPushScript2_1[]
struct SceneEntrance gVenusLighthouseEntrances6[]
s32 * gVenusPillarPushScript0[]
u8 gVenusShapesPushedDown[]
struct SceneEvent gVenusLighthouseEvents6[]
u32 gVenusBlockHeights[]
u16 gVenusPushCells[]