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

Player of the entry animation of a view, which loops the cursor sound while a cursor of the animation moves. More...

#include <viewanimplayer.h>

Public Member Functions

 ViewAnimPlayer ()
 Construct a player with no animation.
void SetAnim (RndAnimatable *pAnim)
 Use an animation, and move it to its first frame.
void Start (float fNowMs)
 Start playing the animation from its first frame.
void Stop ()
 Stop playing, and stop the cursor sound.
void Poll (float fNowMs)
 Move the animation to the current time, stop at its last frame, and loop the cursor sound while a cursor of the animation is between its first and its last frame.
bool IsPlaying ()
 Report whether the animation plays.
void Clear ()
 Stop playing and forget the animation.

Detailed Description

Player of the entry animation of a view, which loops the cursor sound while a cursor of the animation moves.

The class is not polymorphic and has no RTTI. The name is inferred. The object is 0x10 bytes. The front-end screens and panels that animate a view embed one.

Constructor & Destructor Documentation

◆ ViewAnimPlayer()

ViewAnimPlayer::ViewAnimPlayer ( )

Construct a player with no animation.

Ghidra address:
NTSC-U/C: 0x0019d1b8
Ghidra address:
PAL: 0x001a4ed0

Member Function Documentation

◆ SetAnim()

void ViewAnimPlayer::SetAnim ( RndAnimatable * pAnim)

Use an animation, and move it to its first frame.

Parameters
pAnimThe animation.
Ghidra address:
NTSC-U/C: 0x0019d1c8
Ghidra address:
PAL: 0x001a4ee0

◆ Start()

void ViewAnimPlayer::Start ( float fNowMs)

Start playing the animation from its first frame.

Parameters
fNowMsThe current time in milliseconds.
Ghidra address:
NTSC-U/C: 0x0019d208
Ghidra address:
PAL: 0x001a4f20

◆ Stop()

void ViewAnimPlayer::Stop ( )

Stop playing, and stop the cursor sound.

Ghidra address:
NTSC-U/C: 0x0019d248
Ghidra address:
PAL: 0x001a4f60

◆ Poll()

void ViewAnimPlayer::Poll ( float fNowMs)

Move the animation to the current time, stop at its last frame, and loop the cursor sound while a cursor of the animation is between its first and its last frame.

Parameters
fNowMsThe current time in milliseconds.
Ghidra address:
NTSC-U/C: 0x0019d268
Ghidra address:
PAL: 0x001a4f80

◆ IsPlaying()

bool ViewAnimPlayer::IsPlaying ( )

Report whether the animation plays.

Returns
Whether the animation plays.
Ghidra address:
NTSC-U/C: 0x0019d3e0
Ghidra address:
PAL: 0x001a50f8

◆ Clear()

void ViewAnimPlayer::Clear ( )

Stop playing and forget the animation.

Ghidra address:
NTSC-U/C: 0x0019d408
Ghidra address:
PAL: 0x001a5120

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