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

Notice that a panel's data changed: the panel's refresh text replaces its titles while its mesh flashes between two materials. More...

#include <netflashupdate.h>

Inheritance diagram for NetFlashUpdate:
Collaboration diagram for NetFlashUpdate:

Public Member Functions

 NetFlashUpdate ()
 Construct a notice that is not flashing.
void InitFlash (const char *pszPanel, const char *pszKind)
 Find the objects of a panel and the materials of a kind of panel.
void StopFlash ()
 Stop flashing and give the mesh its final material.
void HideFlash ()
 Stop flashing, hide the refresh text, and show the titles.
void StartFlash (float fTime, bool bHilite)
 Show the refresh text instead of the titles and start flashing.
void PollFlash (float fTime)
 Swap the material of the mesh each interval until the mesh has flashed enough times.

Protected Attributes

int mHilite
int mFlashing
int mFlashes
int mMaxFlashes
RndMat * mMat
RndMat * mHiliteMat
float mFlashTime
float mFlashInterval
RndView * mTitles
RndText * mRefresh
RndMesh * mPanelMesh

Detailed Description

Notice that a panel's data changed: the panel's refresh text replaces its titles while its mesh flashes between two materials.

The RTTI records the class with no base. Panels derive from it alongside FreqPanel.

Constructor & Destructor Documentation

◆ NetFlashUpdate()

NetFlashUpdate::NetFlashUpdate ( )

Construct a notice that is not flashing.

Ghidra address:
NTSC-U/C: 0x00171908
Ghidra address:
PAL: 0x00174d50

Member Function Documentation

◆ InitFlash()

void NetFlashUpdate::InitFlash ( const char * pszPanel,
const char * pszKind )

Find the objects of a panel and the materials of a kind of panel.

The name is inferred.

Parameters
pszPanelThe name of the panel.
pszKindThe kind of the materials panel_<kind>.mat and panel_<kind>_hi.mat.
Ghidra address:
NTSC-U/C: 0x00171988
Ghidra address:
PAL: 0x00174dd0

◆ StopFlash()

void NetFlashUpdate::StopFlash ( )

Stop flashing and give the mesh its final material.

The name is inferred.

Ghidra address:
NTSC-U/C: 0x00171938
Ghidra address:
PAL: 0x00174d80

◆ HideFlash()

void NetFlashUpdate::HideFlash ( )

Stop flashing, hide the refresh text, and show the titles.

The name is inferred.

Ghidra address:
NTSC-U/C: 0x00171be0
Ghidra address:
PAL: 0x00175028

◆ StartFlash()

void NetFlashUpdate::StartFlash ( float fTime,
bool bHilite )

Show the refresh text instead of the titles and start flashing.

The name is inferred.

Parameters
fTimeThe front-end time in milliseconds.
bHiliteWhether the mesh ends with the lit material.
Ghidra address:
NTSC-U/C: 0x00171c40
Ghidra address:
PAL: 0x00175088

◆ PollFlash()

void NetFlashUpdate::PollFlash ( float fTime)

Swap the material of the mesh each interval until the mesh has flashed enough times.

The name is inferred.

Parameters
fTimeThe front-end time in milliseconds.
Ghidra address:
NTSC-U/C: 0x00171cb8
Ghidra address:
PAL: 0x00175100

Member Data Documentation

◆ mHilite

int NetFlashUpdate::mHilite
protected

Non-zero when the mesh ends with mHiliteMat.

◆ mFlashing

int NetFlashUpdate::mFlashing
protected

Non-zero while the mesh flashes.

◆ mFlashes

int NetFlashUpdate::mFlashes
protected

The number of swaps so far.

◆ mMaxFlashes

int NetFlashUpdate::mMaxFlashes
protected

The number of swaps a flash makes.

◆ mMat

RndMat* NetFlashUpdate::mMat
protected

The material panel_<kind>.mat.

◆ mHiliteMat

RndMat* NetFlashUpdate::mHiliteMat
protected

The material panel_<kind>_hi.mat.

◆ mFlashTime

float NetFlashUpdate::mFlashTime
protected

The time of the last swap, or 0.

◆ mFlashInterval

float NetFlashUpdate::mFlashInterval
protected

The time between swaps in milliseconds.

◆ mTitles

RndView* NetFlashUpdate::mTitles
protected

The view <panel>_titles.view.

◆ mRefresh

RndText* NetFlashUpdate::mRefresh
protected

The text <panel>_refresh.txt.

◆ mPanelMesh

RndMesh* NetFlashUpdate::mPanelMesh
protected

The mesh <panel>_panel.mesh.


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