Alchemy
Loading...
Searching...
No Matches

tolbi_ship_interiors.h File Reference

Go to the source code of this file.

Functions

const struct SceneEntrance * TolbiShipInteriors_SelectEntrances (void)
const struct SceneRegion * TolbiShipInteriors_GetRegions (void)
const u32 * TolbiShipInteriors_GetExits (void)
const struct ScenePlacement * TolbiShipInteriors_SelectPlacements (void)
 Picks the placements for the room entered and the voyage's stage.
const struct SceneEvent * TolbiShipInteriors_SelectEvents (void)
 Chooses the room's interactions for the current stage of the voyage.
s32 TolbiShipInteriors_ApplyEntryState (void)
 Restores the room or plays the event selected by this entrance.

Variables

s32 gTolbiShipInteriors_TurnSteps []
s32 gTolbiShipInteriors_LeaveHold []
 The warriors walk out of the hold.
s32 gTolbiShipInteriors_LeaveCabin []
 Those gathered in the cabin walk out.
s32 gTolbiShipInteriors_AnchorCharmPulse []
 The Anchor Charm swells and shrinks twice as the captain raises it.
s32 gTolbiShipInteriors_FollowersRejoinByStairs []
 The party's followers walk into the leader by the rowing deck's stairs.
s32 gTolbiShipInteriors_FollowersRejoinMidDeck []
 The same, in the middle of the rowing deck.
s32 gTolbiShipInteriors_FollowersRejoinBySeats []
 The same, by the first row of seats.
s32 gTolbiShipInteriors_Shiver []
 Squashes and stretches the actor over and over: a shiver.
s32 gTolbiShipInteriors_MonsterBob []
 A monster in the hold bobs in place.
s32 gTolbiShipInteriors_LeaveByStairs []
 A rower walks up the stairs and is freed.
s32 gTolbiShipInteriors_StepIntoAisle []
 A rower steps into the aisle.
s32 gTolbiShipInteriors_LookAroundScript []
 A passenger glances about at random.
s32 gTolbiShipInteriors_LieFlatScript []
 Lies flat on the floor of the hold.
struct FieldActor * gTolbiShipInteriors_AnchorObject
 The Anchor Charm's object, once placed this visit.
struct SceneEntrance gTolbiShipInteriors_EntrancesOther []
 The other scenes have no entrances.
struct SceneEntrance gTolbiShipInteriors_Entrances []
 The hold (entrances 1, 2, 11 and 30), a side room (3), the rowing deck (4, 12 and 15 to 24 but 22) and the cabin (5, 10, 13, 14 and 22).
u32 gTolbiShipInteriors_Exits []
struct ScenePlacement gTolbiShipInteriors_PlacementsNone []
struct ScenePlacement gTolbiShipInteriors_CabinPlacements []
struct ScenePlacement gTolbiShipInteriors_CabinPlacementsWarriors []
 The cabin once the warriors have come to see the captain, with the party's followers.
struct ScenePlacement gTolbiShipInteriors_CabinPlacementsArrived []
 The cabin once the ship has reached Tolbi.
struct ScenePlacement gTolbiShipInteriors_HoldPlacementsEmpty []
 The hold before the party hears of the delay at Kalay.
struct ScenePlacement gTolbiShipInteriors_HoldPlacements []
 The hold while the ship waits at Kalay, and after it reaches Tolbi.
struct ScenePlacement gTolbiShipInteriors_HoldPlacementsAtSea []
 The hold at sea, once the passengers row.
struct ScenePlacement gTolbiShipInteriors_RowingDeckPlacements []
 The rowing deck: the crew (actors 8 and 9), the oarsmen at the seats (10 to 17), the passengers who may take a seat (18 to 26) and eight actors beside the seats (28 to 35).
struct ScenePlacement gTolbiShipInteriors_PartyFollowerPlacements []
 The party's followers, placed for a scene.
struct ScenePlacement gTolbiShipInteriors_FirstAttackMonsters []
 The monsters of each attack, beside the seats.
