The Kalay and Tolbi docks: tickets, boarding, the crossing's aftermath, and the passengers waiting for the ship to leave again. More...
Go to the source code of this file.
Enumerations | |
| enum | KalayTolbiDocksActor { ACTOR_WORRIED_FATHER = 11 , ACTOR_GATEKEEPER = 12 , ACTOR_DOCK_WORKER = 13 , ACTOR_VENUS_DJINNI = 14 , ACTOR_ARRIVALS_GREETER = 8 , ACTOR_WAITING_DAUGHTER = 11 , ACTOR_FIRST_BLOCK = 14 , ACTOR_SECOND_BLOCK = 15 , ACTOR_ANGRY_PASSENGER = 10 , ACTOR_STRANDED_PASSENGER = 11 , ACTOR_TOUR_GUIDE = 13 , ACTOR_BODYGUARD = 16 , ACTOR_TICKET_SELLER = 8 } |
| The three maps share actor numbers; each is named on the map it is proved. More... | |
Functions | |
| static void | KalayTolbiDocks_PrepareKalayDocks (void) |
| On the first arrival at the Kalay docks, Garet runs to see the Karagol. | |
| static void | KalayTolbiDocks_PrepareTolbiDocks (void) |
| On the Tolbi docks the two blocks settle into the pier's cells. | |
| static void | KalayTolbiDocks_PrepareTicketOffice (void) |
| The ticket office opens with a window transition and no location name. | |
| static void | KalayTolbiDocks_UpdateBlockCells (void) |
| After either block is moved, the pier's cells under both are rebuilt. | |
| static void | KalayTolbiDocks_SettleBlock (s32 actorId) |
| Stops a dock block's idle motion and sets its sprite priority. | |
| static void | KalayTolbiDocks_GaretSeesTheKaragol (void) |
| Garet runs to the edge of the Kalay docks and marvels at the sea. | |
| static void | KalayTolbiDocks_RecruitVenusDjinni (void) |
| Adds the Venus Djinni waiting at the Kalay docks. | |
| const struct SceneEntrance * | KalayTolbiDocks_GetEntrances (void) |
| Selects the entrance positions for the departure, arrival or ticket office. | |
| const struct SceneRegion * | KalayTolbiDocks_GetRegions (void) |
| const u32 * | KalayTolbiDocks_GetExits (void) |
| The docks list no numbered exits. | |
| const struct ScenePlacement * | KalayTolbiDocks_GetPlacements (void) |
| Each map has its people before the ship sails, once it has gone and not come back (flag 0x93e), and once the passengers are stranded (flag 0x950). | |
| static void | KalayTolbiDocks_PassengerGreetsArrivals (void) |
| Stepping off the ship at Tolbi, the leader walks a few steps and a passenger hurries over to stand beside the party. | |
| const struct SceneEvent * | KalayTolbiDocks_GetEvents (void) |
| Selects dialogue and interactions for the current port and voyage state. | |
| static void | KalayTolbiDocks_AskAboutTolbiCrossing (void) |
| A man on the Kalay docks asks whether the party wants to go to Tolbi. | |
| static void | KalayTolbiDocks_TalkToWorriedFather (void) |
| The father asks whether the party is taking the ship. | |
| static void | KalayTolbiDocks_RemindBoardShip (void) |
| Spoken to on the shore after boarding, the gatekeeper asks the party to board the ship when it is finished. | |
| static void | KalayTolbiDocks_TalkToGatekeeper (void) |
| The gatekeeper at the gangway. | |
| static void | KalayTolbiDocks_TalkToDockWorker (void) |
| The dock worker explains the tickets: hand one over to board, give it to the gatekeeper, or wait on board for the ship to sail. | |
| static void | KalayTolbiDocks_TalkToTicketSeller (void) |
| The ticket seller offers tickets for the four of them at 600 coins, with the party's coins shown beside the question. | |
| static void | KalayTolbiDocks_AskAboutRoughCrossing (void) |
| A passenger at Tolbi has heard the party was attacked by a monster on the crossing, and asks whether that is true. | |
| static void | KalayTolbiDocks_AskAboutSeasickTourists (void) |
| A man at Tolbi asks whether the upset tourists got seasick. | |
| static void | KalayTolbiDocks_TalkToWaitingDaughter (void) |
| The daughter at Tolbi looks for her parents among the passengers. | |
| static void | KalayTolbiDocks_OpenDoorAndLeave (void) |
| Walking north into the docks' door, the door opens and the leader walks through it to the town. | |
| s32 | KalayTolbiDocks_Initialize (void) |
| Prepares whichever of the three maps is entered. | |
| static void | KalayTolbiDocks_PassengersConfrontTourGuide (void) |
| Stepping onto the stranded Tolbi docks, the party watches the tour guide tell an angry passenger his ticket was refunded. | |
The Kalay and Tolbi docks: tickets, boarding, the crossing's aftermath, and the passengers waiting for the ship to leave again.
Definition in file kalay_tolbi_docks.c.
| enum KalayTolbiDocksActor |
The three maps share actor numbers; each is named on the map it is proved.
Definition at line 39 of file kalay_tolbi_docks.c.
|
static |
On the first arrival at the Kalay docks, Garet runs to see the Karagol.
Coming back from the ship clears the shore leave, and once the tour has left the gatekeeper stands at the gangway until the party goes ashore.
Definition at line 476 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_Initialize(), and KalayTolbiDocks_PrepareKalayDocks().
|
static |
On the Tolbi docks the two blocks settle into the pier's cells.
The passenger who met the party stays beside the ship, and after the confrontation the guide, the bodyguard and the two passengers keep where it left them, the angry one still lying on the ground.
Definition at line 500 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_Initialize(), and KalayTolbiDocks_PrepareTolbiDocks().
|
static |
The ticket office opens with a window transition and no location name.
Definition at line 546 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_Initialize(), and KalayTolbiDocks_PrepareTicketOffice().
|
static |
After either block is moved, the pier's cells under both are rebuilt.
Definition at line 552 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_PrepareTolbiDocks(), and KalayTolbiDocks_UpdateBlockCells().
|
static |
Stops a dock block's idle motion and sets its sprite priority.
Definition at line 568 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_SettleBlock(), and KalayTolbiDocks_UpdateBlockCells().
|
static |
Garet runs to the edge of the Kalay docks and marvels at the sea.
"Incredible! So this is the ocean Kraden was talking about!" The man who asks travellers about Tolbi (actor 8) walks over, shaking his head: the Karagol is surrounded by land, so it is not a real ocean. Garet means to see a real one someday, nods with the leader and rejoins the party.
Definition at line 582 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GaretSeesTheKaragol(), and KalayTolbiDocks_PrepareKalayDocks().
|
static |
Adds the Venus Djinni waiting at the Kalay docks.
Definition at line 67 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_RecruitVenusDjinni().
| const struct SceneEntrance * KalayTolbiDocks_GetEntrances | ( | void | ) |
Selects the entrance positions for the departure, arrival or ticket office.
Definition at line 72 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetEntrances().
| const struct SceneRegion * KalayTolbiDocks_GetRegions | ( | void | ) |
Definition at line 87 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetRegions().
| const u32 * KalayTolbiDocks_GetExits | ( | void | ) |
The docks list no numbered exits.
Definition at line 90 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetExits().
| const struct ScenePlacement * KalayTolbiDocks_GetPlacements | ( | void | ) |
Each map has its people before the ship sails, once it has gone and not come back (flag 0x93e), and once the passengers are stranded (flag 0x950).
Definition at line 94 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetPlacements().
|
static |
Stepping off the ship at Tolbi, the leader walks a few steps and a passenger hurries over to stand beside the party.
Definition at line 126 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_PassengerGreetsArrivals().
| const struct SceneEvent * KalayTolbiDocks_GetEvents | ( | void | ) |
Selects dialogue and interactions for the current port and voyage state.
Definition at line 138 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetEvents().
|
static |
A man on the Kalay docks asks whether the party wants to go to Tolbi.
Definition at line 169 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_AskAboutTolbiCrossing().
|
static |
The father asks whether the party is taking the ship.
If it is, he asks it to tell his daughter in Tolbi that the tickets were too expensive for her mother to come; afterwards he repeats the message.
Definition at line 179 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_TalkToWorriedFather().
|
static |
Spoken to on the shore after boarding, the gatekeeper asks the party to board the ship when it is finished.
Definition at line 200 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_RemindBoardShip().
|
static |
The gatekeeper at the gangway.
Facing him from the east, the party is asked for its tickets: with one bought he steps aside, takes it and lets the party aboard. Once aboard, he offers to let the party go ashore again.
Definition at line 223 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_TalkToGatekeeper().
|
static |
The dock worker explains the tickets: hand one over to board, give it to the gatekeeper, or wait on board for the ship to sail.
Definition at line 283 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_TalkToDockWorker().
|
static |
The ticket seller offers tickets for the four of them at 600 coins, with the party's coins shown beside the question.
Declining, the leader shakes his head; without enough coins the seller refuses; otherwise the party gets its ticket and pays.
Definition at line 304 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_TalkToTicketSeller().
|
static |
A passenger at Tolbi has heard the party was attacked by a monster on the crossing, and asks whether that is true.
Definition at line 378 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_AskAboutRoughCrossing().
|
static |
A man at Tolbi asks whether the upset tourists got seasick.
Definition at line 386 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_AskAboutSeasickTourists().
|
static |
The daughter at Tolbi looks for her parents among the passengers.
If the party carries her father's message she asks for it and thanks them once it is given; otherwise she turns back to the sea.
Definition at line 396 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_TalkToWaitingDaughter().
|
static |
Walking north into the docks' door, the door opens and the leader walks through it to the town.
Definition at line 438 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_OpenDoorAndLeave().
| s32 KalayTolbiDocks_Initialize | ( | void | ) |
Prepares whichever of the three maps is entered.
Entrance 90 sets flag 0x950, which leaves the tour's passengers stranded on the Tolbi docks.
Definition at line 459 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_Initialize().
|
static |
Stepping onto the stranded Tolbi docks, the party watches the tour guide tell an angry passenger his ticket was refunded.
The passengers demand to be taken home; when the angry one charges, the guides' hired bodyguard steps in, and after a second try the passenger is knocked flat and the bodyguard spins on the spot.
Definition at line 675 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_PassengersConfrontTourGuide().
| u16 gKalayTolbiDocks_KalayDoorCells[] |
Definition at line 868 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_OpenDoorAndLeave().
| u16 gKalayTolbiDocks_TolbiDoorCells[] |
Definition at line 874 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_OpenDoorAndLeave().
| s32 gKalayTolbiDocks_BodyguardSpinScript[] |
Definition at line 880 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_PassengersConfrontTourGuide().
| struct SceneEntrance gKalayTolbiDocks_NoEntrances[] |
Definition at line 887 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetEntrances().
| struct SceneEntrance gKalayTolbiDocks_KalayEntrances[] |
Definition at line 892 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetEntrances().
| struct SceneEntrance gKalayTolbiDocks_TolbiEntrances[] |
Definition at line 901 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetEntrances().
| struct SceneEntrance gKalayTolbiDocks_TicketOfficeEntrances[] |
Definition at line 909 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetEntrances().
| u32 gKalayTolbiDocks_Exits[] |
Definition at line 916 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetExits().
| struct ScenePlacement gKalayTolbiDocks_NoPlacements[] |
Definition at line 924 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetPlacements().
| struct ScenePlacement gKalayTolbiDocks_TolbiPlacements[] |
Definition at line 929 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetPlacements().
| struct ScenePlacement gKalayTolbiDocks_TolbiPlacementsStranded[] |
Definition at line 949 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetPlacements().
| struct ScenePlacement gKalayTolbiDocks_KalayPlacements[] |
Definition at line 973 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetPlacements().
| struct ScenePlacement gKalayTolbiDocks_KalayPlacementsShipGone[] |
Definition at line 993 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetPlacements().
| struct ScenePlacement gKalayTolbiDocks_TicketOfficePlacements[] |
Definition at line 1013 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetPlacements().
| struct ScenePlacement gKalayTolbiDocks_TicketOfficePlacementsShipGone[] |
Definition at line 1029 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetPlacements().
| struct ScenePlacement gKalayTolbiDocks_TicketOfficePlacementsStranded[] |
Definition at line 1045 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetPlacements().
| struct SceneEvent gKalayTolbiDocks_NoEvents[] |
Definition at line 1061 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetEvents().
| struct SceneEvent gKalayTolbiDocks_KalayEvents[] |
Definition at line 1065 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetEvents().
| struct SceneEvent gKalayTolbiDocks_KalayEventsShipGone[] |
Definition at line 1096 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetEvents().
| struct SceneEvent gKalayTolbiDocks_TolbiEvents[] |
Definition at line 1109 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetEvents().
| struct SceneEvent gKalayTolbiDocks_TolbiEventsStranded[] |
Definition at line 1134 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetEvents().
| struct SceneEvent gKalayTolbiDocks_TicketOfficeEvents[] |
Definition at line 1162 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetEvents().
| struct SceneEvent gKalayTolbiDocks_TicketOfficeEventsShipGone[] |
Definition at line 1181 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetEvents().
| struct SceneEvent gKalayTolbiDocks_TicketOfficeEventsStranded[] |
Definition at line 1195 of file kalay_tolbi_docks.c.
Referenced by KalayTolbiDocks_GetEvents().