144 void SetMultiplier(
int nPlayer,
int nMultiplier,
int bHot,
const char *pszText);
155 void ShowPoints(
int nPlayer,
int nPoints,
const char *pszText);
230 const char *pszSmallText,
363 void SetTrack(
int nPlayer,
int nInstrument,
int nTrackKind);
387 void SetBoxRect(
float fX0,
float fY0,
float fX1,
float fY1,
float fDuration);
479 void OpenDialog(
const char *pszText,
float fSize,
float fPosition);
676 void Poll(
float fFrame,
float fSongDelta,
float fUnused,
float fRealDelta,
float fFuture);
763 std::unique_ptr<HudCommon> mCommon;
769 std::vector<std::unique_ptr<OvyLocalPlayer>>
771 std::vector<std::unique_ptr<OvyAllPlayer>> mAlls;
Reference-counted array of script data nodes.
Definition dataarray.h:20
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
Receiver of engine messages.
Definition msgsink.h:21
void SetFreqSize(int nPlayer, int nFreqSize)
Choose the size of a player's avatar display.
void SetEnergyWarning(bool bWarn)
Start or stop the warning of the energy bar.
void SetMessage(const char *pszText, bool bFirstLine)
Show a line of text, or hide it for a null or empty text.
static const char * sHudPrefix
The prefix of the head-up display layout's scene objects, HUD1, HUDd, or HUDm.
Definition overlay.h:721
void ShowCheckpoint()
Show every score of a shared-screen game at its place in the ranking, with the bar of its share of th...
void ShowArrow(bool bShow)
Fade the tutorial arrow in or out.
void ShowController(bool bShow, float fPosition)
Slide the picture of the controller in or out and place it.
void ShowStick(int nDirection, const Vector2 *pPosition)
Show the stick marker of a remix.
void SetTrack(int nPlayer, int nInstrument, int nTrackKind)
Label the track a player moved to.
void ShowTextMessage(const char *pszText, const char *pszSmallText, float fDuration, float fScale, int nPlayer, float fX, float fZ)
Fly a message of two lines across the display.
void HideMultiplier(int nPlayer)
Hide the multiplier of a player's pending points.
void ShowBox(bool bShow)
Fade the tutorial highlight in or out.
void ShowCapture(int nPlayer)
Show a player catching a phrase.
Definition overlay.h:183
void OpenDialog(const char *pszText, float fSize, float fPosition)
Fill the panel of text and slide it in.
static Vector2 sHudZ
The depth range the display camera draws into, hud_z.
Definition overlay.h:736
void SetSectionCount(int nCount)
Show one blank entry per section of a remix.
void SetButtonGlyph(int nLane, const char *pszGlyph)
Change the glyph of the button icon of a lane.
Overlay(DataArray *pConfig, DataArray *pDefaults)
Build the display of the game about to start.
static float sAssemblyTime
The time the head-up display takes to assemble, assembly_time.
Definition overlay.h:729
void ClearStarted()
Let the parts show again once the song starts.
static float sDuelPointsMoveTicks
The ticks the points of a duel take to move, duel_points_move_ticks.
Definition overlay.h:752
void SetControllerHighlight(bool bHighlight)
Light or darken the picture of the controller.
OvyLocalPlayer * FindLocal(int nPlayer)
Find the local parts of a player.
void SetPowerupEnabled(int nPlayer, int nEnabled)
Let a player's power-up icon slide into view or not.
void ShowPoints(int nPlayer, int nPoints, const char *pszText)
Show a player's pending points, or reveal letters in a duel.
void SetMultiplier(int nPlayer, int nMultiplier, int bHot, const char *pszText)
Show the multiplier of a player's pending points.
void ShowSections(bool bShow)
Slide the sections of a remix in or out.
void SetSectionLabel(int nIndex, const char *pszLabel)
Set the label of a section of a remix.
void ShowPlayerOnTrack(int nPlayer, int nIndex)
Show a player on a track.
Definition overlay.h:497
void ShowRemixPanel(int nPlayer, int nPanel)
Slide out a panel of a player's remix menu.
void ShowTrackLabel(bool bShow)
Show or hide the track label.
void HideStick()
Hide the stick marker of a remix.
void SetRemixPanelText(int nPlayer, int nIndex, const char *pszText, int nPanel)
Set the text of an entry of a player's remix panel.
void SetCameraOffset(const Vector3 *pOffset)
Move the display camera by an offset from its place in the layout.
void SetBoxRect(float fX0, float fY0, float fX1, float fY1, float fDuration)
Move the tutorial highlight to a rectangle of the screen.
void ShowSongPos(bool bShow)
Slide the song position bar in or out.
void EndPoints(int nPlayer, int nResult)
End a player's pending points, or fly the letters of a duel.
void FlashPoints(int nPlayer, float fValue)
Flash a player's pending points, or time the letter banner of a duel.
void ShowAvatar(int nPlayer, bool bShow)
Show or hide a player's avatar, or the leader avatar for player 0 when the player has none.
void SetPartsShown(bool bShow, int nUnused)
Show or hide the parts of the display the game shows during play.
void CreateTutorialParts()
Build the picture of the controller and the panel of text a tutorial uses.
OvyAllPlayer * FindAll(int nPlayer)
Find the parts every player has.
void ShowPowerup(int nPlayer, int nPowerup)
Show the power-up a player holds.
float GetLetterbox()
Report how far the letterbox bars are closed.
void ShowControllerButton(int nButton, bool bShow)
Show or hide a button of the picture of the controller.
bool DispatchPriv(Message *pMsg) override
Ignore a message.
void Draw()
Draw the display: the layout, the common parts, the parts of every player, and the avatars,...
void ShowEnergy(bool bShow)
Slide the energy bar in or out.
~Overlay() override
Destroy the display and turn the screen blur off.
void SetEnergy(float fLevel, int nColor)
Set the level of the energy bar.
void HideButton(int nLane)
Hide the button icon of a lane.
void ClearCheckpoints()
Remove the checkpoints of the song position bar.
static char sHudLetter
The letter of the head-up display layout, 1, d, or m.
Definition overlay.h:714
void FlashRemixPanel(int nPlayer, int nPanel)
Blink the cursor of a player's remix panel.
void SetArrowTarget(float fX, float fY, float fAngle, float fDuration)
Move the tutorial arrow to point at a place of the screen.
void Reset()
Return every part to its state at the start of a song, hidden.
void SetLetterbox(bool bClosed)
Close or open the letterbox bars.
void SetRemixPanelLit(int nPlayer, int nIndex, int bLit, int nPanel)
Light or darken an entry of a player's remix panel.
void FlyButton(int nLane, const Vector2 *pFrom, const Vector2 *pTo)
Fly the button icon of a lane.
static void SetHudPrefix()
Choose the head-up display layout from the community and the rule set of the game.
void HighlightSection(int nIndex)
Light the entry of a section of a remix.
static void LoadConfig(DataArray *pConfig, DataArray *pDefaults, bool bUnused)
Read the settings of the display from a configuration section and its defaults.
void Poll(float fFrame, float fSongDelta, float fUnused, float fRealDelta, float fFuture)
Advance the display, and show its parts once the song is about to start.
void ShowResult(bool bWon, int nMode)
Show the result of a song: hide the energy bar of a lost song, or clear the pending points of a won o...
void AddCheckpoint(float fPos, const char *pszLabel)
Add a checkpoint to the song position bar.
void ShowScore(int nPlayer, bool bShow)
Show or hide a player's score and pending points.
void ShowRemix(int nPlayer, bool bShow)
Slide a player's remix menu in or out.
void SetScore(int nPlayer, int nScore)
Show the score of a player, or the letters of a duel player.
static float sPointsScale
The scale of the points that fly off a score, hud_points_scale.
Definition overlay.h:744
void SelectRemixPanelEntry(int nPlayer, int nIndex, int nPanel)
Move the cursor of a player's remix panel to an entry.
void CloseDialog()
Slide the panel of text out.
void SetPlaying(int nPlayer, bool bPlaying)
Mark a player as playing or not.
static float sDuelPointsMoveRate
One over sDuelPointsMoveTicks.
Definition overlay.h:760
void SetButtonPulse(int nLane, bool bPulse)
Start or stop the pulse of the button icon of a lane.
Parts of the head-up display every player has: the score and the avatar.
Definition ovyallplayer.h:16
Parts of the head-up display of a player on this console: the pending points and the remix menu.
Definition ovylocalplayer.h:15
Camera.
Definition rndcam.h:23
View that shows the children of another view, its children owner, under its own transform and frame.
Definition rndview.h:27
Two-component vector, used for texture coordinates.
Definition vector2.h:12
Three-component vector, padded to a PlayStation 2 quadword.
Definition vector3.h:14