Below the decks of the ship across the Karagol Sea: the captain's cabin, the passengers' hold and the rowing deck. More...
Go to the source code of this file.
Macros | |
| #define | FLAG_TOLBI_SHIP_ROWER_CHOSEN 0x300 |
| a passenger follows the party | |
| #define | FLAG_TOLBI_SHIP_MONSTERS_ABOARD 0x301 |
| the hold's stairs are barred | |
| #define | FLAG_TOLBI_SHIP_KRAKEN_ABOARD 0x302 |
| The Kraken is aboard: the deck shakes until it is defeated (tolbi_ship_deck.c reads it too). | |
| #define | SPEAKER(actor, window) |
| A speaker: the actor, and in the top four bits where the message window opens beside them. | |
| #define | TOLBI_SHIP_TALK_FACING(bytes, row) |
| A byte view keeps the native address arithmetic; direct row-field writes choose different bases and registers. | |
| #define | TURN_STEP(dx, dz) |
| The step beside the leader for each of the 16 facings: the high 16 bits are x, the low 16 bits z. | |
Functions | |
| static void | TolbiShipInteriors_StepBesideLeader (s32 passengerId) |
| The chosen oarsman steps out beside the leader, on the leader's right if that spot is free, else on the left, else behind, and turns the way the leader faces. | |
| static s32 | TolbiShipInteriors_IsSpotFree (s32 bucket) |
| Returns 1 when the spot next to the leader in the given sixteenth of a turn holds no actor and no wall, else 0. | |
| static s32 | TolbiShipInteriors_GetChosenOarsman (void) |
| Returns the passenger chosen to row at the open seat, which the attacks fought off number. | |
| static void | TolbiShipInteriors_AskToRow (s32 speaker, s32 question, s32 seatFlag) |
| Asks a passenger to row. | |
| static void | TolbiShipInteriors_DiscussLaunchingWithoutAnchor (void) |
| The passengers pressure the captain to launch despite the missing anchor. | |
| static void | TolbiShipInteriors_SetUpCabin (void) |
| Restores the cabin's actors after the anchor and departure conversations. | |
| static void | TolbiShipInteriors_SetUpHold (void) |
| Restores the passenger hold after recruitment and departure events. | |
| static void | TolbiShipInteriors_SetUpRowingDeck (void) |
| Restores the rowing deck and introduces a newly recruited replacement. | |
| static void | TolbiShipInteriors_SetSeatActorCollision (void) |
| Sets collision bit 3 on the eight actors surrounding the rowing seats. | |
| static void | TolbiShipInteriors_AskForReplacementOarsmen (void) |
| The crew explains the missing replacements and asks the party to find rowers. | |
| static void | TolbiShipInteriors_CastOff (void) |
| Raises the anchor charm and announces the ship's first departure. | |
| static void | TolbiShipInteriors_AnnounceDeparture (void) |
| Announces departure after a replacement rower has joined the crew. | |
| static void | TolbiShipInteriors_CallActorSixteenToRow (void) |
| Calls the first passenger to the rowing deck. | |
| static void | TolbiShipInteriors_CallActorEighteenToRow (void) |
| Calls a replacement rower back to the rowing deck. | |
| static void | TolbiShipInteriors_ShowRowing (void) |
| Restores the rowing deck for the current set of selected passengers. | |
| static void | TolbiShipInteriors_AskAboutMonsters (void) |
| Asks the crew about the monsters before returning belowdecks. | |
| static void | TolbiShipInteriors_AnnounceTurn (void) |
| Announces the ship's next turn and returns control to the rowing deck. | |
| static void | TolbiShipInteriors_StartFirstAttack (void) |
| Stages the first monster encounter with the original rowers. | |
| static void | TolbiShipInteriors_EndFirstAttack (void) |
| Restores the original rowers after the first monster attack. | |
| static void | TolbiShipInteriors_IntroduceReplacementOarsman (s32 seat) |
| Introduces the selected passenger and leads them to the open rowing seat. | |
| static struct FieldActor * | TolbiShipInteriors_PlaceAnchorCharm (void) |
| Creates the visible anchor charm once a visit (FLAG_SCENE_TEMP_00 records it) and retains it for departure events. | |
| static void | TolbiShipInteriors_InstallRowingDeckActors (u32 action) |
| Restores each replacement rower or the original occupant of that seat. | |
| static void | TolbiShipInteriors_Say (s32 speaker) |
| static void | TolbiShipInteriors_Turn (s32 actorId, u16 facing) |
| Turns an actor to a facing over 10 frames. | |
| static void | TolbiShipInteriors_PlaceActor (s32 actorId, s32 x, s32 z, s32 facing) |
| Places an actor at pixel coordinates and sets its initial heading. | |
| static void | TolbiShipInteriors_MoveCameraAndWait (s32 x, s32 y, s32 z, u32 flags) |
| Moves the camera, optionally waits or redraws, then honors the packed delay. | |
| static void | TolbiShipInteriors_RunSceneCommand (s32 step, u32 arg, u32 opt) |
| Reuses the voyage's actor, camera, transition and selection operations. | |
| static s32 | TolbiShipInteriors_FindFirstSetFlag (u32 group, s32 alternate) |
| Finds the selected passenger or rowing-deck actor for a seat's flag group. | |
| static void | TolbiShipInteriors_HideSelectedPassengers (void) |
| Hides the four passengers who are already filling rowing seats. | |
| static void | TolbiShipInteriors_HideSelectedPassenger (s32 actorId, s32 firstFlag) |
| Hides the passenger whose selection flag is set in this seat's flag group. | |
| static void | TolbiShipInteriors_StartSecondAttack (void) |
| Stages the next monster encounter with one replacement rower. | |
| static void | TolbiShipInteriors_ReportMonstersBelowdecks (void) |
| Gathers the party after the crew reports monsters belowdecks. | |
| static void | TolbiShipInteriors_ReactToMonsterAttack (void) |
| The crew checks on the party after the monster fight, then resumes rowing. | |
| static void | TolbiShipInteriors_EndSecondAttack (void) |
| Restores one replacement rower after the next monster attack. | |
| static void | TolbiShipInteriors_StartThirdAttack (void) |
| Stages the next monster encounter with two replacement rowers. | |
| static void | TolbiShipInteriors_EndThirdAttack (void) |
| Restores two replacement rowers after the next monster attack. | |
| static void | TolbiShipInteriors_NoticeShipRocking (void) |
| The party notices the ship rocking and discusses the rowers' progress. | |
| static void | TolbiShipInteriors_ShakeWhileKrakenAboard (void) |
| Plays the intermittent voyage cue and restores its effect after ten frames. | |
| static void | TolbiShipInteriors_ShowCabinBeforeKraken (void) |
| Plays the short cabin exchange before returning to the voyage. | |
| static void | TolbiShipInteriors_ReachIsland (void) |
| Rests the rowers at the island and plays the selected passengers' responses. | |
| static void | TolbiShipInteriors_DismissReplacementRowers (void) |
| Returns the replacement rowers to their seats and exchanges their selections. | |
| static void | TolbiShipInteriors_SwapRowerSelections (s32 firstSeatFlags, s32 secondSeatFlags) |
| Exchanges the chosen passengers between two rowing seats. | |
| static s32 | TolbiShipInteriors_ResetActor (struct ScriptInterpreter *interpreter) |
| An action-script call: stands the actor still at the origin, with no velocity and no target. | |
| static s32 | TolbiShipInteriors_Bob (struct ScriptInterpreter *interpreter) |
| Bobs the actor between the floor and 8 pixels up by a random amount each frame. | |
| static s32 | TolbiShipInteriors_LookAround (struct ScriptInterpreter *interpreter) |
| Now and then (two chances in 64) turns the actor to face south-southeast or south-southwest. | |
| static void | TolbiShipInteriors_WaitThenAdvance (struct FieldActor *actor) |
| Counts the frames of a pause in riseCounter and moves the pacing actor to its next step after 80 frames. | |
| static s32 | TolbiShipInteriors_HasArrived (struct FieldActor *actor) |
| Counts down the actor's walking time in riseBaseY. | |
| static void | TolbiShipInteriors_PaceCabin (union FieldObject *fieldObject) |
| The update of a crewman who paces between two spots in the cabin, looking about at each, and signals actor 9 through riseEnabled at three points of the round. | |
| static void | TolbiShipInteriors_WatchPacer (union FieldObject *fieldObject) |
| The update of the actor who watches the pacing crewman: turns north-northeast at the first signal, shrugs at the second if still turned, and faces east at the third. | |
| static s32 | TolbiShipInteriors_LayFlat (struct ScriptInterpreter *interpreter) |
| An action-script call: lays the actor flat on the floor, drawn underfoot at priority 1 with its parts hidden. | |
| 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. | |
| static void | TolbiShipInteriors_TalkToCaptainsCabinActor10 (void) |
| Once the warriors want to see the captain, actor 10 asks whether the party wants to join them in forcing the launch. | |
| static void | TolbiShipInteriors_TalkToCaptainsCabinActor12 (void) |
| Actor 12 in the captain's cabin asks whether the party came to ask the captain to set sail. | |
| static void | TolbiShipInteriors_TalkToCaptain (void) |
| The captain, by the voyage's stage: too late to hire mercenaries, then his bad luck at losing his lucky anchor, then uncertain what might happen, and under sail the news of an injured oarsman. | |
| static void | TolbiShipInteriors_TalkToWaitingPassenger8 (void) |
| A passenger in the hold while the ship waits. | |
| static void | TolbiShipInteriors_TalkToWaitingPassenger10 (void) |
| Another waiting passenger, once the party has agreed to protect the ship, asks whether it will row. | |
| static void | TolbiShipInteriors_RejoinParty (s32 rowerId) |
| Walks the rower back to the leader and hides its separate scene actor. | |
| static void | TolbiShipInteriors_AskPassenger8ToRow (void) |
| Passenger 8 under sail, when an oar needs a rower. | |
| static void | TolbiShipInteriors_AskPassenger10ToRow (void) |
| The same for passenger 10. | |
| static void | TolbiShipInteriors_AskPassenger11ToRow (void) |
| The same for passenger 11, who is too seasick to talk once the ship is at anchor. | |
| static void | TolbiShipInteriors_AskPassenger12ToRow (void) |
| The same for passenger 12, written out in full rather than through TolbiShipInteriors_AskToRow. | |
| static void | TolbiShipInteriors_AskPassenger9ToRow (void) |
| The same for passenger 9, written out in full. | |
| static void | TolbiShipInteriors_AskPassenger13ToRow (void) |
| The same for passenger 13. | |
| static void | TolbiShipInteriors_AskPassenger14ToRow (void) |
| The same for passenger 14. | |
| static void | TolbiShipInteriors_AskPassenger15ToRow (void) |
| The same for passenger 15. | |
| static void | TolbiShipInteriors_AskPassenger16ToRow (void) |
| The same for passenger 16. | |
| static struct FieldActor * | TolbiShipInteriors_FindActorNear (s32 x, s32 z) |
| Finds a placed actor within twelve pixels of the requested floor position. | |
| static void | TolbiShipInteriors_TalkToRower18 (void) |
| A passenger at the oars, by the round they were chosen in: Kaja's men are worried, monsters are everywhere, or the ship is starting to list. | |
| static void | TolbiShipInteriors_TalkToRower19 (void) |
| The same for rower 19. | |
| static void | TolbiShipInteriors_TalkToRower20 (void) |
| The same for rower 20. | |
| static void | TolbiShipInteriors_TalkToRower21 (void) |
| Rower 21 asks how many monsters are out there. | |
| static void | TolbiShipInteriors_TalkToRower22 (void) |
| The same as rower 18, for rower 22. | |
| static void | TolbiShipInteriors_TalkToRower23 (void) |
| The same for rower 23. | |
| static void | TolbiShipInteriors_TalkToRower24 (void) |
| The same for rower 24. | |
| static void | TolbiShipInteriors_TalkToRower25 (void) |
| As rower 21, for rower 25. | |
| static void | TolbiShipInteriors_ReadRower18Mind (void) |
| Mind Read on a rower, by the round they were chosen in. | |
| static void | TolbiShipInteriors_ReadRower19Mind (void) |
| The same for rower 19. | |
| static void | TolbiShipInteriors_ReadRower20Mind (void) |
| The same for rower 20. | |
| static void | TolbiShipInteriors_ReadRower21Mind (void) |
| Mind Read on rower 21: there are so many monsters at sea. | |
| static void | TolbiShipInteriors_ReadRower22Mind (void) |
| As rower 18, for rower 22. | |
| static void | TolbiShipInteriors_ReadRower23Mind (void) |
| The same for rower 23. | |
| static void | TolbiShipInteriors_ReadRower24Mind (void) |
| The same for rower 24. | |
| static void | TolbiShipInteriors_ReadRower25Mind (void) |
| As rower 21, for rower 25. | |
| static void | TolbiShipInteriors_TalkToPriest (void) |
| The travelling priest. | |
| static void | TolbiShipInteriors_FightMonstersInHold (void) |
| Talking to one of the monsters in the hold (actors 36 to 38) starts the battle with them: group 62, its variant and the entrance the party comes back to chosen by how far the voyage has gone. | |
| static void | TolbiShipInteriors_TurnBackFromStairs (void) |
| While the monsters are aboard, the leader is walked back from the stairs. | |
| static void | TolbiShipInteriors_WatchCrewWonderAtDelay (void) |
| Once the warriors have gone to the captain, the three crewmen wonder what could have happened to the replacement ship. | |
| static void | TolbiShipInteriors_WatchWarriorsStormOff (void) |
| Once the party has heard of the delay at Kalay: Ouranos threatens to go ashore if the ship doesn't sail. | |
| static void | TolbiShipInteriors_ReturnLuckyAnchor (void) |
| Returns the captain's lucky anchor and agrees to protect the ship. | |
| s32 | TolbiShipInteriors_ApplyEntryState (void) |
| Restores the room or plays the event selected by this entrance. | |
| static void | TolbiShipInteriors_PlaceFoundActors (s32 gated) |
| Puts each recruited rower at its seat and hides the original occupant. | |
| static void | TolbiShipInteriors_PoseSceneActor (s32 id) |
| Applies the seated pose and rowing action assigned to this rower. | |
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 = 0 |
| 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. | |
| s32 | gTolbiShipInteriors_ShakeTimer |
| Frames left of the Kraken's current jolt; at 0 another may start. | |
Below the decks of the ship across the Karagol Sea: the captain's cabin, the passengers' hold and the rowing deck.
After each monster attack the party chooses which passenger rows at the empty seat; the attacks fought off number the seat being filled, and each seat has a group of flags, one for each passenger.
Definition in file tolbi_ship_interiors.c.
| #define FLAG_TOLBI_SHIP_ROWER_CHOSEN 0x300 |
a passenger follows the party
Definition at line 45 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AskPassenger10ToRow(), TolbiShipInteriors_AskPassenger11ToRow(), TolbiShipInteriors_AskPassenger12ToRow(), TolbiShipInteriors_AskPassenger13ToRow(), TolbiShipInteriors_AskPassenger14ToRow(), TolbiShipInteriors_AskPassenger15ToRow(), TolbiShipInteriors_AskPassenger16ToRow(), TolbiShipInteriors_AskPassenger8ToRow(), TolbiShipInteriors_AskPassenger9ToRow(), TolbiShipInteriors_AskToRow(), TolbiShipInteriors_IntroduceReplacementOarsman(), and TolbiShipInteriors_RunSceneCommand().
| #define FLAG_TOLBI_SHIP_MONSTERS_ABOARD 0x301 |
the hold's stairs are barred
Definition at line 46 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ReactToMonsterAttack(), TolbiShipInteriors_ReportMonstersBelowdecks(), TolbiShipInteriors_RunSceneCommand(), and TolbiShipInteriors_TurnBackFromStairs().
| #define FLAG_TOLBI_SHIP_KRAKEN_ABOARD 0x302 |
The Kraken is aboard: the deck shakes until it is defeated (tolbi_ship_deck.c reads it too).
"There's a huge sea monster on the ship!"
Definition at line 49 of file tolbi_ship_interiors.c.
| #define SPEAKER | ( | actor, | |
| window ) |
A speaker: the actor, and in the top four bits where the message window opens beside them.
Definition at line 91 of file tolbi_ship_interiors.c.
| #define TOLBI_SHIP_TALK_FACING | ( | bytes, | |
| row ) |
A byte view keeps the native address arithmetic; direct row-field writes choose different bases and registers.
The layout still belongs to the row.
Definition at line 358 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_SelectPlacements().
| #define TURN_STEP | ( | dx, | |
| dz ) |
The step beside the leader for each of the 16 facings: the high 16 bits are x, the low 16 bits z.
Definition at line 3903 of file tolbi_ship_interiors.c.
| enum ShipSceneCommand |
Operations shared by the cabin, passenger hold and rowing-deck events.
Definition at line 52 of file tolbi_ship_interiors.c.
The warriors bound for Colosso in the hold while the ship waits at Kalay (gTolbiShipInteriors_HoldPlacements): Ouranos and his friend Sean.
Ouranos "can't stand water".
| Enumerator | |
|---|---|
| HOLD_OURANOS | |
| HOLD_SEAN | |
Definition at line 84 of file tolbi_ship_interiors.c.
| anonymous enum |
| Enumerator | |
|---|---|
| CabinSpeakerRequest | |
Definition at line 1003 of file tolbi_ship_interiors.c.
|
static |
The chosen oarsman steps out beside the leader, on the leader's right if that spot is free, else on the left, else behind, and turns the way the leader faces.
Definition at line 954 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AskPassenger10ToRow(), TolbiShipInteriors_AskPassenger11ToRow(), TolbiShipInteriors_AskPassenger12ToRow(), TolbiShipInteriors_AskPassenger13ToRow(), TolbiShipInteriors_AskPassenger14ToRow(), TolbiShipInteriors_AskPassenger15ToRow(), TolbiShipInteriors_AskPassenger16ToRow(), TolbiShipInteriors_AskPassenger8ToRow(), TolbiShipInteriors_AskPassenger9ToRow(), and TolbiShipInteriors_StepBesideLeader().
Returns 1 when the spot next to the leader in the given sixteenth of a turn holds no actor and no wall, else 0.
Definition at line 1007 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_IsSpotFree(), and TolbiShipInteriors_StepBesideLeader().
|
static |
Returns the passenger chosen to row at the open seat, which the attacks fought off number.
Definition at line 1033 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AskPassenger10ToRow(), TolbiShipInteriors_AskPassenger11ToRow(), TolbiShipInteriors_AskPassenger12ToRow(), TolbiShipInteriors_AskPassenger13ToRow(), TolbiShipInteriors_AskPassenger14ToRow(), TolbiShipInteriors_AskPassenger15ToRow(), TolbiShipInteriors_AskPassenger16ToRow(), TolbiShipInteriors_AskPassenger8ToRow(), TolbiShipInteriors_AskPassenger9ToRow(), and TolbiShipInteriors_GetChosenOarsman().
Asks a passenger to row.
On yes they walk to the leader and leave with them, and the seat's flag for this passenger (seatFlag) and FLAG_TOLBI_SHIP_ROWER_CHOSEN are set; on no the next message refuses.
Definition at line 1253 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AskPassenger10ToRow(), TolbiShipInteriors_AskPassenger11ToRow(), TolbiShipInteriors_AskPassenger13ToRow(), TolbiShipInteriors_AskPassenger14ToRow(), TolbiShipInteriors_AskPassenger15ToRow(), TolbiShipInteriors_AskPassenger16ToRow(), TolbiShipInteriors_AskPassenger8ToRow(), and TolbiShipInteriors_AskToRow().
|
static |
The passengers pressure the captain to launch despite the missing anchor.
Definition at line 1522 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_DiscussLaunchingWithoutAnchor(), and TolbiShipInteriors_TalkToCaptainsCabinActor10().
|
static |
Restores the cabin's actors after the anchor and departure conversations.
Definition at line 2173 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), and TolbiShipInteriors_SetUpCabin().
|
static |
Restores the passenger hold after recruitment and departure events.
Definition at line 2228 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), and TolbiShipInteriors_SetUpHold().
|
static |
Restores the rowing deck and introduces a newly recruited replacement.
Definition at line 2270 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), and TolbiShipInteriors_SetUpRowingDeck().
|
static |
Sets collision bit 3 on the eight actors surrounding the rowing seats.
Definition at line 2320 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ReachIsland(), TolbiShipInteriors_SetSeatActorCollision(), TolbiShipInteriors_SetUpRowingDeck(), TolbiShipInteriors_StartFirstAttack(), TolbiShipInteriors_StartSecondAttack(), and TolbiShipInteriors_StartThirdAttack().
|
static |
The crew explains the missing replacements and asks the party to find rowers.
Definition at line 2366 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AskForReplacementOarsmen(), and TolbiShipInteriors_SetUpRowingDeck().
|
static |
Raises the anchor charm and announces the ship's first departure.
Definition at line 2495 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), and TolbiShipInteriors_CastOff().
|
static |
Announces departure after a replacement rower has joined the crew.
Definition at line 2523 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AnnounceDeparture(), and TolbiShipInteriors_ApplyEntryState().
|
static |
Calls the first passenger to the rowing deck.
Definition at line 2534 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), and TolbiShipInteriors_CallActorSixteenToRow().
|
static |
Calls a replacement rower back to the rowing deck.
Definition at line 2553 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), and TolbiShipInteriors_CallActorEighteenToRow().
|
static |
Restores the rowing deck for the current set of selected passengers.
Definition at line 2571 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), and TolbiShipInteriors_ShowRowing().
|
static |
Asks the crew about the monsters before returning belowdecks.
Definition at line 2620 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), and TolbiShipInteriors_AskAboutMonsters().
|
static |
Announces the ship's next turn and returns control to the rowing deck.
Definition at line 2633 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AnnounceTurn(), and TolbiShipInteriors_ApplyEntryState().
|
static |
Stages the first monster encounter with the original rowers.
Definition at line 2646 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), and TolbiShipInteriors_StartFirstAttack().
|
static |
Restores the original rowers after the first monster attack.
Definition at line 2668 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), and TolbiShipInteriors_EndFirstAttack().
|
static |
Introduces the selected passenger and leads them to the open rowing seat.
Definition at line 2679 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_IntroduceReplacementOarsman(), and TolbiShipInteriors_SetUpRowingDeck().
|
static |
Creates the visible anchor charm once a visit (FLAG_SCENE_TEMP_00 records it) and retains it for departure events.
Definition at line 2790 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_CastOff(), TolbiShipInteriors_PlaceAnchorCharm(), TolbiShipInteriors_RunSceneCommand(), and TolbiShipInteriors_SetUpCabin().
|
static |
Restores each replacement rower or the original occupant of that seat.
Definition at line 2816 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_InstallRowingDeckActors(), TolbiShipInteriors_NoticeShipRocking(), TolbiShipInteriors_ReachIsland(), and TolbiShipInteriors_ShowRowing().
|
static |
Definition at line 2902 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AnnounceTurn(), TolbiShipInteriors_AskForReplacementOarsmen(), TolbiShipInteriors_AskPassenger10ToRow(), TolbiShipInteriors_AskPassenger11ToRow(), TolbiShipInteriors_AskPassenger12ToRow(), TolbiShipInteriors_AskPassenger13ToRow(), TolbiShipInteriors_AskPassenger14ToRow(), TolbiShipInteriors_AskPassenger15ToRow(), TolbiShipInteriors_AskPassenger16ToRow(), TolbiShipInteriors_AskPassenger8ToRow(), TolbiShipInteriors_AskPassenger9ToRow(), TolbiShipInteriors_AskToRow(), TolbiShipInteriors_DiscussLaunchingWithoutAnchor(), TolbiShipInteriors_DismissReplacementRowers(), TolbiShipInteriors_IntroduceReplacementOarsman(), TolbiShipInteriors_NoticeShipRocking(), TolbiShipInteriors_ReachIsland(), TolbiShipInteriors_ReactToMonsterAttack(), TolbiShipInteriors_ReportMonstersBelowdecks(), TolbiShipInteriors_ReturnLuckyAnchor(), TolbiShipInteriors_Say(), TolbiShipInteriors_TalkToCaptain(), TolbiShipInteriors_TalkToWaitingPassenger8(), TolbiShipInteriors_WatchCrewWonderAtDelay(), and TolbiShipInteriors_WatchWarriorsStormOff().
Turns an actor to a facing over 10 frames.
Definition at line 2908 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AskForReplacementOarsmen(), TolbiShipInteriors_CastOff(), TolbiShipInteriors_DiscussLaunchingWithoutAnchor(), TolbiShipInteriors_DismissReplacementRowers(), TolbiShipInteriors_IntroduceReplacementOarsman(), TolbiShipInteriors_NoticeShipRocking(), TolbiShipInteriors_ReachIsland(), TolbiShipInteriors_ReactToMonsterAttack(), TolbiShipInteriors_ReportMonstersBelowdecks(), TolbiShipInteriors_ReturnLuckyAnchor(), TolbiShipInteriors_RunSceneCommand(), TolbiShipInteriors_StepBesideLeader(), TolbiShipInteriors_TalkToWaitingPassenger8(), TolbiShipInteriors_Turn(), TolbiShipInteriors_TurnBackFromStairs(), TolbiShipInteriors_WatchCrewWonderAtDelay(), and TolbiShipInteriors_WatchWarriorsStormOff().
Places an actor at pixel coordinates and sets its initial heading.
Definition at line 2913 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AskForReplacementOarsmen(), TolbiShipInteriors_DismissReplacementRowers(), TolbiShipInteriors_IntroduceReplacementOarsman(), TolbiShipInteriors_PlaceActor(), TolbiShipInteriors_PlaceFoundActors(), TolbiShipInteriors_ReactToMonsterAttack(), TolbiShipInteriors_RunSceneCommand(), TolbiShipInteriors_SetUpCabin(), TolbiShipInteriors_SetUpHold(), TolbiShipInteriors_SetUpRowingDeck(), and TolbiShipInteriors_ShowCabinBeforeKraken().
Moves the camera, optionally waits or redraws, then honors the packed delay.
Definition at line 2920 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AskForReplacementOarsmen(), TolbiShipInteriors_CallActorEighteenToRow(), TolbiShipInteriors_CallActorSixteenToRow(), TolbiShipInteriors_DiscussLaunchingWithoutAnchor(), TolbiShipInteriors_MoveCameraAndWait(), TolbiShipInteriors_NoticeShipRocking(), TolbiShipInteriors_ReachIsland(), TolbiShipInteriors_ReactToMonsterAttack(), TolbiShipInteriors_ReportMonstersBelowdecks(), TolbiShipInteriors_RunSceneCommand(), TolbiShipInteriors_WatchCrewWonderAtDelay(), and TolbiShipInteriors_WatchWarriorsStormOff().
Reuses the voyage's actor, camera, transition and selection operations.
Each command names how it interprets the two arguments below.
Definition at line 2935 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AnnounceDeparture(), TolbiShipInteriors_AnnounceTurn(), TolbiShipInteriors_ApplyEntryState(), TolbiShipInteriors_AskAboutMonsters(), TolbiShipInteriors_AskForReplacementOarsmen(), TolbiShipInteriors_CallActorEighteenToRow(), TolbiShipInteriors_CallActorSixteenToRow(), TolbiShipInteriors_CastOff(), TolbiShipInteriors_DismissReplacementRowers(), TolbiShipInteriors_EndFirstAttack(), TolbiShipInteriors_EndSecondAttack(), TolbiShipInteriors_EndThirdAttack(), TolbiShipInteriors_InstallRowingDeckActors(), TolbiShipInteriors_IntroduceReplacementOarsman(), TolbiShipInteriors_NoticeShipRocking(), TolbiShipInteriors_ReachIsland(), TolbiShipInteriors_ReactToMonsterAttack(), TolbiShipInteriors_ReportMonstersBelowdecks(), TolbiShipInteriors_ReturnLuckyAnchor(), TolbiShipInteriors_RunSceneCommand(), TolbiShipInteriors_SetUpCabin(), TolbiShipInteriors_SetUpHold(), TolbiShipInteriors_SetUpRowingDeck(), TolbiShipInteriors_ShowCabinBeforeKraken(), TolbiShipInteriors_ShowRowing(), TolbiShipInteriors_StartFirstAttack(), TolbiShipInteriors_StartSecondAttack(), and TolbiShipInteriors_StartThirdAttack().
Finds the selected passenger or rowing-deck actor for a seat's flag group.
Definition at line 3208 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_DismissReplacementRowers(), TolbiShipInteriors_EndSecondAttack(), TolbiShipInteriors_EndThirdAttack(), TolbiShipInteriors_FindFirstSetFlag(), TolbiShipInteriors_GetChosenOarsman(), TolbiShipInteriors_InstallRowingDeckActors(), TolbiShipInteriors_IntroduceReplacementOarsman(), TolbiShipInteriors_NoticeShipRocking(), TolbiShipInteriors_PlaceFoundActors(), TolbiShipInteriors_ReachIsland(), TolbiShipInteriors_StartSecondAttack(), and TolbiShipInteriors_StartThirdAttack().
|
static |
Hides the four passengers who are already filling rowing seats.
Definition at line 3239 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_CallActorEighteenToRow(), TolbiShipInteriors_HideSelectedPassengers(), and TolbiShipInteriors_SetUpHold().
Hides the passenger whose selection flag is set in this seat's flag group.
Definition at line 3251 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_HideSelectedPassenger(), and TolbiShipInteriors_HideSelectedPassengers().
|
static |
Stages the next monster encounter with one replacement rower.
Definition at line 3267 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), and TolbiShipInteriors_StartSecondAttack().
|
static |
Gathers the party after the crew reports monsters belowdecks.
Definition at line 3292 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ReportMonstersBelowdecks(), TolbiShipInteriors_StartFirstAttack(), TolbiShipInteriors_StartSecondAttack(), and TolbiShipInteriors_StartThirdAttack().
|
static |
The crew checks on the party after the monster fight, then resumes rowing.
Definition at line 3356 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_EndFirstAttack(), TolbiShipInteriors_EndSecondAttack(), TolbiShipInteriors_EndThirdAttack(), and TolbiShipInteriors_ReactToMonsterAttack().
|
static |
Restores one replacement rower after the next monster attack.
Definition at line 3447 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), and TolbiShipInteriors_EndSecondAttack().
|
static |
Stages the next monster encounter with two replacement rowers.
Definition at line 3462 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), and TolbiShipInteriors_StartThirdAttack().
|
static |
Restores two replacement rowers after the next monster attack.
Definition at line 3492 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), and TolbiShipInteriors_EndThirdAttack().
|
static |
The party notices the ship rocking and discusses the rowers' progress.
Definition at line 3510 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), and TolbiShipInteriors_NoticeShipRocking().
|
static |
Plays the intermittent voyage cue and restores its effect after ten frames.
Definition at line 3636 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), TolbiShipInteriors_NoticeShipRocking(), and TolbiShipInteriors_ShakeWhileKrakenAboard().
|
static |
Plays the short cabin exchange before returning to the voyage.
Definition at line 3656 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), and TolbiShipInteriors_ShowCabinBeforeKraken().
|
static |
Rests the rowers at the island and plays the selected passengers' responses.
Definition at line 3671 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), and TolbiShipInteriors_ReachIsland().
|
static |
Returns the replacement rowers to their seats and exchanges their selections.
Definition at line 3797 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), and TolbiShipInteriors_DismissReplacementRowers().
Exchanges the chosen passengers between two rowing seats.
Definition at line 3873 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_DismissReplacementRowers(), and TolbiShipInteriors_SwapRowerSelections().
|
static |
An action-script call: stands the actor still at the origin, with no velocity and no target.
Returns 0.
Definition at line 145 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ResetActor().
|
static |
Bobs the actor between the floor and 8 pixels up by a random amount each frame.
Returns 1.
Definition at line 159 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_Bob().
|
static |
Now and then (two chances in 64) turns the actor to face south-southeast or south-southwest.
Returns 1.
Definition at line 188 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_LookAround().
|
static |
Counts the frames of a pause in riseCounter and moves the pacing actor to its next step after 80 frames.
Definition at line 204 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_PaceCabin(), and TolbiShipInteriors_WaitThenAdvance().
|
static |
Counts down the actor's walking time in riseBaseY.
Returns 1 once the time is up or the actor has reached its target, else 0.
Definition at line 216 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_HasArrived(), and TolbiShipInteriors_PaceCabin().
|
static |
The update of a crewman who paces between two spots in the cabin, looking about at each, and signals actor 9 through riseEnabled at three points of the round.
While actor 8 is paused he sends no signals. work holds the step.
Definition at line 234 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_PaceCabin(), and TolbiShipInteriors_SetUpCabin().
|
static |
The update of the actor who watches the pacing crewman: turns north-northeast at the first signal, shrugs at the second if still turned, and faces east at the third.
Does nothing while paused.
Definition at line 306 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_SetUpCabin(), and TolbiShipInteriors_WatchPacer().
|
static |
An action-script call: lays the actor flat on the floor, drawn underfoot at priority 1 with its parts hidden.
Returns 1.
Definition at line 330 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_LayFlat().
| const struct SceneEntrance * TolbiShipInteriors_SelectEntrances | ( | void | ) |
Definition at line 343 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_SelectEntrances().
| const struct SceneRegion * TolbiShipInteriors_GetRegions | ( | void | ) |
Definition at line 350 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_GetRegions().
| const u32 * TolbiShipInteriors_GetExits | ( | void | ) |
Definition at line 352 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_GetExits().
| 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().
| 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().
|
static |
Once the warriors want to see the captain, actor 10 asks whether the party wants to join them in forcing the launch.
Definition at line 507 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_TalkToCaptainsCabinActor10().
|
static |
Actor 12 in the captain's cabin asks whether the party came to ask the captain to set sail.
Definition at line 534 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_TalkToCaptainsCabinActor12().
|
static |
The captain, by the voyage's stage: too late to hire mercenaries, then his bad luck at losing his lucky anchor, then uncertain what might happen, and under sail the news of an injured oarsman.
After finding the Anchor Charm, talking to him also sets the event work's unk172 request.
Definition at line 545 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_TalkToCaptain().
|
static |
A passenger in the hold while the ship waits.
Once the party has agreed to protect the ship, she worries the proud warriors won't like being told to row, and asks the party.
Definition at line 574 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_TalkToWaitingPassenger8().
|
static |
Another waiting passenger, once the party has agreed to protect the ship, asks whether it will row.
"Are you going to row?"
Definition at line 601 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_TalkToWaitingPassenger10().
|
inlinestatic |
Walks the rower back to the leader and hides its separate scene actor.
Definition at line 614 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AskPassenger10ToRow(), TolbiShipInteriors_AskPassenger11ToRow(), TolbiShipInteriors_AskPassenger12ToRow(), TolbiShipInteriors_AskPassenger13ToRow(), TolbiShipInteriors_AskPassenger14ToRow(), TolbiShipInteriors_AskPassenger15ToRow(), TolbiShipInteriors_AskPassenger16ToRow(), TolbiShipInteriors_AskPassenger8ToRow(), TolbiShipInteriors_AskPassenger9ToRow(), and TolbiShipInteriors_RejoinParty().
|
static |
Passenger 8 under sail, when an oar needs a rower.
If someone has already been chosen this round, the chosen passenger steps beside the leader and follows them out; otherwise the party may ask passenger 8 to row at the open seat.
Definition at line 631 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AskPassenger8ToRow().
|
static |
The same for passenger 10.
Definition at line 658 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AskPassenger10ToRow().
|
static |
The same for passenger 11, who is too seasick to talk once the ship is at anchor.
Definition at line 686 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AskPassenger11ToRow().
|
static |
The same for passenger 12, written out in full rather than through TolbiShipInteriors_AskToRow.
Definition at line 721 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AskPassenger12ToRow().
|
static |
The same for passenger 9, written out in full.
Definition at line 765 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AskPassenger9ToRow().
|
static |
The same for passenger 13.
Definition at line 809 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AskPassenger13ToRow().
|
static |
The same for passenger 14.
Definition at line 836 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AskPassenger14ToRow().
|
static |
The same for passenger 15.
Definition at line 863 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AskPassenger15ToRow().
|
static |
The same for passenger 16.
Definition at line 890 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_AskPassenger16ToRow().
|
static |
Finds a placed actor within twelve pixels of the requested floor position.
Definition at line 921 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_FindActorNear(), and TolbiShipInteriors_IsSpotFree().
|
static |
A passenger at the oars, by the round they were chosen in: Kaja's men are worried, monsters are everywhere, or the ship is starting to list.
Definition at line 1050 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_TalkToRower18().
|
static |
The same for rower 19.
Definition at line 1063 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_TalkToRower19().
|
static |
The same for rower 20.
Definition at line 1076 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_TalkToRower20().
|
static |
Rower 21 asks how many monsters are out there.
Definition at line 1089 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_TalkToRower21().
|
static |
The same as rower 18, for rower 22.
Definition at line 1100 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_TalkToRower22().
|
static |
The same for rower 23.
Definition at line 1113 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_TalkToRower23().
|
static |
The same for rower 24.
Definition at line 1126 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_TalkToRower24().
|
static |
As rower 21, for rower 25.
Definition at line 1139 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_TalkToRower25().
|
static |
Mind Read on a rower, by the round they were chosen in.
"Just hurry up and slay that beast!"
Definition at line 1151 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ReadRower18Mind().
|
static |
The same for rower 19.
Definition at line 1164 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ReadRower19Mind().
|
static |
The same for rower 20.
Definition at line 1177 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ReadRower20Mind().
|
static |
Mind Read on rower 21: there are so many monsters at sea.
Definition at line 1190 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ReadRower21Mind().
|
static |
As rower 18, for rower 22.
Definition at line 1201 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ReadRower22Mind().
|
static |
The same for rower 23.
Definition at line 1214 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ReadRower23Mind().
|
static |
The same for rower 24.
Definition at line 1227 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ReadRower24Mind().
|
static |
As rower 21, for rower 25.
Definition at line 1240 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ReadRower25Mind().
|
static |
The travelling priest.
From in front of him (the leader facing roughly east) he opens his sanctum; otherwise he talks by the voyage's stage. Under sail, until the ship is docked, he is actor 17, else actor 15.
Definition at line 1282 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_TalkToPriest().
|
static |
Talking to one of the monsters in the hold (actors 36 to 38) starts the battle with them: group 62, its variant and the entrance the party comes back to chosen by how far the voyage has gone.
Definition at line 1321 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_FightMonstersInHold().
|
static |
While the monsters are aboard, the leader is walked back from the stairs.
"Where are you going, Isaac? Slay the beasts and save my mates!"
Definition at line 1346 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_TurnBackFromStairs().
|
static |
Once the warriors have gone to the captain, the three crewmen wonder what could have happened to the replacement ship.
Definition at line 1360 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_WatchCrewWonderAtDelay().
|
static |
Once the party has heard of the delay at Kalay: Ouranos threatens to go ashore if the ship doesn't sail.
Actor 12 can't say when it will, so Sean and Ouranos set off to make the captain set sail, and actor 12 ("I don't want any violence!") hurries after them past the party.
Definition at line 1397 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_WatchWarriorsStormOff().
|
static |
Returns the captain's lucky anchor and agrees to protect the ship.
Definition at line 1768 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ReturnLuckyAnchor().
| 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().
|
static |
Puts each recruited rower at its seat and hides the original occupant.
Definition at line 2331 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_EndSecondAttack(), TolbiShipInteriors_EndThirdAttack(), TolbiShipInteriors_IntroduceReplacementOarsman(), TolbiShipInteriors_PlaceFoundActors(), and TolbiShipInteriors_RunSceneCommand().
|
static |
Applies the seated pose and rowing action assigned to this rower.
Definition at line 2870 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_PoseSceneActor(), and TolbiShipInteriors_RunSceneCommand().
| s32 gTolbiShipInteriors_TurnSteps[] |
Definition at line 3905 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_IsSpotFree(), and TolbiShipInteriors_StepBesideLeader().
| s32 gTolbiShipInteriors_LeaveHold[] |
The warriors walk out of the hold.
Definition at line 3913 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_WatchWarriorsStormOff().
| s32 gTolbiShipInteriors_LeaveCabin[] |
Those gathered in the cabin walk out.
Definition at line 3921 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ReturnLuckyAnchor().
| s32 gTolbiShipInteriors_AnchorCharmPulse[] |
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().
| s32 gTolbiShipInteriors_FollowersRejoinByStairs[] |
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().
| s32 gTolbiShipInteriors_FollowersRejoinMidDeck[] |
The same, in the middle of the rowing deck.
Definition at line 3959 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ReactToMonsterAttack().
| s32 gTolbiShipInteriors_FollowersRejoinBySeats[] |
The same, by the first row of seats.
Definition at line 3966 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_NoticeShipRocking().
| s32 gTolbiShipInteriors_Shiver[] |
Squashes and stretches the actor over and over: a shiver.
Definition at line 3973 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_RunSceneCommand(), TolbiShipInteriors_SetUpHold(), TolbiShipInteriors_StartFirstAttack(), TolbiShipInteriors_StartSecondAttack(), and TolbiShipInteriors_StartThirdAttack().
| s32 gTolbiShipInteriors_MonsterBob[] |
A monster in the hold bobs in place.
Definition at line 3992 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), TolbiShipInteriors_StartFirstAttack(), TolbiShipInteriors_StartSecondAttack(), and TolbiShipInteriors_StartThirdAttack().
| s32 gTolbiShipInteriors_LeaveByStairs[] |
A rower walks up the stairs and is freed.
Definition at line 3999 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ReachIsland().
| s32 gTolbiShipInteriors_StepIntoAisle[] |
A rower steps into the aisle.
Definition at line 4006 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ReachIsland().
| s32 gTolbiShipInteriors_LookAroundScript[] |
A passenger glances about at random.
Definition at line 4014 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_SetUpHold().
| s32 gTolbiShipInteriors_LieFlatScript[] |
Lies flat on the floor of the hold.
Definition at line 4019 of file tolbi_ship_interiors.c.
| struct FieldActor* gTolbiShipInteriors_AnchorObject = 0 |
The Anchor Charm's object, once placed this visit.
Definition at line 4024 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_PlaceAnchorCharm().
| struct SceneEntrance gTolbiShipInteriors_EntrancesOther[] |
The other scenes have no entrances.
Definition at line 4027 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_SelectEntrances().
| 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).
Definition at line 4033 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_SelectEntrances().
| u32 gTolbiShipInteriors_Exits[] |
Definition at line 4058 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_GetExits().
| struct ScenePlacement gTolbiShipInteriors_PlacementsNone[] |
Definition at line 4068 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_SelectPlacements().
| struct ScenePlacement gTolbiShipInteriors_CabinPlacements[] |
Definition at line 4073 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_SelectPlacements().
| struct ScenePlacement gTolbiShipInteriors_CabinPlacementsWarriors[] |
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().
| struct ScenePlacement gTolbiShipInteriors_CabinPlacementsArrived[] |
The cabin once the ship has reached Tolbi.
Definition at line 4108 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_SelectPlacements().
| struct ScenePlacement gTolbiShipInteriors_HoldPlacementsEmpty[] |
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().
| struct ScenePlacement gTolbiShipInteriors_HoldPlacements[] |
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().
| struct ScenePlacement gTolbiShipInteriors_HoldPlacementsAtSea[] |
The hold at sea, once the passengers row.
Definition at line 4147 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_SelectPlacements().
| 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).
Definition at line 4178 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_SelectPlacements().
| struct ScenePlacement gTolbiShipInteriors_PartyFollowerPlacements[] |
The party's followers, placed for a scene.
Definition at line 4239 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_RunSceneCommand().
| struct ScenePlacement gTolbiShipInteriors_FirstAttackMonsters[] |
The monsters of each attack, beside the seats.
Definition at line 4250 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_RunSceneCommand().
| struct ScenePlacement gTolbiShipInteriors_SecondAttackMonsters[] |
Definition at line 4260 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_RunSceneCommand().
| struct ScenePlacement gTolbiShipInteriors_ThirdAttackMonsters[] |
Definition at line 4270 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_RunSceneCommand().
| struct SceneEvent gTolbiShipInteriors_EventsOther[] |
The side room, and the cutscenes.
Definition at line 4281 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_SelectEvents().
| struct SceneEvent gTolbiShipInteriors_HoldEvents[] |
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().
| struct SceneEvent gTolbiShipInteriors_HoldEventsChoosingRowers[] |
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().
| struct SceneEvent gTolbiShipInteriors_HoldEventsAtIsland[] |
The hold while the ship waits off the island.
Definition at line 4354 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_SelectEvents().
| struct SceneEvent gTolbiShipInteriors_CabinEvents[] |
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().
| struct SceneEvent gTolbiShipInteriors_CabinEventsAtIsland[] |
The cabin while the ship waits off the island.
Definition at line 4410 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_SelectEvents().
| struct SceneEvent gTolbiShipInteriors_CabinEventsArrived[] |
The cabin once the ship has reached Tolbi.
Definition at line 4421 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_SelectEvents().
| struct SceneEvent gTolbiShipInteriors_RowingDeckEvents[] |
Definition at line 4429 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_SelectEvents().
| struct SceneEvent gTolbiShipInteriors_RowingDeckEventsMonstersAboard[] |
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().
| struct SceneEvent gTolbiShipInteriors_RowingDeckEventsKrakenAboard[] |
The rowing deck while the Kraken rocks the ship.
Definition at line 4513 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_SelectEvents().
| struct SceneEvent gTolbiShipInteriors_RowingDeckEventsArrived[] |
The rowing deck once the ship has reached Tolbi.
Definition at line 4551 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_SelectEvents().
| s32 gTolbiShipInteriors_ShakeTimer |
Frames left of the Kraken's current jolt; at 0 another may start.
Definition at line 4570 of file tolbi_ship_interiors.c.
Referenced by TolbiShipInteriors_ApplyEntryState(), TolbiShipInteriors_NoticeShipRocking(), and TolbiShipInteriors_ShakeWhileKrakenAboard().