64 void Poll(
float fSongDelta,
float fRealDelta,
float fTickDelta);
140 return mSongPos.get();
148 return *mButtons[nLane];
153 return mController.get();
162 mController = std::move(pController);
167 return mDialog.get();
176 mDialog = std::move(pDialog);
181 return mLeaderAvatar.get();
186 return mSections.get();
196 return mLetterExit.get();
201 return mTrackLabel.get();
210 std::unique_ptr<OvySongPos> mSongPos;
212 std::unique_ptr<HudFlyingButton> mButtons[
kNumLanes];
213 std::unique_ptr<OvyController> mController;
214 std::unique_ptr<OvyDialog> mDialog;
215 std::unique_ptr<OvyAvatar> mLeaderAvatar;
216 std::unique_ptr<OvySectionPanel> mSections;
217 std::unique_ptr<HudStick> mStick;
218 std::unique_ptr<OvyChat> mChat;
219 std::unique_ptr<HudLetterExit> mLetterExit;
220 std::unique_ptr<OvyTrackLabel> mTrackLabel;
222 unsigned char mPlaying;
Reference-counted array of script data nodes.
Definition dataarray.h:20
void DrawText()
Draw the chat, the text message, the letterbox, and the two lines of text.
~HudCommon()
Destroy the parts.
HudLetterExit * GetLetterExit() const
Definition hudcommon.h:195
static constexpr int kNumLanes
The number of lanes, one flying button icon each.
Definition hudcommon.h:34
HudStick * GetStick() const
Definition hudcommon.h:190
OvyDialog * GetDialog() const
Definition hudcommon.h:166
void SetController(std::unique_ptr< OvyController > pController)
Replace the picture of the controller.
Definition hudcommon.h:161
HudCommon(RndView *pHudView, DataArray *pConfig, DataArray *pDefaults)
Construct the parts the rule set and the community of the game call for.
void Poll(float fSongDelta, float fRealDelta, float fTickDelta)
Advance the parts.
HudLetterbox & GetLetterbox()
Definition hudcommon.h:134
void Reset()
Return every part to its state at the start of a song.
HudTextNode & GetMessage2()
Definition hudcommon.h:119
void DrawAvatar()
Draw the avatar of the leader.
HudFlyingButton & GetButton(int nLane) const
Definition hudcommon.h:147
void Draw()
Draw the song position, the button icons, the sections, and the stick marker.
HudHiliteBox & GetHilite()
Definition hudcommon.h:129
OvyTrackLabel * GetTrackLabel() const
Definition hudcommon.h:200
OvySectionPanel * GetSections() const
Definition hudcommon.h:185
void SetPlaying(int nPlayer, bool bPlaying)
Mark a player as playing or not, and show the leader avatar of the one player who plays.
OvySongPos * GetSongPos() const
Definition hudcommon.h:139
OvyJuice & GetJuice()
Definition hudcommon.h:109
HudTextMessage & GetTextMessage()
Definition hudcommon.h:124
void SetDialog(std::unique_ptr< OvyDialog > pDialog)
Replace the panel of text.
Definition hudcommon.h:175
OvyAvatar * GetLeaderAvatar() const
Definition hudcommon.h:180
OvyController * GetController() const
Definition hudcommon.h:152
HudTextNode & GetMessage()
Definition hudcommon.h:114
Highlight the tutorial draws round a part of the screen, and an arrow that points at a place.
Definition hudhilitebox.h:17
Banner of the letters of AMPLITUDE a duel player has won, which flies to the player's score.
Definition hudletterexit.h:15
Bars that close in over the top and the bottom of the screen.
Definition hudletterbox.h:11
Marker on the controller stick diagram of the head-up display, which the tutorial moves.
Definition hudstick.h:15
Message of two lines that flies across the head-up display and trails a blur.
Definition hudtextmessage.h:16
Line of text on the head-up display, drawn on its own over the rest.
Definition hudtextnode.h:11
Avatar of a player beside the tracks, with the name of the track or player under it.
Definition ovyavatar.h:19
Picture of the controller on the head-up display, with the buttons the tutorial points at.
Definition ovycontroller.h:15
Panel of text the tutorial opens over the head-up display.
Definition ovydialog.h:13
Energy bar of the solo head-up display.
Definition ovyjuice.h:16
List of the sections of the song on the remix head-up display, with the current one lit.
Definition ovysectionpanel.h:19
Bar of the song's progress on the head-up display, with a marker per checkpoint.
Definition ovysongpos.h:20
Label of the instrument of the track the local player is on.
Definition ovytracklabel.h:13
Mix-in for an object driven by a frame.
Definition rndanimatable.h:16
View that shows the children of another view, its children owner, under its own transform and frame.
Definition rndview.h:27