Skip to Content
The Alchemy Project

src/scene/apojii_islands_cave.c

The cave of the Apojii Islands: four clumps of weeds on the walls of its south chamber, each scattered for good by Whirlwind. More…

Macros

NameDescription
#defineAPOJII_ISLANDS_CAVE_SOUTH_TO_NORTH 1The ways between the cave's south chamber and the passage north, by the passage the third clump of weeds hides.
#defineAPOJII_ISLANDS_CAVE_NORTH_TO_SOUTH 2
#defineAPOJII_ISLANDS_CAVE_SOUTH_FROM_NORTH 1
#defineAPOJII_ISLANDS_CAVE_NORTH_FROM_SOUTH 2

Enumerations

NameDescription
enumAPOJII_ISLANDS_CAVE_ACTOR_ID { ACTOR_FIRST_WEEDS, ACTOR_SECOND_WEEDS, ACTOR_PASSAGE_WEEDS, … }The four clumps of weeds on the south chamber's walls, from west to east, numbering the rows of ActorPlacements.

Functions

NameDescription
const SCENE_ENTRANCE *scGetEntrances (void)Where the party can enter: the cave under the spring has its own entrances.
const SCENE_REGION *scGetExitRegions (void)The regions of the rooms whose exits are rectangles: the Chestbeaters' room and the stream room.
const Uint32 *scGetExits (void)The dock's ways lead back the way the party came into Lemuria, which the harbour and the shore of Ancient Lemuria note in FLAG_LEMURIA_OTHER_WAY_IN.
const ACTOR_PLACE *scGetActorPlacements (void)The scene's actor placements: a room of names for its entrance, else the debug room's.
voidscApojiiIslandsCaveScatterWeeds (Sint32 unused, Sint32 weeds)Whirlwind on a clump of weeds scatters it for good.
const CUE *scGetCues (void)The scene's cues: the rooms of names' for any entrance above ENTRANCE_NAMES_ABOVE, else the debug room's.
Sint32scInit (void)Opens the room through the window transition, and in the debug room draws the cat 1.7 times its size.
Sint32scPrepareMap (void)Once Briggs is caught the pool has dried up: its colours take the dry ground's.

Variables

NameDescription
extern Uint32ApojiiIslandsCaveWeedsScript []The weeds' script: each clump stands still three pixels up, on ground four pixels up, drawn half as tall again.
Uint32SceneExits []The room has no exits of its own.
ACTOR_PLACEActorPlacements []The room's people: the party's four rows, then PSYNERGY_TEST_ACTOR_ID's.
CUESceneCues []The room's scripts: talking to its people, Mind Read on them, the metatiles examined, and the field Psynergy each spot answers.

Description

The cave of the Apojii Islands: four clumps of weeds on the walls of its south chamber, each scattered for good by Whirlwind. The third hides the passage north, which leads out to the top of the falls where the Djinni Haze waits.

Macros in detail

APOJII_ISLANDS_CAVE_SOUTH_TO_NORTH

#define APOJII_ISLANDS_CAVE_SOUTH_TO_NORTH 1

The ways between the cave's south chamber and the passage north, by the passage the third clump of weeds hides.

Referenced by SceneCues and SceneExits.

Definition at line 14 of file apojii_islands_cave.c.

APOJII_ISLANDS_CAVE_NORTH_TO_SOUTH

#define APOJII_ISLANDS_CAVE_NORTH_TO_SOUTH 2

Referenced by SceneCues and SceneExits.

Definition at line 15 of file apojii_islands_cave.c.

APOJII_ISLANDS_CAVE_SOUTH_FROM_NORTH

#define APOJII_ISLANDS_CAVE_SOUTH_FROM_NORTH 1

Referenced by SceneExits.

Definition at line 16 of file apojii_islands_cave.c.

APOJII_ISLANDS_CAVE_NORTH_FROM_SOUTH

#define APOJII_ISLANDS_CAVE_NORTH_FROM_SOUTH 2

Referenced by SceneExits.

Definition at line 17 of file apojii_islands_cave.c.

Enumerations in detail

APOJII_ISLANDS_CAVE_ACTOR_ID

enum APOJII_ISLANDS_CAVE_ACTOR_ID

The four clumps of weeds on the south chamber's walls, from west to east, numbering the rows of ActorPlacements.

EnumeratorValueDescription
ACTOR_FIRST_WEEDSACTOR_FIRST_PLACED
ACTOR_SECOND_WEEDS
ACTOR_PASSAGE_WEEDSover the passage north
ACTOR_FOURTH_WEEDS

Definition at line 23 of file apojii_islands_cave.c.

Functions in detail

scGetEntrances

const SCENE_ENTRANCE *scGetEntrances(void)

References SceneEntrances.

Definition at line 31 of file apojii_islands_cave.c.

scGetExitRegions

const SCENE_REGION *scGetExitRegions(void)

Definition at line 36 of file apojii_islands_cave.c.

scGetExits

const Uint32 *scGetExits(void)

References SceneExits.

Definition at line 41 of file apojii_islands_cave.c.

scGetActorPlacements

const ACTOR_PLACE *scGetActorPlacements(void)

References ActorPlacements.

Definition at line 46 of file apojii_islands_cave.c.

scApojiiIslandsCaveScatterWeeds

void scApojiiIslandsCaveScatterWeeds(Sint32 unused, Sint32 weeds)

Whirlwind on a clump of weeds scatters it for good.

References Sint32 and syGameFlagSet().

Referenced by SceneCues.

Definition at line 52 of file apojii_islands_cave.c.

scGetCues

const CUE *scGetCues(void)

References SceneCues.

Definition at line 57 of file apojii_islands_cave.c.

scInit

Sint32 scInit(void)

References Sint32.

Definition at line 62 of file apojii_islands_cave.c.

scPrepareMap

Sint32 scPrepareMap(void)

References Sint32.

Definition at line 69 of file apojii_islands_cave.c.

Variables in detail

ApojiiIslandsCaveWeedsScript

extern Uint32 ApojiiIslandsCaveWeedsScript[]

Uint32 ApojiiIslandsCaveWeedsScript[]

The weeds' script: each clump stands still three pixels up, on ground four pixels up, drawn half as tall again.

Referenced by ActorPlacements.

Definition at lines 19 and 77 of file apojii_islands_cave.c.

SceneExits

Uint32 SceneExits[]

Referenced by scGetExits().

Definition at line 88 of file apojii_islands_cave.c.

ActorPlacements

ACTOR_PLACE ActorPlacements[]

References ApojiiIslandsCaveWeedsScript and Sint32.

Referenced by scGetActorPlacements().

Definition at line 113 of file apojii_islands_cave.c.

SceneCues

CUE SceneCues[]

References scApojiiIslandsCaveScatterWeeds().

Referenced by scGetCues().

Definition at line 153 of file apojii_islands_cave.c.