struct ScenePlacement gTolbiShipInteriors_SecondAttackMonsters []
struct ScenePlacement gTolbiShipInteriors_ThirdAttackMonsters []
struct SceneEvent gTolbiShipInteriors_EventsOther []
 The side room, and the cutscenes.
struct SceneEvent gTolbiShipInteriors_HoldEvents []
 The hold while the ship waits at Kalay, and after it reaches Tolbi.
struct SceneEvent gTolbiShipInteriors_HoldEventsChoosingRowers []
 The hold at sea: talking to a passenger asks them to row.
struct SceneEvent gTolbiShipInteriors_HoldEventsAtIsland []
 The hold while the ship waits off the island.
struct SceneEvent gTolbiShipInteriors_CabinEvents []
 The cabin, from the wait at Kalay until the ship reaches Tolbi.
struct SceneEvent gTolbiShipInteriors_CabinEventsAtIsland []
 The cabin while the ship waits off the island.
struct SceneEvent gTolbiShipInteriors_CabinEventsArrived []
 The cabin once the ship has reached Tolbi.
struct SceneEvent gTolbiShipInteriors_RowingDeckEvents []
struct SceneEvent gTolbiShipInteriors_RowingDeckEventsMonstersAboard []
 The rowing deck while monsters are aboard: talking to one (actors 36 to 38) fights it.
struct SceneEvent gTolbiShipInteriors_RowingDeckEventsKrakenAboard []
 The rowing deck while the Kraken rocks the ship.
struct SceneEvent gTolbiShipInteriors_RowingDeckEventsArrived []
 The rowing deck once the ship has reached Tolbi.

Function Documentation

◆ TolbiShipInteriors_SelectEntrances()

const struct SceneEntrance * TolbiShipInteriors_SelectEntrances ( void )

Definition at line 343 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectEntrances().

◆ TolbiShipInteriors_GetRegions()

const struct SceneRegion * TolbiShipInteriors_GetRegions ( void )

Definition at line 350 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_GetRegions().

◆ TolbiShipInteriors_GetExits()

const u32 * TolbiShipInteriors_GetExits ( void )

Definition at line 352 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_GetExits().

◆ TolbiShipInteriors_SelectPlacements()

const struct ScenePlacement * TolbiShipInteriors_SelectPlacements ( void )

Picks the placements for the room entered and the voyage's stage.

Some stages change who turns to face the party when talked to (talkFacing) in the shared tables.

Definition at line 365 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectPlacements().

◆ TolbiShipInteriors_SelectEvents()

const struct SceneEvent * TolbiShipInteriors_SelectEvents ( void )

Chooses the room's interactions for the current stage of the voyage.

Definition at line 464 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectEvents().

◆ TolbiShipInteriors_ApplyEntryState()

s32 TolbiShipInteriors_ApplyEntryState ( void )

Restores the room or plays the event selected by this entrance.

Definition at line 2014 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_ApplyEntryState().

Variable Documentation

◆ gTolbiShipInteriors_TurnSteps

s32 gTolbiShipInteriors_TurnSteps[]
extern

◆ gTolbiShipInteriors_LeaveHold

s32 gTolbiShipInteriors_LeaveHold[]
extern

The warriors walk out of the hold.

Definition at line 3913 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_WatchWarriorsStormOff().

◆ gTolbiShipInteriors_LeaveCabin

s32 gTolbiShipInteriors_LeaveCabin[]
extern

Those gathered in the cabin walk out.

Definition at line 3921 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_ReturnLuckyAnchor().

◆ gTolbiShipInteriors_AnchorCharmPulse

s32 gTolbiShipInteriors_AnchorCharmPulse[]
extern

The Anchor Charm swells and shrinks twice as the captain raises it.

Definition at line 3934 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_CastOff().

◆ gTolbiShipInteriors_FollowersRejoinByStairs

s32 gTolbiShipInteriors_FollowersRejoinByStairs[]
extern

The party's followers walk into the leader by the rowing deck's stairs.

Definition at line 3952 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_ReachIsland(), and TolbiShipInteriors_ReportMonstersBelowdecks().

◆ gTolbiShipInteriors_FollowersRejoinMidDeck

s32 gTolbiShipInteriors_FollowersRejoinMidDeck[]
extern

