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

Parts of the head-up display of a player on this console: the pending points and the remix menu. More...

#include <ovylocalplayer.h>

Public Member Functions

 OvyLocalPlayer (int nPlayer, int nPosition, RndView *pLayout)
 Construct the parts of a player.
 ~OvyLocalPlayer ()
 Destroy the parts.
void Poll (float fUnused, float fUnused2, float fSongDelta, float fRealDelta)
 Advance the parts.
void DrawHud ()
 Draw the remix menu.
void DrawAvatar ()
 Draw nothing.
void Reset ()
 Empty the pending points.
int GetPlayer () const
HudPoints * GetPoints () const
OvyRemixPanel * GetRemix () const

Detailed Description

Parts of the head-up display of a player on this console: the pending points and the remix menu.

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

Constructor & Destructor Documentation

◆ OvyLocalPlayer()

OvyLocalPlayer::OvyLocalPlayer ( int nPlayer,
int nPosition,
RndView * pLayout )

Construct the parts of a player.

A local player of a remix has a remix menu in the letterboxed view, and a player of a game has the pending points.

Parameters
nPlayerThe player.
nPositionThe place of the player's parts, from 0.
pLayoutThe layout view of the head-up display. The routine does not read it.
Ghidra address:
NTSC-U/C: 0x001c2638
Ghidra address:
PAL: 0x001cb3d8

◆ ~OvyLocalPlayer()

OvyLocalPlayer::~OvyLocalPlayer ( )

Destroy the parts.

Ghidra address:
NTSC-U/C: 0x001c2778
Ghidra address:
PAL: 0x001cb518

Member Function Documentation

◆ Poll()

void OvyLocalPlayer::Poll ( float fUnused,
float fUnused2,
float fSongDelta,
float fRealDelta )

Advance the parts.

Parameters
fUnusedNot read.
fUnused2Not read.
fSongDeltaThe song time since the last poll.
fRealDeltaThe time since the last poll.
Ghidra address:
NTSC-U/C: 0x001c27e8
Ghidra address:
PAL: 0x001cb588

◆ DrawHud()

void OvyLocalPlayer::DrawHud ( )

Draw the remix menu.

Ghidra address:
NTSC-U/C: 0x001c2848
Ghidra address:
PAL: 0x001cb5e8

◆ DrawAvatar()

void OvyLocalPlayer::DrawAvatar ( )

Draw nothing.

The local parts have no avatar.

Ghidra address:
NTSC-U/C: 0x001c2880
Ghidra address:
PAL: 0x001cb620

◆ Reset()

void OvyLocalPlayer::Reset ( )

Empty the pending points.

Ghidra address:
NTSC-U/C: 0x001c2888
Ghidra address:
PAL: 0x001cb628

◆ GetPlayer()

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

◆ GetPoints()

HudPoints * OvyLocalPlayer::GetPoints ( ) const
inline
Returns
The pending points, or null.

◆ GetRemix()

OvyRemixPanel * OvyLocalPlayer::GetRemix ( ) const
inline
Returns
The remix menu, or null.

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