57 void Show(
bool bShow)
override {
149 Color mBackgroundColor;
153 signed char mNextPlayer;
Parts and colours of a player's avatar, the Freq the Freq maker edits.
Definition avatarpartset.h:23
HideablePanel(const char *pszAnim, const char *pszDrawable, bool bShown)
Construct a panel and find its animation and drawable.
void Show(bool bShow) override
Record whether the display is wanted, and show it while the avatar display is not hidden.
Definition ovyavatar.h:57
void Poll(float fDelta)
Advance the slide and the swing, and swap the avatar halfway through a swing.
void SetPlayer(int nPlayer)
Swing the display round to another player.
~OvyAvatar() override
Stop the animations of the avatars and move the avatar camera back to bust.
void SetInstrument(int nPlayer, int nInstrument, int nTrackKind)
Show the name and the colour of the instrument of a track under the avatar.
static constexpr signed char kNoChange
The value of mNextPlayer when no change of player is pending.
Definition ovyavatar.h:25
OvyAvatar(int nPlayer, int nIndex, RndView *pHudView)
Construct a hidden display.
static constexpr signed char kNoPlayer
The value of mPlayer and mNextPlayer for no player.
Definition ovyavatar.h:22
static float sLeaderSwingTime
The time the swing to a new leader takes, avatar_fx_leader_time.
Definition ovyavatar.h:132
void Draw()
Render the avatar and draw the display while it is not hidden, or render the winner's avatar while it...
void UpdateShown()
Show the display when it is wanted and the avatar display is not hidden.
void Reset()
Stop the animations of the avatars, apply the size from the options, and empty a display that swings.
void SetFreqSize(int nFreqSize)
Choose the size of the avatar display.
static Vector2 sDepthRange
The depth range the avatars draw into, freq_z.
Definition ovyavatar.h:139
Value that moves toward a target along an interpolator, and poses an animation on the value.
Definition rampanimator.h:14
Surface description: blending, lighting colours, culling, and a list of texture stages.
Definition rndmat.h:20
Triangle mesh with a material.
Definition rndmesh.h:31
Text drawn with a bitmap font as a mesh of one quad per character.
Definition rndtext.h:27
View that shows the children of another view, its children owner, under its own transform and frame.
Definition rndview.h:27
Linear colour with four float components.
Definition color.h:12
Two-component vector, used for texture coordinates.
Definition vector2.h:12