wavelength 1.0.0
Loading...
Searching...
No Matches
ovylocalplayer.h
Go to the documentation of this file.
1#pragma once
2
3#include <memory>
4
5#include "app/hudpoints.h"
6#include "app/ovyremixpanel.h"
7
16public:
29 OvyLocalPlayer(int nPlayer, int nPosition, RndView *pLayout);
30
38
49 void Poll(float fUnused, float fUnused2, float fSongDelta, float fRealDelta);
50
57 void DrawHud();
58
65 void DrawAvatar();
66
73 void Reset();
74
76 int GetPlayer() const {
77 return mPlayer;
78 }
79
82 return mPoints.get();
83 }
84
87 return mRemix.get();
88 }
89
90private:
91 int mPlayer;
92 int mPosition;
93 std::unique_ptr<HudPoints> mPoints;
94 std::unique_ptr<OvyRemixPanel> mRemix;
95 int mReserved10[2]; // +0x10, cleared by the constructor and not yet identified.
96};
Points a player is building on the current phrase, and the points that fly off when the phrase is cap...
Definition hudpoints.h:17
void DrawHud()
Draw the remix menu.
int GetPlayer() const
Definition ovylocalplayer.h:76
void Reset()
Empty the pending points.
OvyRemixPanel * GetRemix() const
Definition ovylocalplayer.h:86
void Poll(float fUnused, float fUnused2, float fSongDelta, float fRealDelta)
Advance the parts.
OvyLocalPlayer(int nPlayer, int nPosition, RndView *pLayout)
Construct the parts of a player.
~OvyLocalPlayer()
Destroy the parts.
HudPoints * GetPoints() const
Definition ovylocalplayer.h:81
void DrawAvatar()
Draw nothing.
Remix head-up display of one player: the main panel and the effect panels that slide out of it.
Definition ovyremixpanel.h:19
View that shows the children of another view, its children owner, under its own transform and frame.
Definition rndview.h:27