Panel of text the tutorial opens over the head-up display.
More...
#include <ovydialog.h>
|
| | OvyDialog (RndView *pHudView) |
| | Construct a hidden panel and draw it into the letterboxed view of the head-up display.
|
| | ~OvyDialog () override=default |
| | Destroy the panel.
|
| void | SetPosition (float fFrame) |
| | Pose the place of the panel, unless the frame is negative.
|
| void | Open (const char *pszText, float fSize, float fPosition) |
| | Fill the panel and slide it in.
|
| void | Close () |
| | Slide the panel out.
|
| | 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 |
Panel of text the tutorial opens over the head-up display.
The RTTI records the class as deriving from HideablePanel. The object is 0x28 bytes.
◆ OvyDialog()
| OvyDialog::OvyDialog |
( |
RndView * | pHudView | ) |
|
|
explicit |
Construct a hidden panel and draw it into the letterboxed view of the head-up display.
- Parameters
-
| pHudView | The view of the head-up display. |
- Ghidra address:
- NTSC-U/C: 0x001c0728
- Ghidra address:
- PAL: 0x001c94c8
◆ ~OvyDialog()
| OvyDialog::~OvyDialog |
( |
| ) |
|
|
overridedefault |
Destroy the panel.
- Ghidra address:
- NTSC-U/C: 0x00367558
- Ghidra address:
- PAL: 0x003d5c88
◆ SetPosition()
| void OvyDialog::SetPosition |
( |
float | fFrame | ) |
|
|
inline |
Pose the place of the panel, unless the frame is negative.
- Parameters
-
| fFrame | The frame of HUD dialog pos.tnm. |
- Ghidra address:
- NTSC-U/C: 0x003675b0
- Ghidra address:
- PAL: 0x003d5ce0
◆ Open()
| void OvyDialog::Open |
( |
const char * | pszText, |
|
|
float | fSize, |
|
|
float | fPosition ) |
Fill the panel and slide it in.
- Parameters
-
| pszText | The text. |
| fSize | The frame of HUD dialog panel size.msnm. |
| fPosition | The frame of HUD dialog pos.tnm, or a negative value to retain the place. |
- Ghidra address:
- NTSC-U/C: 0x001c0a00
- Ghidra address:
- PAL: 0x001c97a0
◆ Close()
| void OvyDialog::Close |
( |
| ) |
|
Slide the panel out.
- Ghidra address:
- NTSC-U/C: 0x001c0a98
- Ghidra address:
- PAL: 0x001c9838
The documentation for this class was generated from the following file: