include/scene/tolbi_ship.h
What the Tolbi-bound Ship's deck (tolbi_ship_deck.c), the rooms below it (ship_rooms.c), its mast (tolbi_ship_mast.c) and the World Map's voyage (world_map.c) share.
Included by ship_rooms.c, tolbi_ship_deck.c, tolbi_ship_mast.c and world_map.c.
Macros
| Name | Description | |
|---|---|---|
#define | FLAG_TOLBI_SHIP_ROWER_CHOSEN FLAG_AREA_TEMP(0x00) | A passenger chosen to row follows the party to the rowing deck. |
#define | FLAG_TOLBI_SHIP_MONSTERS_BELOWDECKS FLAG_AREA_TEMP(0x01) | The hold's stairs are barred while monsters are on the rowing deck. |
#define | FLAG_TOLBI_SHIP_KRAKEN_ON_DECK FLAG_AREA_TEMP(0x02) | The Kraken is on deck, and the deck shakes until it is defeated. |
#define | ROWING_BALANCE_OFF_COURSE 11 | The rowers' balance that takes the ship off course to the island: the rowing values of the passengers in the first and third seats (the west seats) less those in the second and fourth (scTolbiShipMastGetRowingBalance, scWorldMapGetRowingBalance). |
#define | SPEAKER (actorId, bits) ((bits) | (actorId)) | A speaker, which is the actor with the speaker bits for where its message window and portrait open. |
Variables
| Name | Description | |
|---|---|---|
extern Uint32 | TolbiShipPassengerRowValues [] | The rowing seats' values (shared/tolbi_ship_rowing.c). |
Description
What the Tolbi-bound Ship's deck (tolbi_ship_deck.c), the rooms below it
(ship_rooms.c), its mast (tolbi_ship_mast.c) and the World Map's voyage
(world_map.c) share.
Macros in detail
FLAG_TOLBI_SHIP_ROWER_CHOSEN
#define FLAG_TOLBI_SHIP_ROWER_CHOSEN FLAG_AREA_TEMP(0x00)
A passenger chosen to row follows the party to the rowing deck.
Referenced by scShipRoomsAskSecondGuideToRow(), scShipRoomsAskStaredAtPassengerToRow(), scShipRoomsAskToRow(), scShipRoomsIntroduceReplacementOarsman(), scShipRoomsRunScriptCommand() and ShipRoomsHoldCuesChoosingRowers.
Definition at line 14 of file tolbi_ship.h.
FLAG_TOLBI_SHIP_MONSTERS_BELOWDECKS
#define FLAG_TOLBI_SHIP_MONSTERS_BELOWDECKS FLAG_AREA_TEMP(0x01)
The hold's stairs are barred while monsters are on the rowing deck.
Referenced by scShipRoomsCallLeaderBackToBeasts(), scShipRoomsFindOarsmanMissing(), scShipRoomsReportMonstersBelowdecks() and scShipRoomsRunScriptCommand().
Definition at line 16 of file tolbi_ship.h.
FLAG_TOLBI_SHIP_KRAKEN_ON_DECK
#define FLAG_TOLBI_SHIP_KRAKEN_ON_DECK FLAG_AREA_TEMP(0x02)
The Kraken is on deck, and the deck shakes until it is defeated.
Referenced by scInit(), scShipRoomsNoticeShipRocking(), scShipRoomsRunScriptCommand() and scTolbiShipDeckThankForKraken().
Definition at line 18 of file tolbi_ship.h.
ROWING_BALANCE_OFF_COURSE
#define ROWING_BALANCE_OFF_COURSE 11
The rowers' balance that takes the ship off course to the island: the rowing
values of the passengers in the first and third seats (the west seats) less
those in the second and fourth (scTolbiShipMastGetRowingBalance,
scWorldMapGetRowingBalance).
Referenced by scTolbiShipMastAnnounceLand() and scWorldMapSailUntilLandSighted().
Definition at line 24 of file tolbi_ship.h.
SPEAKER
#define SPEAKER(actorId, bits) ((bits) | (actorId))
A speaker, which is the actor with the speaker bits for where its message window and portrait open.
Referenced by scShipRoomsDiscussLaunchingWithoutAnchor(), scShipRoomsIntroduceReplacementOarsman(), scShipRoomsReturnLuckyAnchor(), scShipRoomsWatchWarriorsStormOff(), scTolbiShipDeckMonstersBoard(), scTolbiShipDeckReturnFromIsland(), scTolbiShipDeckSightIsland(), scTolbiShipDeckSightSeaMonsters() and scTolbiShipDeckWatchCrewDecideToSail().
Definition at line 28 of file tolbi_ship.h.