Picture of the controller on the head-up display, with the buttons the tutorial points at.
More...
#include <ovycontroller.h>
|
| | OvyController (RndView *pHudView) |
| | Construct a hidden picture and draw it into the letterboxed view of the head-up display.
|
| | ~OvyController () override=default |
| | Destroy the picture.
|
| void | Reset () |
| | Hide the picture and every button at once.
|
| void | SetHighlight (bool bHighlight) |
| | Light or darken the picture.
|
| void | ShowButton (int nButton, bool bShow) |
| | Show or hide a button, and start or stop its animation.
|
| RndAnimatable * | GetPosAnim () const |
| | 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.
|
| RampAnimator | mSlide |
Picture of the controller on the head-up display, with the buttons the tutorial points at.
The RTTI records the class as deriving from HideablePanel. The object is 0xb0 bytes.
◆ Highlight
The materials of the picture, the indices of mMats.
| Enumerator |
|---|
| kHighlightOff | HUD controller map no.mat.
|
| kHighlightOn | HUD controller map hi.mat.
|
| kNumHighlights | The number of materials.
|
◆ OvyController()
| OvyController::OvyController |
( |
RndView * | pHudView | ) |
|
|
explicit |
Construct a hidden picture 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: 0x001c01a0
- Ghidra address:
- PAL: 0x001c8f40
◆ ~OvyController()
| OvyController::~OvyController |
( |
| ) |
|
|
overridedefault |
Destroy the picture.
- Ghidra address:
- NTSC-U/C: 0x00367488
- Ghidra address:
- PAL: 0x003d5bb8
◆ Reset()
| void OvyController::Reset |
( |
| ) |
|
Hide the picture and every button at once.
- Ghidra address:
- NTSC-U/C: 0x001c05d8
- Ghidra address:
- PAL: 0x001c9378
◆ SetHighlight()
| void OvyController::SetHighlight |
( |
bool | bHighlight | ) |
|
Light or darken the picture.
- Parameters
-
| bHighlight | Whether to light the picture. |
- Ghidra address:
- NTSC-U/C: 0x001c0678
- Ghidra address:
- PAL: 0x001c9418
◆ ShowButton()
| void OvyController::ShowButton |
( |
int | nButton, |
|
|
bool | bShow ) |
Show or hide a button, and start or stop its animation.
- Parameters
-
| nButton | The button, one of JoypadButton. |
| bShow | Whether to show the button. |
- Ghidra address:
- NTSC-U/C: 0x001c06a8
- Ghidra address:
- PAL: 0x001c9448
◆ GetPosAnim()
- Returns
- HUD controller map pos.tnm.
◆ kNumButtons
| int OvyController::kNumButtons = 16 |
|
staticconstexpr |
The number of buttons of the picture, one per JoypadButton from kPadL2 to kPadDLeft.
The documentation for this class was generated from the following file: