Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
ScreenGameplayPractice Class Reference
Inheritance diagram for ScreenGameplayPractice:
Inheritance graph
[legend]
Collaboration diagram for ScreenGameplayPractice:
Collaboration graph
[legend]

Public Member Functions

void FillPlayerInfo (PlayerInfo *playerInfoOut) override
 
void Init () override
 This is called immediately after construction, to allow initializing after all derived classes exist.
 
void Update (float fDeltaTime) override
 
bool Input (const InputEventPlus &input) override
 
void PushSelf (lua_State *L) override
 
LifeMeterGetLifeMeter (PlayerNumber pn)
 
PlayerInfoGetPlayerInfo (PlayerNumber pn)
 
void FailFadeRemovePlayer (PlayerInfo *pi)
 
void FailFadeRemovePlayer (PlayerNumber pn)
 
float SetRate (float newRate)
 
float AddToRate (float amountAdded)
 
void SetSongPosition (float newSongPositionSeconds, float noteDelay=0.f, bool hardSeek=false, bool unpause=false)
 
void TogglePause ()
 
void SetLoopRegion (float start, float end)
 
void ResetLoopRegion ()
 
- Public Member Functions inherited from ScreenGameplay
void BeginScreen () override
 This is called immediately before the screen is used.
 
void HandleScreenMessage (const ScreenMessage &SM) override
 
void HandleMessage (const Message &msg) override
 
void Cancel (ScreenMessage smSendWhenDone) override
 
void DrawPrimitives () override
 Draw the primitives of the Actor.
 
ScreenType GetScreenType () const override
 Retrieve the current ScreenType.
 
LifeMeterGetLifeMeter (PlayerNumber pn)
 
PlayerInfoGetPlayerInfo (PlayerNumber pn)
 
void FailFadeRemovePlayer (PlayerInfo *pi)
 
void FailFadeRemovePlayer (PlayerNumber pn)
 
void BeginBackingOutFromGameplay ()
 
void RestartGameplayForLua ()
 This function exists because.
 
const float GetSongPosition ()
 
- Public Member Functions inherited from ScreenWithMenuElements
void Init () override
 This is called immediately after construction, to allow initializing after all derived classes exist.
 
void BeginScreen () override
 This is called immediately before the screen is used.
 
void HandleScreenMessage (const ScreenMessage &SM) override
 
void Update (float fDeltaTime) override
 
void UpdateTimedFunctions (float fDeltaTime) override
 
void StartTransitioningScreen (ScreenMessage smSendWhenDone)
 
bool IsTransitioning ()
 
bool AllowCallbackInput () override
 
void StopTimer ()
 
void ResetTimer ()
 
virtual void TweenOnScreen ()
 
virtual void TweenOffScreen ()
 
void PushSelf (lua_State *L) override
 
bool AllowLateJoin () const override
 Determine if we allow extra players to join in on this screen.
 
- Public Member Functions inherited from Screen
virtual void EndScreen ()
 This is called when the screen is popped.
 
void SetLockInputSecs (const float f)
 
void PostScreenMessage (const ScreenMessage &SM, float fDelay)
 Put the specified message onto the screen for a specified time.
 
void ClearMessageQueue ()
 Clear the entire message queue.
 
void ClearMessageQueue (const ScreenMessage &SM)
 Clear the message queue of a specific ScreenMessage.
 
bool AllowOperatorMenuButton () const
 
void SetTimeout (const std::function< void()> &f, float ms)
 
void SetInterval (const std::function< void()> &f, float ms, int fRemove)
 
std::string GetNextScreenName () const
 
std::string GetPrevScreen () const
 
void SetNextScreenName (std::string const &name)
 
void SetPrevScreenName (std::string const &name)
 
bool PassInputToLua (const InputEventPlus &input)
 
void AddInputCallbackFromStack (lua_State *L)
 
void RemoveInputCallback (lua_State *L)
 
virtual bool MenuUp (const InputEventPlus &)
 
virtual bool MenuDown (const InputEventPlus &)
 
virtual bool MenuLeft (const InputEventPlus &)
 
virtual bool MenuRight (const InputEventPlus &)
 
virtual bool MenuStart (const InputEventPlus &)
 
virtual bool MenuSelect (const InputEventPlus &)
 
virtual bool MenuBack (const InputEventPlus &)
 
virtual bool MenuCoin (const InputEventPlus &)
 
- Public Member Functions inherited from ActorFrame
 ActorFrame (const ActorFrame &cpy)
 
void InitState () override
 Set up the initial state.
 
void LoadFromNode (const XNode *pNode) override
 
auto Copy () const -> ActorFrame *override
 
virtual void AddChild (Actor *pActor)
 Add a new child to the ActorFrame.
 
virtual void RemoveChild (Actor *pActor)
 Remove the specified child from the ActorFrame.
 
void TransferChildren (ActorFrame *pTo)
 
auto GetChild (const std::string &sName) -> Actor *
 
auto GetChildren () const -> std::vector< Actor * >
 
auto GetNumChildren () const -> int
 
void RemoveAllChildren ()
 Remove all of the children from the frame.
 
void MoveToTail (Actor *pActor)
 Move a particular actor to the tail.
 
void MoveToHead (Actor *pActor)
 Move a particular actor to the head.
 
void SortByDrawOrder ()
 
void SetDrawByZPosition (bool b)
 
void SetDrawFunction (const LuaReference &DrawFunction)
 
void SetUpdateFunction (const LuaReference &UpdateFunction)
 
auto GetDrawFunction () const -> LuaReference
 
virtual auto AutoLoadChildren () const -> bool
 
void DeleteChildrenWhenDone (bool bDelete=true)
 
void DeleteAllChildren ()
 
void PushChildrenTable (lua_State *L)
 
void PushChildTable (lua_State *L, const std::string &sName)
 
void PlayCommandOnChildren (const std::string &sCommandName, const LuaReference *pParamTable=nullptr)
 
void PlayCommandOnLeaves (const std::string &sCommandName, const LuaReference *pParamTable=nullptr)
 
void RunCommandsRecursively (const LuaReference &cmds, const LuaReference *pParamTable=nullptr) override
 
virtual void RunCommandsOnChildren (const LuaReference &cmds, const LuaReference *pParamTable=nullptr)
 
void RunCommandsOnChildren (const apActorCommands &cmds, const LuaReference *pParamTable=nullptr)
 
void RunCommandsOnLeaves (const LuaReference &cmds, const LuaReference *pParamTable=nullptr) override
 
auto IsFirstUpdate () const -> bool
 
void UpdateInternal (float fDeltaTime) override
 
void BeginDraw () override
 Start the drawing and push the transform on the world matrix stack.
 
void EndDraw () override
 Pop the transform from the world matrix stack.
 
void SetZTestMode (ZTestMode mode) override
 
void SetZWrite (bool b) override
 
void FinishTweening () override
 
void HurryTweening (float factor) override
 
void SetUpdateFunctionInterval (float ms)
 
void SetUpdateRate (float rate) override
 
auto GetUpdateRate () -> float override
 
void SetFOV (float fFOV)
 
void SetVanishPoint (float fX, float fY)
 
void SetCustomLighting (bool bCustomLighting)
 
void SetAmbientLightColor (const RageColor &c)
 
void SetDiffuseLightColor (const RageColor &c)
 
void SetSpecularLightColor (const RageColor &c)
 
void SetLightDirection (const RageVector3 &vec)
 
virtual void SetPropagateCommands (bool b)
 
auto GetTweenTimeLeft () const -> float override
 Amount of time until all tweens (and all children's tweens) have stopped:
 
void RunCommands (const LuaReference &cmds, const LuaReference *pParamTable=nullptr) override
 
void RunCommands (const apActorCommands &cmds, const LuaReference *pParamTable=nullptr) override
 
- Public Member Functions inherited from Actor
 Actor ()
 Set up the Actor with its initial settings.
 
 Actor (const Actor &cpy)
 Copy a new Actor to the old one.
 
Actoroperator= (const Actor &x)
 
auto PartiallyOpaque () const -> bool
 
auto IsOver (float mx, float my) -> bool
 
auto GetFakeParentOrParent () -> Actor *
 
auto GetTrueX () -> float
 
auto GetTrueY () -> float
 
auto GetTrueZ () -> float
 
auto GetTrueRotationX () -> float
 
auto GetTrueRotationY () -> float
 
auto GetTrueRotationZ () -> float
 
auto GetTrueZoom () -> float
 
auto GetTrueZoomX () -> float
 
auto GetTrueZoomY () -> float
 
auto GetTrueZoomZ () -> float
 
auto IsVisible () -> bool
 
void Draw ()
 Calls multiple functions for drawing the Actors.
 
virtual auto EarlyAbortDraw () const -> bool
 Allow the Actor to be aborted early.
 
virtual void PreDraw ()
 Calculate values that may be needed for drawing.
 
virtual void PostDraw ()
 Reset internal diffuse and glow.
 
virtual void SetGlobalRenderStates ()
 Set the global rendering states of this Actor.
 
virtual void SetTextureRenderStates ()
 Set the texture rendering states of this Actor.
 
void UpdateTweening (float fDeltaTime)
 
void CalcPercentThroughTween ()
 
virtual void SetCurrentTweenStart ()
 
virtual void EraseHeadTween ()
 
virtual void UpdatePercentThroughTween (float PercentThroughTween)
 
auto get_tween_uses_effect_delta () const -> bool
 
void set_tween_uses_effect_delta (bool t)
 
auto GetName () const -> const std::string &
 Retrieve the Actor's name.
 
virtual void SetName (const std::string &sName)
 Set the Actor's name to a new one.
 
void SetParent (Actor *pParent)
 Give this Actor a new parent.
 
auto GetParent () const -> Actor *
 Retrieve the Actor's parent.
 
auto GetLineage () const -> std::string
 Retrieve the Actor's lineage.
 
void SetFakeParent (Actor *mailman)
 
auto GetFakeParent () const -> Actor *
 
void AddWrapperState ()
 
void RemoveWrapperState (size_t i)
 
auto GetWrapperState (size_t i) -> Actor *
 
auto GetNumWrapperStates () const -> size_t
 
auto GetX () const -> float
 Retrieve the Actor's x position.
 
auto GetY () const -> float
 Retrieve the Actor's y position.
 
auto GetZ () const -> float
 Retrieve the Actor's z position.
 
auto GetDestX () const -> float
 
auto GetDestY () const -> float
 
auto GetDestZ () const -> float
 
void SetX (float x)
 
void SetY (float y)
 
void SetZ (float z)
 
void SetXY (float x, float y)
 
void AddX (float x)
 Add to the x position of this Actor.
 
void AddY (float y)
 Add to the y position of this Actor.
 
void AddZ (float z)
 Add to the z position of this Actor.
 
auto GetUnzoomedWidth () const -> float
 
auto GetUnzoomedHeight () const -> float
 
auto GetZoomedWidth () const -> float
 
auto GetZoomedHeight () const -> float
 
void SetWidth (float width)
 
void SetHeight (float height)
 
auto GetBaseZoomX () const -> float
 
void SetBaseZoomX (float zoom)
 
auto GetBaseZoomY () const -> float
 
void SetBaseZoomY (float zoom)
 
auto GetBaseZoomZ () const -> float
 
void SetBaseZoomZ (float zoom)
 
void SetBaseZoom (float zoom)
 
void SetBaseRotationX (float rot)
 
void SetBaseRotationY (float rot)
 
void SetBaseRotationZ (float rot)
 
void SetBaseRotation (const RageVector3 &rot)
 
virtual void SetBaseAlpha (float fAlpha)
 
void SetInternalDiffuse (const RageColor &c)
 
void SetInternalGlow (const RageColor &c)
 
auto GetZoom () const -> float
 Retrieve the general zoom factor, using the x coordinate of the Actor.
 
auto GetZoomX () const -> float
 Retrieve the zoom factor for the x coordinate of the Actor.
 
auto GetZoomY () const -> float
 Retrieve the zoom factor for the y coordinate of the Actor.
 
auto GetZoomZ () const -> float
 Retrieve the zoom factor for the z coordinate of the Actor.
 
void SetZoom (float zoom)
 Set the zoom factor for all dimensions of the Actor.
 
void SetZoomX (float zoom)
 Set the zoom factor for the x dimension of the Actor.
 
void SetZoomY (float zoom)
 Set the zoom factor for the y dimension of the Actor.
 
void SetZoomZ (float zoom)
 Set the zoom factor for the z dimension of the Actor.
 
void ZoomTo (float fX, float fY)
 
void ZoomToWidth (float zoom)
 
void ZoomToHeight (float zoom)
 
auto GetRotationX () const -> float
 
auto GetRotationY () const -> float
 
auto GetRotationZ () const -> float
 
void SetRotationX (float rot)
 
void SetRotationY (float rot)
 
void SetRotationZ (float rot)
 
void AddRotationX (float rot)
 
void AddRotationY (float rot)
 
void AddRotationZ (float rot)
 
void AddRotationH (float rot)
 
void AddRotationP (float rot)
 
void AddRotationR (float rot)
 
void SetSkewX (float fAmount)
 
auto GetSkewX (float) const -> float
 
void SetSkewY (float fAmount)
 
auto GetSkewY (float) const -> float
 
auto GetCropLeft () const -> float
 
auto GetCropTop () const -> float
 
auto GetCropRight () const -> float
 
auto GetCropBottom () const -> float
 
void SetCropLeft (float percent)
 
void SetCropTop (float percent)
 
void SetCropRight (float percent)
 
void SetCropBottom (float percent)
 
void SetFadeLeft (float percent)
 
void SetFadeTop (float percent)
 
void SetFadeRight (float percent)
 
void SetFadeBottom (float percent)
 
void SetGlobalDiffuseColor (const RageColor &c)
 
virtual void SetDiffuse (const RageColor &c)
 
virtual void SetDiffuseAlpha (float f)
 
auto GetCurrentDiffuseAlpha () const -> float
 
void SetDiffuseColor (const RageColor &c)
 
void SetDiffuses (int i, const RageColor &c)
 
void SetDiffuseUpperLeft (const RageColor &c)
 
void SetDiffuseUpperRight (const RageColor &c)
 
void SetDiffuseLowerLeft (const RageColor &c)
 
void SetDiffuseLowerRight (const RageColor &c)
 
void SetDiffuseTopEdge (const RageColor &c)
 
void SetDiffuseRightEdge (const RageColor &c)
 
void SetDiffuseBottomEdge (const RageColor &c)
 
void SetDiffuseLeftEdge (const RageColor &c)
 
auto GetDiffuse () const -> RageColor
 
auto GetDiffuses (int i) const -> RageColor
 
auto GetDiffuseAlpha () const -> float
 
void SetGlow (const RageColor &c)
 
auto GetGlow () const -> RageColor
 
void SetAux (float f)
 
auto GetAux () const -> float
 
virtual void BeginTweening (float time, ITween *pInterp)
 
virtual void BeginTweening (float time, TweenType tt=TWEEN_LINEAR)
 
virtual void StopTweening ()
 
void Sleep (float time)
 
void QueueCommand (const std::string &sCommandName)
 
void QueueMessage (const std::string &sMessageName)
 
auto DestTweenState () -> TweenState &
 
auto DestTweenState () const -> const TweenState &
 
void ScaleToCover (const RectF &rect)
 
void ScaleToFitInside (const RectF &rect)
 
void ScaleTo (const RectF &rect, StretchType st)
 
void StretchTo (const RectF &rect)
 
virtual void SetHorizAlign (float f)
 
virtual void SetVertAlign (float f)
 
void SetHorizAlign (HorizAlign ha)
 
void SetVertAlign (VertAlign va)
 
virtual auto GetHorizAlign () -> float
 
virtual auto GetVertAlign () -> float
 
void StopEffect ()
 
auto GetEffect () const -> Effect
 
auto GetSecsIntoEffect () const -> float
 
auto GetEffectDelta () const -> float
 
void SetEffectColor1 (const RageColor &c)
 
void SetEffectColor2 (const RageColor &c)
 
void RecalcEffectPeriod ()
 
void SetEffectPeriod (float fTime)
 
auto GetEffectPeriod () const -> float
 
auto SetEffectTiming (float ramp_toh, float at_half, float ramp_tof, float at_zero, float at_full, std::string &err) -> bool
 
auto SetEffectHoldAtFull (float haf, std::string &err) -> bool
 
void SetEffectOffset (float fTime)
 
void SetEffectClock (EffectClock c)
 
void SetEffectClockString (const std::string &s)
 
void SetEffectMagnitude (const RageVector3 &vec)
 
auto GetEffectMagnitude () const -> RageVector3
 
void ResetEffectTimeIfDifferent (Effect new_effect)
 
void SetEffectDiffuseBlink (float fEffectPeriodSeconds, const RageColor &c1, const RageColor &c2)
 
void SetEffectDiffuseShift (float fEffectPeriodSeconds, const RageColor &c1, const RageColor &c2)
 
void SetEffectDiffuseRamp (float fEffectPeriodSeconds, const RageColor &c1, const RageColor &c2)
 
void SetEffectGlowBlink (float fEffectPeriodSeconds, const RageColor &c1, const RageColor &c2)
 
void SetEffectGlowShift (float fEffectPeriodSeconds, const RageColor &c1, const RageColor &c2)
 
void SetEffectGlowRamp (float fEffectPeriodSeconds, const RageColor &c1, const RageColor &c2)
 
void SetEffectRainbow (float fEffectPeriodSeconds)
 
void SetEffectWag (float fPeriod, const RageVector3 &vect)
 
void SetEffectBounce (float fPeriod, const RageVector3 &vect)
 
void SetEffectBob (float fPeriod, const RageVector3 &vect)
 
void SetEffectPulse (float fPeriod, float fMinZoom, float fMaxZoom)
 
void SetEffectSpin (const RageVector3 &vect)
 
void SetEffectVibrate (const RageVector3 &vect)
 
auto GetVisible () const -> bool
 Determine if the Actor is visible at this time.
 
void SetVisible (bool b)
 
void SetShadowLength (float fLength)
 
void SetShadowLengthX (float fLengthX)
 
void SetShadowLengthY (float fLengthY)
 
void SetShadowColor (const RageColor &c)
 
void SetDrawOrder (int iOrder)
 
auto GetDrawOrder () const -> int
 
virtual void EnableAnimation (bool b)
 
void StartAnimating ()
 
void StopAnimating ()
 
void SetBlendMode (BlendMode mode)
 
void SetTextureTranslate (float x, float y)
 
void SetTextureWrapping (bool b)
 
void SetTextureFiltering (bool b)
 
void SetClearZBuffer (bool b)
 
void SetUseZBuffer (bool b)
 
void SetZBias (float f)
 
virtual void SetCullMode (CullMode mode)
 
virtual void PushContext (lua_State *L)
 
void AddCommand (const std::string &sCmdName, const apActorCommands &apac, bool warn=true)
 
auto HasCommand (const std::string &sCmdName) const -> bool
 
auto GetCommand (const std::string &sCommandName) const -> const apActorCommands *
 
void PlayCommand (const std::string &sCommandName)
 
void PlayCommandNoRecurse (const Message &msg)
 
virtual auto GetNumStates () const -> int
 
virtual void SetState (int)
 
virtual auto GetAnimationLengthSeconds () const -> float
 
virtual void SetSecondsIntoAnimation (float)
 
- Public Member Functions inherited from MessageSubscriber
 MessageSubscriber (const MessageSubscriber &cpy)
 
auto operator= (const MessageSubscriber &cpy) -> MessageSubscriber &
 
void SubscribeToMessage (MessageID message)
 
void SubscribeToMessage (const std::string &sMessageName)
 
void UnsubscribeAll ()
 
- Public Member Functions inherited from IMessageSubscriber
void ClearMessages (const std::string &sMessage="")
 

Protected Member Functions

void SetupNoteDataFromRow (Steps *pSteps, int minRow=0, int maxrow=MAX_NOTE_ROW) override
 
- Protected Member Functions inherited from ScreenGameplay
virtual void UpdateStageStats (MultiPlayer)
 
virtual bool UseSongBackgroundAndForeground () const
 
virtual void LoadPlayer ()
 
virtual void ReloadPlayer ()
 
virtual void LoadScoreKeeper ()
 
virtual void RestartGameplay ()
 
void SetupSong (int iSongIndex)
 
void ReloadCurrentSong ()
 
virtual void LoadNextSong ()
 
void StartPlayingSong (float fMinTimeToNotes, float fMinTimeToMusic)
 
void GetMusicEndTiming (float &fSecondsToStartFadingOutMusic, float &fSecondsToStartTransitioningOut)
 
void PlayAnnouncer (const std::string &type, float fSeconds, float *fDeltaSeconds)
 
void PlayAnnouncer (const std::string &type, float fSeconds)
 
void SendCrossedMessages ()
 
void PlayTicks ()
 
void UpdateSongPosition ()
 
void SongFinished ()
 
virtual void SaveStats ()
 
virtual void StageFinished (bool bBackedOut)
 
bool AllAreFailing ()
 
virtual void InitSongQueues ()
 
void AbortGiveUpText (bool show_abort_text)
 
void AbortGiveUp (bool bShowText)
 
void ResetGiveUpTimers (bool show_text)
 
virtual PlayerInfoGetPlayerInfoForInput (const InputEventPlus &iep)
 
- Protected Member Functions inherited from ScreenWithMenuElements
std::string HandleLuaMusicFile (std::string const &path)
 
virtual void StartPlayingMusic ()
 
void SetHelpText (const std::string &s)
 
- Protected Member Functions inherited from ActorFrame
void LoadChildrenFromNode (const XNode *pNode)
 
- Protected Member Functions inherited from Actor
auto GetEffectDeltaTime () const -> float
 

Additional Inherited Members

- Public Types inherited from Actor
enum  Effect {
  no_effect , diffuse_blink , diffuse_shift , diffuse_ramp ,
  glow_blink , glow_shift , glow_ramp , rainbow ,
  wag , bounce , bob , pulse ,
  spin , vibrate
}
 The list of the different effects. More...
 
enum  EffectClock {
  CLOCK_TIMER , CLOCK_TIMER_GLOBAL , CLOCK_BGM_TIME , CLOCK_BGM_BEAT ,
  CLOCK_BGM_TIME_NO_OFFSET , CLOCK_BGM_BEAT_NO_OFFSET , CLOCK_BGM_BEAT_PLAYER1 , CLOCK_BGM_BEAT_PLAYER2 ,
  CLOCK_LIGHT_1 = 1000 , CLOCK_LIGHT_LAST = 1100 , NUM_CLOCKS
}
 Various values an Actor's effect can be tied to.
 
enum  StretchType { fit_inside , cover }
 How do we handle stretching the Actor? More...
 
- Static Public Member Functions inherited from ScreenGameplay
static bool Center1Player ()
 Determine if we are to center the columns for just one player.
 
- Static Public Member Functions inherited from Screen
static void InitScreen (Screen *pScreen)
 
- Static Public Member Functions inherited from Actor
static void SetBGMTime (float fTime, float fBeat, float fTimeNoOffset, float fBeatNoOffset)
 
static void SetPlayerBGMBeat (float fBeat, float fBeatNoOffset)
 
- Public Attributes inherited from ScreenWithMenuElements
bool m_bShouldAllowLateJoin
 
- Public Attributes inherited from Screen
std::vector< std::pair< std::function< void()>, float > > delayedFunctions
 
std::list< std::tuple< std::function< void()>, float, float, int > > delayedPeriodicFunctions
 
std::vector< int > delayedPeriodicFunctionIdsToDelete
 
bool b_PreviewNoteFieldIsActive = false
 
- Public Attributes inherited from Actor
std::unique_ptr< LuaClassm_pLuaInstance
 
- Protected Types inherited from ScreenGameplay
enum  DancingState { STATE_INTRO , STATE_DANCING , STATE_OUTRO , NUM_DANCING_STATES }
 The different game states of ScreenGameplay. More...
 
- Static Protected Member Functions inherited from Screen
static bool SortMessagesByDelayRemaining (const QueuedScreenMessage &m1, const QueuedScreenMessage &m2)
 
- Protected Attributes inherited from ScreenGameplay
ThemeMetric< std::string > PLAYER_TYPE
 
ThemeMetric< std::string > SCORE_DISPLAY_TYPE
 
ThemeMetric< apActorCommands > PLAYER_INIT_COMMAND
 
LocalizedString GIVE_UP_START_TEXT
 
LocalizedString GIVE_UP_BACK_TEXT
 
LocalizedString GIVE_UP_ABORTED_TEXT
 
LocalizedString SKIP_SONG_TEXT
 
ThemeMetric< float > GIVE_UP_SECONDS
 
ThemeMetric< float > MUSIC_FADE_OUT_SECONDS
 
ThemeMetric< float > OUT_TRANSITION_LENGTH
 
ThemeMetric< float > BEGIN_FAILED_DELAY
 
ThemeMetric< float > MIN_SECONDS_TO_STEP
 
ThemeMetric< float > MIN_SECONDS_TO_MUSIC
 
ThemeMetric< float > MIN_SECONDS_TO_STEP_NEXT_SONG
 
ThemeMetric< std::string > SONG_NUMBER_FORMAT
 
enum ScreenGameplay::DancingState m_DancingState
 The specific point within ScreenGameplay.
 
std::vector< Song * > m_apSongsQueue
 The songs left to play.
 
std::vector< float > ratesqueue
 
std::vector< std::string > playlistscorekeys
 
float m_fTimeSinceLastDancingComment
 
LyricDisplay m_LyricDisplay
 
Backgroundm_pSongBackground
 
Foregroundm_pSongForeground
 
RageTimer m_initTimer
 
Transition m_NextSong
 Used between songs in a course to show the next song.
 
BitmapText m_Scoreboard [NUM_NSScoreBoardColumn]
 
bool m_bShowScoreboard
 
BitmapText m_textDebug
 
RageTimer m_GiveUpTimer
 
bool m_gave_up
 
Transition m_Ready
 
Transition m_Go
 
Transition m_Failed
 The transition to use when all players have failed.
 
Transition m_Toasty
 The transition to use when one player earns an easter egg.
 
AutoKeysounds m_AutoKeysounds
 
RageSound m_soundBattleTrickLevel1
 
RageSound m_soundBattleTrickLevel2
 
RageSound m_soundBattleTrickLevel3
 
bool m_bZeroDeltaOnNextUpdate
 
GameplayAssist m_GameplayAssist
 
RageSoundm_pSoundMusic
 
PlayerInfo m_vPlayerInfo
 
RageTimer m_timerGameplaySeconds
 
bool m_delaying_ready_announce
 
bool m_bRestarted = false
 
- Protected Attributes inherited from ScreenWithMenuElements
AutoActor m_sprUnderlay
 
MenuTimerm_MenuTimer
 
AutoActor m_sprOverlay
 
std::vector< Actor * > m_vDecorations
 
Transition m_In
 
Transition m_Out
 
Transition m_Cancel
 
ThemeMetric< bool > PLAY_MUSIC
 
ThemeMetric< bool > MUSIC_ALIGN_BEAT
 
ThemeMetric< float > DELAY_MUSIC_SECONDS
 
ThemeMetric< bool > CANCEL_TRANSITIONS_OUT
 
ThemeMetric< float > TIMER_SECONDS
 
ThemeMetric< std::string > TIMER_METRICS_GROUP
 
ThemeMetric< bool > RESET_GAMESTATE
 
- Protected Attributes inherited from Screen
std::vector< QueuedScreenMessagem_QueuedMessages
 The list of messages that are sent to a Screen.
 
InputQueueCodeSet m_Codes
 
ThemeMetric< bool > ALLOW_OPERATOR_MENU_BUTTON
 Do we allow the operator menu button to be pressed here?
 
ThemeMetric< bool > HANDLE_BACK_BUTTON
 Do we handle the back button being pressed here?
 
ThemeMetric< float > REPEAT_RATE
 
ThemeMetric< float > REPEAT_DELAY
 
std::string m_sNextScreen
 The next screen to go to once this screen is done.
 
std::string m_sPrevScreen
 
ScreenMessage m_smSendOnPop
 
float m_fLockInputSecs = 0.F
 
bool m_bRunning = false
 
- Protected Attributes inherited from ActorFrame
std::vector< Actor * > m_SubActors
 The children Actors used by the ActorFrame.
 
bool m_bPropagateCommands
 
bool m_bDeleteChildren
 
bool m_bDrawByZPosition
 
LuaReference m_UpdateFunction
 
LuaReference m_DrawFunction
 
float m_fUpdateFInterval { 0.016F }
 
float secsSinceLuaUpdateFWasRun { 0.0F }
 
float m_fUpdateRate
 
float m_fFOV
 
float m_fVanishX
 
float m_fVanishY
 
bool m_bOverrideLighting
 A flad to see if an override for the lighting is needed.
 
bool m_bLighting
 
bool m_bFirstUpdate
 
RageColor m_ambientColor
 
RageColor m_diffuseColor
 
RageColor m_specularColor
 
RageVector3 m_lightDirection
 
- Protected Attributes inherited from Actor
std::string m_sName
 the name of the Actor.
 
Actorm_pParent
 the current parent of this Actor if it exists.
 
Actorm_FakeParent
 
std::vector< Actor * > m_WrapperStates
 
RageVector3 m_baseRotation
 
RageVector3 m_baseScale
 
float m_fBaseAlpha {}
 
RageColor m_internalDiffuse
 
RageColor m_internalGlow
 
RageVector2 m_size
 
TweenState m_current
 
TweenState m_start
 
std::vector< TweenStateAndInfo * > m_Tweens
 
TweenStatem_pTempState {}
 Temporary variables that are filled just before drawing.
 
float m_fHorizAlign {}
 The particular horizontal alignment.
 
float m_fVertAlign {}
 The particular vertical alignment.
 
Effect m_Effect
 
float m_fSecsIntoEffect {}
 
float m_fEffectDelta {}
 
float m_effect_ramp_to_half {}
 
float m_effect_hold_at_half {}
 
float m_effect_ramp_to_full {}
 
float m_effect_hold_at_full {}
 
float m_effect_hold_at_zero {}
 
float m_fEffectOffset {}
 
float m_effect_period {}
 
EffectClock m_EffectClock
 
bool m_tween_uses_effect_delta
 
RageColor m_effectColor1
 
RageColor m_effectColor2
 
RageVector3 m_vEffectMagnitude
 
bool m_bVisible {}
 
bool m_bIsAnimating {}
 
float m_fShadowLengthX {}
 
float m_fShadowLengthY {}
 
RageColor m_ShadowColor
 
int m_iDrawOrder {}
 The draw order priority.
 
BlendMode m_BlendMode
 
ZTestMode m_ZTestMode
 
CullMode m_CullMode
 
RageVector2 m_texTranslate
 
bool m_bTextureWrapping {}
 
bool m_bTextureFiltering {}
 
bool m_bClearZBuffer {}
 
bool m_bZWrite {}
 
float m_fZBias {}
 The amount of bias.
 
- Static Protected Attributes inherited from Actor
static float g_fCurrentBGMTime = 0
 
static float g_fCurrentBGMBeat
 
static float g_fCurrentBGMTimeNoOffset = 0
 
static float g_fCurrentBGMBeatNoOffset = 0
 
static std::vector< float > g_vfCurrentBGMBeatPlayer
 
static std::vector< float > g_vfCurrentBGMBeatPlayerNoOffset
 

Member Function Documentation

◆ FillPlayerInfo()

void ScreenGameplayPractice::FillPlayerInfo ( PlayerInfo playerInfoOut)
overridevirtual

Implements ScreenGameplay.

◆ Init()

void ScreenGameplayPractice::Init ( )
overridevirtual

This is called immediately after construction, to allow initializing after all derived classes exist.

Don't call it directly; use InitScreen instead.

Reimplemented from ScreenGameplay.

◆ Input()

auto ScreenGameplayPractice::Input ( const InputEventPlus input)
overridevirtual

Reimplemented from ScreenGameplay.

◆ PushSelf()

void ScreenGameplayPractice::PushSelf ( lua_State *  L)
overridevirtual

Reimplemented from ScreenGameplay.

◆ SetupNoteDataFromRow()

void ScreenGameplayPractice::SetupNoteDataFromRow ( Steps pSteps,
int  minRow = 0,
int  maxrow = MAX_NOTE_ROW 
)
overrideprotectedvirtual

Reimplemented from ScreenGameplay.

◆ Update()

void ScreenGameplayPractice::Update ( float  fDeltaTime)
overridevirtual

Reimplemented from ScreenGameplay.


The documentation for this class was generated from the following files: