List of the sections of the song on the remix head-up display, with the current one lit.
More...
#include <ovysectionpanel.h>
|
| | OvySectionPanel (char chHud, const String &prefix, RndTransformable *pParent) |
| | Construct a hidden list and find its scene objects.
|
| | ~OvySectionPanel () override |
| | Destroy the list.
|
| void | Poll () |
| | Advance the slide.
|
| void | Draw () |
| | Draw the list while it is not hidden.
|
| void | SetSectionCount (int nCount) |
| | Show one blank entry per section and hide the rest.
|
| void | SetSectionLabel (int nIndex, const char *pszLabel) |
| | Set the label of a section.
|
| void | HighlightSection (int nIndex) |
| | Light the entry of a section, or show its label in the shared-screen layout.
|
| | HideablePanel (const char *pszAnim, const char *pszDrawable, bool bShown) |
| | Construct a panel and find its animation and drawable.
|
| virtual | ~HideablePanel ()=default |
| | Destroy the panel.
|
| virtual void | Show (bool bShow) |
| | Slide the panel in or out, or move it at once while sSnap is set.
|
| virtual void | ShowNow (bool bShow) |
| | Show or hide the panel at once.
|
| void | SetObjects (const char *pszAnim, const char *pszDrawable, bool bShown) |
| | Find the animation and the drawable of the panel, and show or hide it at once.
|
| void | Poll () |
| | Advance the slide by sDeltaTime, and show the drawable while the panel is not hidden.
|
|
| static void | ClearSnap () |
| | Clear sSnap.
|
| static void | SetDeltaTime (float fDeltaTime) |
| | Set the time the next Poll() of every panel advances by.
|
| static void | Init () |
| | Find the animation of the two-dimensional materials and the frame it rests at.
|
| static void | Terminate () |
| | Forget the animation of the two-dimensional materials.
|
| static void | PoseMaterials () |
| | Pose the animation of the two-dimensional materials at its resting frame.
|
| static constexpr float | kShownFrame = 240.0f |
| | The frame of the animation at which the panel is fully shown.
|
| static int | sSnap |
| | Whether Show() moves a panel at once rather than sliding it.
|
| static float | sDeltaTime |
| | The time Poll() advances every panel by.
|
| static RndAnimatable * | sMaterialAnim |
| | The animation of the two-dimensional materials, mat_2d_EE.anim, or null.
|
| static float | sMaterialFrame |
| | The frame PoseMaterials() poses sMaterialAnim at.
|
| RampAnimator | mSlide |
List of the sections of the song on the remix head-up display, with the current one lit.
The RTTI records the class as deriving from HideablePanel. The object is 0x50 bytes. The shared-screen layout m has room for one entry, which shows the label of the current section.
◆ OvySectionPanel()
Construct a hidden list and find its scene objects.
The objects are <prefix>_sect.tnm, <prefix>_sect_bg.mesh, <prefix>_sect_panel.mesh, and the title HUD<hud>r_sect_01.txt. Every entry mesh HUD<hud>r_sect_<nn>.mesh from 02 on is hidden until SetSectionCount().
- Parameters
-
| chHud | The letter of the head-up display layout. |
| prefix | The prefix of the scene objects. |
| pParent | The transform the list moves with. |
- Ghidra address:
- NTSC-U/C: 0x001b8490
- Ghidra address:
- PAL: 0x001c1230
◆ ~OvySectionPanel()
| OvySectionPanel::~OvySectionPanel |
( |
| ) |
|
|
override |
Destroy the list.
- Ghidra address:
- NTSC-U/C: 0x001b87f0
- Ghidra address:
- PAL: 0x001c1590
◆ Poll()
| void OvySectionPanel::Poll |
( |
| ) |
|
Advance the slide.
- Ghidra address:
- NTSC-U/C: 0x001b8930
- Ghidra address:
- PAL: 0x001c16d0
◆ Draw()
| void OvySectionPanel::Draw |
( |
| ) |
|
Draw the list while it is not hidden.
- Ghidra address:
- NTSC-U/C: 0x001b8950
- Ghidra address:
- PAL: 0x001c16f0
◆ SetSectionCount()
| void OvySectionPanel::SetSectionCount |
( |
int | nCount | ) |
|
Show one blank entry per section and hide the rest.
- Parameters
-
| nCount | The number of sections. |
- Ghidra address:
- NTSC-U/C: 0x001b8990
- Ghidra address:
- PAL: 0x001c1730
◆ SetSectionLabel()
| void OvySectionPanel::SetSectionLabel |
( |
int | nIndex, |
|
|
const char * | pszLabel ) |
Set the label of a section.
- Parameters
-
| nIndex | The section. |
| pszLabel | The label. |
- Ghidra address:
- NTSC-U/C: 0x001b8de8
- Ghidra address:
- PAL: 0x001c1b88
◆ HighlightSection()
| void OvySectionPanel::HighlightSection |
( |
int | nIndex | ) |
|
Light the entry of a section, or show its label in the shared-screen layout.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x001b8e48
- Ghidra address:
- PAL: 0x001c1be8
The documentation for this class was generated from the following file: