Skip to Content
The Alchemy Project

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.

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

NameDescription
#defineANGEL_RISE_TICKS 64The 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.
#defineLID_LIFT_TICKS 256

Enumerations

NameDescription
enumanonymous 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

NameDescription
voidsyGameFlagSetByte (Sint32 flag, Sint32 value)Sets the whole byte flags is in.
voidsyImportHangingVinePlace (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.

EnumeratorValueDescription
ACTOR_LEFT_ANGELACTOR_FIRST_PLACED + 1The 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_LIDACTOR_FIRST_PLACED + 15The round stone lid over the well,
ACTOR_UNSEEN_LIDwhich 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.