wavelength 1.0.0
Loading...
Searching...
No Matches
ShipFlyIn Class Reference

Flight of the ship of the tutorial onto the tracks, ship tutorial fly-in.tnm. More...

#include <shipflyin.h>

Public Member Functions

 ShipFlyIn (Ship *pShip)
 Construct a flight that has not started and hide the ship.
 ~ShipFlyIn ()=default
 Destroy the flight.
bool Poll (float fTick, float fTime, float(*pXfm)[kTransformRowFloatCount])
 Apply the flight to the transform of the ship.
bool Start (bool bShow)
 Start the flight the first time the ship is shown.

Detailed Description

Flight of the ship of the tutorial onto the tracks, ship tutorial fly-in.tnm.

The class emits no RTTI, and the name is inferred. The object is 0x28 bytes. The ship stays hidden until the first SetShown() that shows it, which starts the flight over the next bar.

Constructor & Destructor Documentation

◆ ShipFlyIn()

ShipFlyIn::ShipFlyIn ( Ship * pShip)
explicit

Construct a flight that has not started and hide the ship.

Parameters
pShipThe ship.
Ghidra address:
NTSC-U/C: 0x001cb200
Ghidra address:
PAL: 0x001d3fa0

◆ ~ShipFlyIn()

ShipFlyIn::~ShipFlyIn ( )
default

Destroy the flight.

Ghidra address:
NTSC-U/C: 0x001cb2b0
Ghidra address:
PAL: 0x001d4050

Member Function Documentation

◆ Poll()

bool ShipFlyIn::Poll ( float fTick,
float fTime,
float(*) pXfm[kTransformRowFloatCount] )

Apply the flight to the transform of the ship.

Parameters
fTickThe tick of the song.
fTimeThe time of the song. The flight does not read it.
pXfmThe transform of the ship, which the flight is applied to.
Returns
Whether the flight is over.
Ghidra address:
NTSC-U/C: 0x001cb2e0
Ghidra address:
PAL: 0x001d4080

◆ Start()

bool ShipFlyIn::Start ( bool bShow)

Start the flight the first time the ship is shown.

Parameters
bShowWhether the ship is to be shown.
Returns
bShow.
Ghidra address:
NTSC-U/C: 0x001cb360
Ghidra address:
PAL: 0x001d4100

The documentation for this class was generated from the following file: