Alchemy
Loading...
Searching...
No Matches

tolbi_ship_mast.h File Reference

Go to the source code of this file.

Functions

const struct SceneEntrance * TolbiShipMast_GetEntrances (void)
 Returns the entrances from the ship's deck and scripted sequences.
const struct SceneRegion * TolbiShipMast_GetRegions (void)
 Returns the ladder's three-dimensional activation region.
const u32 * TolbiShipMast_GetExits (void)
 Returns exits to the deck and the continuing ship scenes.
const struct ScenePlacement * TolbiShipMast_GetPlacements (void)
 Returns the lookout's initial placement table.
const struct SceneEvent * TolbiShipMast_GetEvents (void)
 Returns the ladder, lookout dialogue and Anchor Charm search events.
s32 TolbiShipMast_Initialize (void)
 Starts the ship sway when allowed, then runs this entrance's mast sequence.

Variables

s32 gTolbiShipMast_DriftY
s32 gTolbiShipMast_DriftX
s32 gTolbiShipMast_SwayY
s32 gTolbiShipMast_SwayUnused
s32 gTolbiShipMast_CameraCenter [2]
s32 gTolbiShipMast_CameraOrigin [2]
s32 gTolbiShipMast_SwayX
s32 gTolbiShipMast_FollowCameraActions []
s32 gTolbiShipMast_LookoutActions []
s32 gTolbiShipMast_DriftActions []
s32 gTolbiShipMast_WaveActions []
s32 gTolbiShipMast_EnsembleWalk9 []
s32 gTolbiShipMast_EnsembleWalk10 []
s32 gTolbiShipMast_EnsembleWalk11 []
s32 gTolbiShipMast_EnsembleWalk12 []
s32 gTolbiShipMast_EnsembleWalk13 []
s32 gTolbiShipMast_EnsembleWalk14 []
u32 gTolbiShipMast_EnsembleWalk15 []
struct SceneEntrance gTolbiShipMast_Entrances []
struct SceneRegion gTolbiShipMast_Regions []
u32 gTolbiShipMast_Exits []
struct ScenePlacement gTolbiShipMast_Placements []
struct ScenePlacement gTolbiShipMast_StagingObjects []
struct ScenePlacement gTolbiShipMast_EnsembleObjects []
struct ScenePlacement gTolbiShipMast_LandingObjects []
struct SceneEvent gTolbiShipMast_Events []
u32 gTolbiShipMast_PassengerRowValues []
 Each passenger's rowing value, in the order of their actors in the hold from 8.

Function Documentation

◆ TolbiShipMast_GetEntrances()

const struct SceneEntrance * TolbiShipMast_GetEntrances ( void )

Returns the entrances from the ship's deck and scripted sequences.

Definition at line 169 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_GetEntrances().

◆ TolbiShipMast_GetRegions()

const struct SceneRegion * TolbiShipMast_GetRegions ( void )

Returns the ladder's three-dimensional activation region.

Definition at line 174 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_GetRegions().

◆ TolbiShipMast_GetExits()

const u32 * TolbiShipMast_GetExits ( void )

Returns exits to the deck and the continuing ship scenes.

Definition at line 179 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_GetExits().

◆ TolbiShipMast_GetPlacements()

const struct ScenePlacement * TolbiShipMast_GetPlacements ( void )

Returns the lookout's initial placement table.

Definition at line 182 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_GetPlacements().

◆ TolbiShipMast_GetEvents()

const struct SceneEvent * TolbiShipMast_GetEvents ( void )

Returns the ladder, lookout dialogue and Anchor Charm search events.

Definition at line 187 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_GetEvents().

◆ TolbiShipMast_Initialize()

s32 TolbiShipMast_Initialize ( void )

Starts the ship sway when allowed, then runs this entrance's mast sequence.

Definition at line 207 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_Initialize().

Variable Documentation

◆ gTolbiShipMast_DriftY

s32 gTolbiShipMast_DriftY
extern

Definition at line 51 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_UpdateSway().

◆ gTolbiShipMast_DriftX

s32 gTolbiShipMast_DriftX
extern

Definition at line 52 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_UpdateSway().

◆ gTolbiShipMast_SwayY

