The place of a player in the tunnel, 0x38 bytes.
More...
#include <tnlgeom.h>
The place of a player in the tunnel, 0x38 bytes.
◆ Player() [1/2]
| TnlGeom::Player::Player |
( |
| ) |
|
Construct a player on track 0.
- Ghidra address:
- NTSC-U/C: 0x001d2d68
- Ghidra address:
- PAL: 0x001dbb08
◆ Player() [2/2]
| TnlGeom::Player::Player |
( |
Player && | | ) |
|
|
default |
Take over the curves of another player.
◆ ~Player()
| TnlGeom::Player::~Player |
( |
| ) |
|
Delete the curves of the player.
- Ghidra address:
- NTSC-U/C: 0x001d2dd0
- Ghidra address:
- PAL: 0x001dbb70
◆ operator=()
Take over the curves of another player.
◆ Init()
| void TnlGeom::Player::Init |
( |
TnlGeom * | pGeom, |
|
|
char | nIndex ) |
Attach the player to the geometry.
- Parameters
-
| pGeom | The geometry. |
| nIndex | The index of the player. |
- Ghidra address:
- NTSC-U/C: 0x001d2e50
- Ghidra address:
- PAL: 0x001dbbf0
◆ Reset()
| void TnlGeom::Player::Reset |
( |
| ) |
|
Put the player at its track at once.
- Ghidra address:
- NTSC-U/C: 0x001d2e60
- Ghidra address:
- PAL: 0x001dbc00
◆ Update()
| void TnlGeom::Player::Update |
( |
float | flTick, |
|
|
float | flDeltaTicks ) |
Move the player along its curves.
- Parameters
-
| flTick | The tick of the song. |
| flDeltaTicks | The ticks since the last update. The velocity changes only when it is more than one tick. |
- Ghidra address:
- NTSC-U/C: 0x001d2e90
- Ghidra address:
- PAL: 0x001dbc30
◆ SetCamSlide()
Set the transformable the camera of the player slides.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x001d3088
- Ghidra address:
- PAL: 0x001dbe28
◆ SetTrack()
| void TnlGeom::Player::SetTrack |
( |
char | nTrack | ) |
|
Move the player to a track, along curves when the geometry animates moves.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x001d3090
- Ghidra address:
- PAL: 0x001dbe30
◆ LeaveTrack()
| void TnlGeom::Player::LeaveTrack |
( |
| ) |
|
Take the player off the record of the players of its track.
- Ghidra address:
- NTSC-U/C: 0x001d33d8
- Ghidra address:
- PAL: 0x001dc178
◆ SetActivator()
| void TnlGeom::Player::SetActivator |
( |
RndView * | pView | ) |
|
Set the view of the activator of the player.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x001d3410
- Ghidra address:
- PAL: 0x001dc1b0
◆ SetActivatorPosition()
| void TnlGeom::Player::SetActivatorPosition |
( |
float | flPosition | ) |
|
Set the position of the activator of the player.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x001d3418
- Ghidra address:
- PAL: 0x001dc1b8
◆ PlaceActivator()
| void TnlGeom::Player::PlaceActivator |
( |
const Transform * | pXfm | ) |
|
Place the view of the activator, if there is one.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x001d3420
- Ghidra address:
- PAL: 0x001dc1c0
◆ GetCamSlide()
- Returns
- The transformable of the camera slide.
◆ GetHoldCam()
| int TnlGeom::Player::GetHoldCam |
( |
| ) |
const |
|
inline |
- Returns
- Whether the camera stops following the player.
◆ SetHoldCam()
| void TnlGeom::Player::SetHoldCam |
( |
int | bHold | ) |
|
|
inline |
Set whether the camera stops following the player.
- Parameters
-
◆ GetTrack()
| char TnlGeom::Player::GetTrack |
( |
| ) |
const |
|
inline |
- Returns
- The track the player is on.
◆ GetActivatorPosition()
| float TnlGeom::Player::GetActivatorPosition |
( |
| ) |
const |
|
inline |
- Returns
- The position of the activator.
◆ GetTrailTicks()
| float TnlGeom::Player::GetTrailTicks |
( |
| ) |
const |
|
inline |
- Returns
- The ticks from the current tick to the first tick Poll() retains bars from.
◆ GetActivator()
| RndView * TnlGeom::Player::GetActivator |
( |
| ) |
const |
|
inline |
- Returns
- The view of the activator, or null.
◆ GetPosition()
| float TnlGeom::Player::GetPosition |
( |
| ) |
const |
|
inline |
- Returns
- The track the player is on, fractional while moving.
◆ GetVelocity()
| float TnlGeom::Player::GetVelocity |
( |
| ) |
const |
|
inline |
- Returns
- The tracks moved per tick at the last update.
◆ GetMoveTime()
| float TnlGeom::Player::GetMoveTime |
( |
| ) |
const |
|
inline |
- Returns
- The multiple of the length of a move.
◆ SetMoveTime()
| void TnlGeom::Player::SetMoveTime |
( |
float | flMoveTime | ) |
|
|
inline |
Set the multiple of the length of a move.
- Parameters
-
◆ GetCamPosition()
| float TnlGeom::Player::GetCamPosition |
( |
| ) |
const |
|
inline |
- Returns
- The track the camera of the player is on.
The documentation for this class was generated from the following file: