4#include "RageUtil/Misc/RageTypes.h"
23 static auto GetYOffset(
const PlayerState* pPlayerState,
26 float& fPeakYOffsetOut,
27 bool& bIsPastPeakYOffset,
28 bool bAbsolute =
false) -> float;
29 static auto GetYOffset(
const PlayerState* pPlayerState,
32 bool bAbsolute =
false) ->
float
37 pPlayerState, iCol, fNoteBeat, fThrowAway, bThrowAway, bAbsolute);
40 static void GetXYZPos(
const PlayerState* player_state,
43 float y_reverse_offset,
45 bool with_reverse =
true)
47 ret.x = GetXPos(player_state, col, y_offset);
48 ret.y =
GetYPos(col, y_offset, y_reverse_offset, with_reverse);
64 float fYReverseOffsetPixels,
65 bool WithReverse =
true) -> float;
68 static auto GetYOffsetFromYPos(
int iCol,
70 float fYReverseOffsetPixels) -> float;
75 static auto GetRotationZ(
const PlayerState* pPlayerState,
77 bool bIsHoldHead) -> float;
78 static auto ReceptorGetRotationZ(
const PlayerState* pPlayerState) -> float;
83 static auto GetRotationX(
float fYOffset) -> float;
84 static auto GetRotationY(
float fYOffset) -> float;
89 static auto GetXPos(
const PlayerState* pPlayerState,
91 float fYOffset) -> float;
100 static auto GetZPos(
int iCol,
float fYPos) -> float;
103 static auto NeedZBuffer() -> bool;
107 static auto GetAlpha(
int iCol,
109 float fPercentFadeToFail,
110 float fYReverseOffsetPixels,
111 float fDrawDistanceBeforeTargetsPixels,
112 float fFadeInPercentOfDrawFar) -> float;
116 static auto GetGlow(
int iCol,
118 float fPercentFadeToFail,
119 float fYReverseOffsetPixels,
120 float fDrawDistanceBeforeTargetsPixels,
121 float fFadeInPercentOfDrawFar) -> float;
134 static auto GetZoom(
const PlayerState* pPlayerState) -> float;
136 static auto GetFrameWidthScale(
const PlayerState* pPlayerState,
138 float fOverlappedTime) -> float;
Functions that return properties of arrows based on Style and PlayerOptions.
Definition ArrowEffects.h:11
static auto GetBrightness(const PlayerState *pPlayerState, float fNoteBeat) -> float
Retrieve the current brightness.
Definition ArrowEffects.cpp:874
static auto GetZPos(int iCol, float fYPos) -> float
Retrieve the Z position.
Definition ArrowEffects.cpp:885
static auto GetYPos(int iCol, float fYOffset, float fYReverseOffsetPixels, bool WithReverse=true) -> float
Retrieve the actual display position.
Definition ArrowEffects.cpp:498
Per-player options that are not saved between sessions.
Definition PlayerOptions.h:48
The player's indivdual state.
Definition PlayerState.h:30
Definition RageTypes.h:172