s32 gTolbiShipMast_SwayY
extern

Definition at line 53 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_Initialize(), and TolbiShipMast_UpdateSway().

◆ gTolbiShipMast_SwayUnused

s32 gTolbiShipMast_SwayUnused
extern

Definition at line 54 of file tolbi_ship_mast.c.

◆ gTolbiShipMast_CameraCenter

s32 gTolbiShipMast_CameraCenter[2]
extern

◆ gTolbiShipMast_CameraOrigin

s32 gTolbiShipMast_CameraOrigin[2]
extern

◆ gTolbiShipMast_SwayX

s32 gTolbiShipMast_SwayX
extern

Definition at line 57 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_Initialize(), and TolbiShipMast_UpdateSway().

◆ gTolbiShipMast_FollowCameraActions

s32 gTolbiShipMast_FollowCameraActions[]
extern

Definition at line 761 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_RunAvastScene().

◆ gTolbiShipMast_LookoutActions

s32 gTolbiShipMast_LookoutActions[]
extern

◆ gTolbiShipMast_DriftActions

s32 gTolbiShipMast_DriftActions[]
extern

Definition at line 782 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_InitializeDriftingActor().

◆ gTolbiShipMast_WaveActions

s32 gTolbiShipMast_WaveActions[]
extern

Definition at line 786 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_RunLandingSequence().

◆ gTolbiShipMast_EnsembleWalk9

s32 gTolbiShipMast_EnsembleWalk9[]
extern

Definition at line 804 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_AnnounceLand().

◆ gTolbiShipMast_EnsembleWalk10

s32 gTolbiShipMast_EnsembleWalk10[]
extern

Definition at line 812 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_AnnounceLand().

◆ gTolbiShipMast_EnsembleWalk11

s32 gTolbiShipMast_EnsembleWalk11[]
extern

Definition at line 820 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_AnnounceLand().

◆ gTolbiShipMast_EnsembleWalk12

s32 gTolbiShipMast_EnsembleWalk12[]
extern

Definition at line 828 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_AnnounceLand().

◆ gTolbiShipMast_EnsembleWalk13

s32 gTolbiShipMast_EnsembleWalk13[]
extern

Definition at line 836 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_AnnounceLand().

◆ gTolbiShipMast_EnsembleWalk14

s32 gTolbiShipMast_EnsembleWalk14[]
extern

Definition at line 844 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_AnnounceLand().

◆ gTolbiShipMast_EnsembleWalk15

u32 gTolbiShipMast_EnsembleWalk15[]
extern

Definition at line 853 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_AnnounceLand().

◆ gTolbiShipMast_Entrances

struct SceneEntrance gTolbiShipMast_Entrances[]
extern

Definition at line 864 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_GetEntrances().

◆ gTolbiShipMast_Regions

struct SceneRegion gTolbiShipMast_Regions[]
extern

Definition at line 875 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_GetRegions().

◆ gTolbiShipMast_Exits

u32 gTolbiShipMast_Exits[]
extern

Definition at line 880 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_GetExits().

◆ gTolbiShipMast_Placements

struct ScenePlacement gTolbiShipMast_Placements[]
extern

Definition at line 892 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_GetPlacements().

◆ gTolbiShipMast_StagingObjects

struct ScenePlacement gTolbiShipMast_StagingObjects[]
extern

Definition at line 898 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_RunAvastScene().

◆ gTolbiShipMast_EnsembleObjects

struct ScenePlacement gTolbiShipMast_EnsembleObjects[]
extern

◆ gTolbiShipMast_LandingObjects

struct ScenePlacement gTolbiShipMast_LandingObjects[]
extern

Definition at line 930 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_RunLandingSequence().

◆ gTolbiShipMast_Events

struct SceneEvent gTolbiShipMast_Events[]
extern

Definition at line 938 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_GetEvents().

◆ gTolbiShipMast_PassengerRowValues

u32 gTolbiShipMast_PassengerRowValues[]
extern

Each passenger's rowing value, in the order of their actors in the hold from 8.

Definition at line 952 of file tolbi_ship_mast.c.

Referenced by TolbiShipMast_GetSeatRowValue().