src/scene/champa_sanctum.c
Champa's Sanctum, whose healer serves the party across the counter and otherwise talks of Briggs: the village's last hope until he sails from Alhafra, and after it the jewels that made Champa's people lazy.
#include "game/game.h"#include "field/field_engine.h"#include "field/field_engine_script.h"#include "field/script_inline.h"#include "shop/shop.h"#include "text/msg_ids.h"#include "shared/scene_entrances_default.c"
Macros
| Name | Description | |
|---|---|---|
#define | ACTOR_HEALER ACTOR_FIRST_PLACED | The healer behind the counter, a bearded man in a long robe. |
Functions
| Name | Description | |
|---|---|---|
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. |
void | scChampaSanctumServeAcrossTheCounter (Sint32 keeper) | Talking to the healer from across the counter, facing north: the Sanctum's services. |
const CUE * | scGetCues (void) | The scene's cues: the rooms of names' for any entrance above ENTRANCE_NAMES_ABOVE, else the debug room's. |
Sint32 | scInit (void) | Opens the room through the window transition, and in the debug room draws the cat 1.7 times its size. |
Sint32 | scPrepareMap (void) | Once Briggs is caught the pool has dried up: its colours take the dry ground's. |
Variables
| Name | Description | |
|---|---|---|
Uint32 | SceneExits [] | The room has no exits of its own. |
ACTOR_PLACE | ActorPlacements [] | The room's people: the party's four rows, then PSYNERGY_TEST_ACTOR_ID's. |
CUE | SceneCues [] | The room's scripts: talking to its people, Mind Read on them, the metatiles examined, and the field Psynergy each spot answers. |
Description
Champa's Sanctum, whose healer serves the party across the counter and otherwise talks of Briggs: the village's last hope until he sails from Alhafra, and after it the jewels that made Champa's people lazy.
Macros in detail
ACTOR_HEALER
#define ACTOR_HEALER ACTOR_FIRST_PLACED
The healer behind the counter, a bearded man in a long robe.
Referenced by ContigoShopsCues, DailaRoomsSanctumCues, DailaRoomsSanctumCuesOnceTaviIsRescued, IsletsEastTundariaCues, KibomboHousesCues, MadraRoomsCuesAfterRaid, MadraRoomsCuesBeforeRaid, MadraRoomsCuesOnReturn, ProxSanctumCues, scContigoTalkToHealer(), SceneCues, scInit(), scIsletsTalkToHealer(), scKibomboOpenSanctum() and scProxTalkToHealer().
Definition at line 32 of file champa_sanctum.c.
Functions in detail
scGetEntrances
const SCENE_ENTRANCE *scGetEntrances(void)
References SceneEntrances.
Definition at line 11 of file champa_sanctum.c.
scGetExitRegions
const SCENE_REGION *scGetExitRegions(void)
Definition at line 16 of file champa_sanctum.c.
scGetExits
const Uint32 *scGetExits(void)
References SceneExits.
Definition at line 21 of file champa_sanctum.c.
scGetActorPlacements
const ACTOR_PLACE *scGetActorPlacements(void)
References ActorPlacements.
Definition at line 26 of file champa_sanctum.c.
scChampaSanctumServeAcrossTheCounter
void scChampaSanctumServeAcrossTheCounter(Sint32 keeper)
Talking to the healer from across the counter, facing north: the Sanctum's services.
References mnSanctumRun() and Sint32.
Referenced by SceneCues.
Definition at line 36 of file champa_sanctum.c.
scGetCues
const CUE *scGetCues(void)
References SceneCues.
Definition at line 41 of file champa_sanctum.c.
scInit
Sint32 scInit(void)
References fdActorGetById(), fdActorSetSpritePriority() and Sint32.
Definition at line 46 of file champa_sanctum.c.
scPrepareMap
Sint32 scPrepareMap(void)
References Sint32.
Definition at line 58 of file champa_sanctum.c.
Variables in detail
SceneExits
Uint32 SceneExits[]
Referenced by scGetExits().
Definition at line 67 of file champa_sanctum.c.
ActorPlacements
ACTOR_PLACE ActorPlacements[]
Referenced by scGetActorPlacements().
Definition at line 74 of file champa_sanctum.c.
SceneCues
CUE SceneCues[]
References scChampaSanctumServeAcrossTheCounter().
Referenced by scGetCues().
Definition at line 87 of file champa_sanctum.c.