Effect panel of the remix head-up display, which slides out of the main panel.
More...
#include <ovyremixsubpanel.h>
|
| | OvyRemixSubPanel (int nType, char chHud, int nPlayer) |
| | Construct a hidden panel of one type.
|
| | ~OvyRemixSubPanel () override |
| | Destroy the panel.
|
| void | Poll (float fDelta) override |
| | Advance the slide, show the panel while it is out, and blink the cursor.
|
| void | Draw () override |
| | Draw the panel.
|
| void | Show (bool bShow) |
| | Slide the panel out or back.
|
| bool | IsType (int nType) const |
| | Report whether the panel is of a type.
|
| const RampAnimator & | GetSlide () const |
| | OvyRemixGenPanel () |
| | Construct an empty panel.
|
| virtual | ~OvyRemixGenPanel () |
| | Destroy the panel and the objects it cloned.
|
| void | Load (char chHud, const char *pszPrefix, int nPlayer, RndTransformable *pParent) |
| | Clone the panel's objects from the loaded scene and build its options.
|
| RndObject * | Clone (const char *pszName, int nPlayer) |
| | Clone one object of the loaded scene as <name> pl <player>, and own the clone.
|
| void | SetText (int nIndex, const char *pszText) |
| | Set the label of an option.
|
| void | Flash () |
| | Start blinking the cursor of the selected option, when there is one.
|
| void | Select (int nIndex) |
| | Move the cursor to an option.
|
| void | SetLit (int nIndex, bool bLit) |
| | Draw the label of an option in the selected font or the normal one.
|
| RndMesh * | GetPanel () const |
|
| static constexpr float | kHiddenFrame = 240.0f |
| | The frame of the slide at which the panel is hidden behind the main panel.
|
| static constexpr float | kShownFrame = 360.0f |
| | The frame of the slide at which the panel is fully out.
|
| static constexpr float | kNoFlash = -1e9f |
| | The value of mFlashTime when no blink runs.
|
Effect panel of the remix head-up display, which slides out of the main panel.
The RTTI records the class as deriving from OvyRemixGenPanel. The object is 0x60 bytes.
◆ OvyRemixSubPanel()
| OvyRemixSubPanel::OvyRemixSubPanel |
( |
int | nType, |
|
|
char | chHud, |
|
|
int | nPlayer ) |
Construct a hidden panel of one type.
The scene objects are HUD<hud>r_fxs_<name>, where the name is pat, chs, stt, eco, bot, or bpm for the types 1 to 6, and the slide is HUD<hud>r_fxs.tnm.
- Parameters
-
| nType | The type, one of GfxManager::RemixSubPanel other than the main panel. |
| chHud | The letter of the head-up display layout. |
| nPlayer | The player. |
- Ghidra address:
- NTSC-U/C: 0x001b77d0
- Ghidra address:
- PAL: 0x001c0570
◆ ~OvyRemixSubPanel()
| OvyRemixSubPanel::~OvyRemixSubPanel |
( |
| ) |
|
|
override |
Destroy the panel.
- Ghidra address:
- NTSC-U/C: 0x001b7a00
- Ghidra address:
- PAL: 0x001c07a0
◆ Poll()
| void OvyRemixSubPanel::Poll |
( |
float | fDelta | ) |
|
|
overridevirtual |
Advance the slide, show the panel while it is out, and blink the cursor.
- Parameters
-
| fDelta | The time since the last poll. |
- Ghidra address:
- NTSC-U/C: 0x001b7a88
- Ghidra address:
- PAL: 0x001c0828
Reimplemented from OvyRemixGenPanel.
◆ Draw()
| void OvyRemixSubPanel::Draw |
( |
| ) |
|
|
overridevirtual |
Draw the panel.
- Ghidra address:
- NTSC-U/C: 0x001b7b10
- Ghidra address:
- PAL: 0x001c08b0
Reimplemented from OvyRemixGenPanel.
◆ Show()
| void OvyRemixSubPanel::Show |
( |
bool | bShow | ) |
|
Slide the panel out or back.
- Parameters
-
| bShow | Whether to slide the panel out. |
- Ghidra address:
- NTSC-U/C: 0x001b7a50
- Ghidra address:
- PAL: 0x001c07f0
◆ IsType()
| bool OvyRemixSubPanel::IsType |
( |
int | nType | ) |
const |
Report whether the panel is of a type.
- Parameters
-
- Returns
- Whether mType is nType.
- Ghidra address:
- NTSC-U/C: 0x001b7b30
- Ghidra address:
- PAL: 0x001c08d0
◆ GetSlide()
- Returns
- The slide, from kHiddenFrame to kShownFrame.
◆ kHiddenFrame
| float OvyRemixSubPanel::kHiddenFrame = 240.0f |
|
staticconstexpr |
The frame of the slide at which the panel is hidden behind the main panel.
◆ kShownFrame
| float OvyRemixSubPanel::kShownFrame = 360.0f |
|
staticconstexpr |
The frame of the slide at which the panel is fully out.
The documentation for this class was generated from the following file: