|
wavelength 1.0.0
|
Marker on the controller stick diagram of the head-up display, which the tutorial moves. More...
#include <hudstick.h>
Public Types | |
| enum | Direction { kDirectionInOut = 0 , kDirectionUpDown = 1 , kNumDirections = 2 } |
| The materials of the marker, the indices of mMats. More... | |
Public Member Functions | |
| HudStick (char chHud, RndAnimatable *pAnims, RndView *pParent) | |
| Construct a hidden marker. | |
| void | Reset () |
| Hide the marker. | |
| void | Hide () |
| Hide the marker. | |
| void | Show (int nDirection, const Vector2 *pPosition) |
| Show the marker at a place on the diagram with one of its materials. | |
| RndMesh * | GetMesh () const |
Marker on the controller stick diagram of the head-up display, which the tutorial moves.
The class is not polymorphic and emits no RTTI. The object is 0xc bytes. The title is inferred from the gfx_stick_diagram script command that drives it.
| enum HudStick::Direction |
| HudStick::HudStick | ( | char | chHud, |
| RndAnimatable * | pAnims, | ||
| RndView * | pParent ) |
Construct a hidden marker.
The marker is HUD<hud>r_stick.mesh. The material animations HUD in_out.mnm and HUD up_dn.mnm join pAnims.
| chHud | The letter of the head-up display layout. |
| pAnims | The animation the material animations join. |
| pParent | The view the marker moves with. |
| void HudStick::Reset | ( | ) |
Hide the marker.
| void HudStick::Hide | ( | ) |
Hide the marker.
| void HudStick::Show | ( | int | nDirection, |
| const Vector2 * | pPosition ) |
Show the marker at a place on the diagram with one of its materials.
| nDirection | The material, one of Direction. |
| pPosition | The place, as x and z on the diagram. |
|
inline |