include/scene/jupiter_lighthouse_aerie.h
What Jupiter Lighthouse's rooms share (and Mars Lighthouse's towers, which copy some of their code): the aerie's angels, archers and well lid, the time the angels take to rise, and the calls the overlays make.
#include "types.h"#include "system.h"#include "game/main_routine_state.h"#include "field/actor.h"#include "field/metatile_target.h"#include "field/scene_tables.h"
Included by jupiter_lighthouse_aerie.c, jupiter_lighthouse_aerie_beacon.c, jupiter_lighthouse_basement.c, jupiter_lighthouse_central_room.c, jupiter_lighthouse_terraces.c, jupiter_lighthouse_upper_hall.c, mars_lighthouse_towers.c and jupiter_lighthouse_place_raised_actors.c.
Macros
| Name | Description | |
|---|---|---|
#define | ANGEL_RISE_TICKS 64 | The ticks the aerie's scJupiterLighthouseRaiseAngels takes to raise an angel and tilt the lid, and then to lift both angels and the lid off the well once both are shot. |
#define | LID_LIFT_TICKS 256 |
Enumerations
| Name | Description | |
|---|---|---|
enum | anonymous enum { ACTOR_LEFT_ANGEL, ACTOR_RIGHT_ANGEL, ACTOR_LEFT_ARCHER, ACTO … } | The aerie's placed actors that its two scenes (SceneIdJupiterLighthouseAerie and SceneIdJupiterLighthouseAerieBeacon) number alike and scJupiterLighthousePlaceRaisedActors moves. |
Functions
| Name | Description | |
|---|---|---|
void | syGameFlagSetByte (Sint32 flag, Sint32 value) | Sets the whole byte flags is in. |
void | syImportHangingVinePlace (Sint32 id, Sint32 force) | Hangs a vine from high above an actor down to its feet (fdHangingVinePlace, through the overlay's own import row). |
Description
What Jupiter Lighthouse's rooms share (and Mars Lighthouse's towers, which copy some of their code): the aerie's angels, archers and well lid, the time the angels take to rise, and the calls the overlays make.
Macros in detail
ANGEL_RISE_TICKS
#define ANGEL_RISE_TICKS 64
The ticks the aerie's scJupiterLighthouseRaiseAngels takes to raise an angel
and tilt the lid, and then to lift both angels and the lid off the well once
both are shot.
Referenced by scJupiterLighthousePlaceRaisedActors() and scJupiterLighthouseRaiseAngels().
Definition at line 17 of file jupiter_lighthouse_aerie.h.
LID_LIFT_TICKS
#define LID_LIFT_TICKS 256
Referenced by scJupiterLighthousePlaceRaisedActors() and scJupiterLighthouseRaiseAngels().
Definition at line 18 of file jupiter_lighthouse_aerie.h.
Enumerations in detail
anonymous enum
enum { ACTOR_LEFT_ANGEL, ACTOR_RIGHT_ANGEL, ACTOR_LEFT_ARCHER, ACTOR_RIGHT_ARCHER, … }
The aerie's placed actors that its two scenes (SceneIdJupiterLighthouseAerie
and SceneIdJupiterLighthouseAerieBeacon) number alike and
scJupiterLighthousePlaceRaisedActors moves.
| Enumerator | Value | Description |
|---|---|---|
ACTOR_LEFT_ANGEL | ACTOR_FIRST_PLACED + 1 | The angels either side of the lid over the well, and the archer statues that shoot them. |
ACTOR_RIGHT_ANGEL | ||
ACTOR_LEFT_ARCHER | ||
ACTOR_RIGHT_ARCHER | ||
ACTOR_LID | ACTOR_FIRST_PLACED + 15 | The round stone lid over the well, |
ACTOR_UNSEEN_LID | which the angels lift, and a second actor wearing its picture at its place, drawn zero wide: unseen, it holds the party back at the well's rim. |
Definition at line 23 of file jupiter_lighthouse_aerie.h.
Functions in detail
syImportHangingVinePlace
void syImportHangingVinePlace(Sint32 id, Sint32 force)
Hangs a vine from high above an actor down to its feet (fdHangingVinePlace,
through the overlay's own import row).
Referenced by scInit().
Definition at line 45 of file jupiter_lighthouse_aerie.h.