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

Parts of the head-up display every player has: the score and the avatar. More...

#include <ovyallplayer.h>

Public Member Functions

 OvyAllPlayer (int nPlayer, int nIndex, RndView *pHudView)
 Construct the parts of a player.
 ~OvyAllPlayer ()
 Destroy the parts.
void Poll (float fSongDelta, float fRealDelta, float fTickDelta)
 Advance the parts.
void DrawHud ()
 Draw the score.
void DrawAvatar ()
 Draw the avatar.
void Reset ()
 Empty the score and the letters, and reset the avatar.
int GetPlayer () const
OvyScore * GetScore () const
OvyDuelScore * GetDuelScore () const
OvyAvatar * GetAvatar () const

Detailed Description

Parts of the head-up display every player has: the score and the avatar.

The RTTI records the class, which is not polymorphic, as the pointee of the overlay's pointer vector. The object is 0x10 bytes.

Constructor & Destructor Documentation

◆ OvyAllPlayer()

OvyAllPlayer::OvyAllPlayer ( int nPlayer,
int nIndex,
RndView * pHudView )

Construct the parts of a player.

A game has a score and a duel the letters. A solo game, a duel, and a local player of an online remix have an avatar.

Parameters
nPlayerThe player.
nIndexThe number of the player's parts, from 0.
pHudViewThe view of the head-up display.
Ghidra address:
NTSC-U/C: 0x001c28b0
Ghidra address:
PAL: 0x001cb650

◆ ~OvyAllPlayer()

OvyAllPlayer::~OvyAllPlayer ( )

Destroy the parts.

Ghidra address:
NTSC-U/C: 0x001c29e8
Ghidra address:
PAL: 0x001cb788

Member Function Documentation

◆ Poll()

void OvyAllPlayer::Poll ( float fSongDelta,
float fRealDelta,
float fTickDelta )

Advance the parts.

Parameters
fSongDeltaThe song time since the last poll.
fRealDeltaThe time since the last poll.
fTickDeltaThe ticks since the last poll.
Ghidra address:
NTSC-U/C: 0x001c2a88
Ghidra address:
PAL: 0x001cb828

◆ DrawHud()

void OvyAllPlayer::DrawHud ( )

Draw the score.

Ghidra address:
NTSC-U/C: 0x001c2af8
Ghidra address:
PAL: 0x001cb898

◆ DrawAvatar()

void OvyAllPlayer::DrawAvatar ( )

Draw the avatar.

Ghidra address:
NTSC-U/C: 0x001c2b20
Ghidra address:
PAL: 0x001cb8c0

◆ Reset()

void OvyAllPlayer::Reset ( )

Empty the score and the letters, and reset the avatar.

Ghidra address:
NTSC-U/C: 0x001c2b48
Ghidra address:
PAL: 0x001cb8e8

◆ GetPlayer()

int OvyAllPlayer::GetPlayer ( ) const
inline
Returns
The player.

◆ GetScore()

OvyScore * OvyAllPlayer::GetScore ( ) const
inline
Returns
The score, or null.

◆ GetDuelScore()

OvyDuelScore * OvyAllPlayer::GetDuelScore ( ) const
inline
Returns
The letters of a duel, or null.

◆ GetAvatar()

OvyAvatar * OvyAllPlayer::GetAvatar ( ) const
inline
Returns
The avatar, or null.

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