The same, in the middle of the rowing deck.

Definition at line 3959 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_ReactToMonsterAttack().

◆ gTolbiShipInteriors_FollowersRejoinBySeats

s32 gTolbiShipInteriors_FollowersRejoinBySeats[]
extern

The same, by the first row of seats.

Definition at line 3966 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_NoticeShipRocking().

◆ gTolbiShipInteriors_Shiver

s32 gTolbiShipInteriors_Shiver[]
extern

◆ gTolbiShipInteriors_MonsterBob

s32 gTolbiShipInteriors_MonsterBob[]
extern

◆ gTolbiShipInteriors_LeaveByStairs

s32 gTolbiShipInteriors_LeaveByStairs[]
extern

A rower walks up the stairs and is freed.

Definition at line 3999 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_ReachIsland().

◆ gTolbiShipInteriors_StepIntoAisle

s32 gTolbiShipInteriors_StepIntoAisle[]
extern

A rower steps into the aisle.

Definition at line 4006 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_ReachIsland().

◆ gTolbiShipInteriors_LookAroundScript

s32 gTolbiShipInteriors_LookAroundScript[]
extern

A passenger glances about at random.

Definition at line 4014 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SetUpHold().

◆ gTolbiShipInteriors_LieFlatScript

s32 gTolbiShipInteriors_LieFlatScript[]
extern

Lies flat on the floor of the hold.

Definition at line 4019 of file tolbi_ship_interiors.c.

◆ gTolbiShipInteriors_AnchorObject

struct FieldActor* gTolbiShipInteriors_AnchorObject
extern

The Anchor Charm's object, once placed this visit.

Definition at line 4024 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_PlaceAnchorCharm().

◆ gTolbiShipInteriors_EntrancesOther

struct SceneEntrance gTolbiShipInteriors_EntrancesOther[]
extern

The other scenes have no entrances.

Definition at line 4027 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectEntrances().

◆ gTolbiShipInteriors_Entrances

struct SceneEntrance gTolbiShipInteriors_Entrances[]
extern

The hold (entrances 1, 2, 11 and 30), a side room (3), the rowing deck (4, 12 and 15 to 24 but 22) and the cabin (5, 10, 13, 14 and 22).

Definition at line 4033 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectEntrances().

◆ gTolbiShipInteriors_Exits

u32 gTolbiShipInteriors_Exits[]
extern

Definition at line 4058 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_GetExits().

◆ gTolbiShipInteriors_PlacementsNone

struct ScenePlacement gTolbiShipInteriors_PlacementsNone[]
extern

Definition at line 4068 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectPlacements().

◆ gTolbiShipInteriors_CabinPlacements

struct ScenePlacement gTolbiShipInteriors_CabinPlacements[]
extern

Definition at line 4073 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectPlacements().

◆ gTolbiShipInteriors_CabinPlacementsWarriors

struct ScenePlacement gTolbiShipInteriors_CabinPlacementsWarriors[]
extern

The cabin once the warriors have come to see the captain, with the party's followers.

Definition at line 4085 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectPlacements().

◆ gTolbiShipInteriors_CabinPlacementsArrived

struct ScenePlacement gTolbiShipInteriors_CabinPlacementsArrived[]
extern

The cabin once the ship has reached Tolbi.

Definition at line 4108 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectPlacements().

◆ gTolbiShipInteriors_HoldPlacementsEmpty

struct ScenePlacement gTolbiShipInteriors_HoldPlacementsEmpty[]
extern

The hold before the party hears of the delay at Kalay.

Definition at line 4115 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectPlacements().

◆ gTolbiShipInteriors_HoldPlacements

struct ScenePlacement gTolbiShipInteriors_HoldPlacements[]
extern

The hold while the ship waits at Kalay, and after it reaches Tolbi.

Definition at line 4122 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectPlacements().

◆ gTolbiShipInteriors_HoldPlacementsAtSea

struct ScenePlacement gTolbiShipInteriors_HoldPlacementsAtSea[]
extern

The hold at sea, once the passengers row.

Definition at line 4147 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectPlacements().

◆ gTolbiShipInteriors_RowingDeckPlacements

struct ScenePlacement gTolbiShipInteriors_RowingDeckPlacements[]
extern

The rowing deck: the crew (actors 8 and 9), the oarsmen at the seats (10 to 17), the passengers who may take a seat (18 to 26) and eight actors beside the seats (28 to 35).

Definition at line 4178 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectPlacements().

◆ gTolbiShipInteriors_PartyFollowerPlacements

struct ScenePlacement gTolbiShipInteriors_PartyFollowerPlacements[]
extern

The party's followers, placed for a scene.

Definition at line 4239 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_RunSceneCommand().

◆ gTolbiShipInteriors_FirstAttackMonsters

struct ScenePlacement gTolbiShipInteriors_FirstAttackMonsters[]
extern

The monsters of each attack, beside the seats.

Definition at line 4250 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_RunSceneCommand().

◆ gTolbiShipInteriors_SecondAttackMonsters

struct ScenePlacement gTolbiShipInteriors_SecondAttackMonsters[]
extern

Definition at line 4260 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_RunSceneCommand().

◆ gTolbiShipInteriors_ThirdAttackMonsters

struct ScenePlacement gTolbiShipInteriors_ThirdAttackMonsters[]
extern

Definition at line 4270 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_RunSceneCommand().

◆ gTolbiShipInteriors_EventsOther

struct SceneEvent gTolbiShipInteriors_EventsOther[]
extern

The side room, and the cutscenes.

Definition at line 4281 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectEvents().

◆ gTolbiShipInteriors_HoldEvents

struct SceneEvent gTolbiShipInteriors_HoldEvents[]
extern

The hold while the ship waits at Kalay, and after it reaches Tolbi.

Definition at line 4288 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectEvents().

◆ gTolbiShipInteriors_HoldEventsChoosingRowers

struct SceneEvent gTolbiShipInteriors_HoldEventsChoosingRowers[]
extern

The hold at sea: talking to a passenger asks them to row.

Definition at line 4317 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectEvents().

◆ gTolbiShipInteriors_HoldEventsAtIsland

struct SceneEvent gTolbiShipInteriors_HoldEventsAtIsland[]
extern

The hold while the ship waits off the island.

Definition at line 4354 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectEvents().

◆ gTolbiShipInteriors_CabinEvents

struct SceneEvent gTolbiShipInteriors_CabinEvents[]
extern

The cabin, from the wait at Kalay until the ship reaches Tolbi.

The Anchor Charm is given back to the captain here.

Definition at line 4383 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectEvents().

◆ gTolbiShipInteriors_CabinEventsAtIsland

struct SceneEvent gTolbiShipInteriors_CabinEventsAtIsland[]
extern

The cabin while the ship waits off the island.

Definition at line 4410 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectEvents().

◆ gTolbiShipInteriors_CabinEventsArrived

struct SceneEvent gTolbiShipInteriors_CabinEventsArrived[]
extern

The cabin once the ship has reached Tolbi.

Definition at line 4421 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectEvents().

◆ gTolbiShipInteriors_RowingDeckEvents

struct SceneEvent gTolbiShipInteriors_RowingDeckEvents[]
extern

Definition at line 4429 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectEvents().

◆ gTolbiShipInteriors_RowingDeckEventsMonstersAboard

struct SceneEvent gTolbiShipInteriors_RowingDeckEventsMonstersAboard[]
extern

The rowing deck while monsters are aboard: talking to one (actors 36 to 38) fights it.

Definition at line 4468 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectEvents().

◆ gTolbiShipInteriors_RowingDeckEventsKrakenAboard

struct SceneEvent gTolbiShipInteriors_RowingDeckEventsKrakenAboard[]
extern

The rowing deck while the Kraken rocks the ship.

Definition at line 4513 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectEvents().

◆ gTolbiShipInteriors_RowingDeckEventsArrived

struct SceneEvent gTolbiShipInteriors_RowingDeckEventsArrived[]
extern

The rowing deck once the ship has reached Tolbi.

Definition at line 4551 of file tolbi_ship_interiors.c.

Referenced by TolbiShipInteriors_SelectEvents().