cleanup
This commit is contained in:
+19
-21
@@ -124,7 +124,7 @@ public:
|
|||||||
void SetHeight( float height ) { m_size.y = height; }
|
void SetHeight( float height ) { m_size.y = height; }
|
||||||
|
|
||||||
// Base
|
// Base
|
||||||
float GetBaseZoomX() { return m_baseScale.x; }
|
float GetBaseZoomX() const { return m_baseScale.x; }
|
||||||
void SetBaseZoomX( float zoom ) { m_baseScale.x = zoom; }
|
void SetBaseZoomX( float zoom ) { m_baseScale.x = zoom; }
|
||||||
void SetBaseZoomY( float zoom ) { m_baseScale.y = zoom; }
|
void SetBaseZoomY( float zoom ) { m_baseScale.y = zoom; }
|
||||||
void SetBaseZoomZ( float zoom ) { m_baseScale.z = zoom; }
|
void SetBaseZoomZ( float zoom ) { m_baseScale.z = zoom; }
|
||||||
@@ -136,10 +136,10 @@ public:
|
|||||||
virtual void SetBaseAlpha( float fAlpha ) { m_fBaseAlpha = fAlpha; }
|
virtual void SetBaseAlpha( float fAlpha ) { m_fBaseAlpha = fAlpha; }
|
||||||
|
|
||||||
|
|
||||||
float GetZoom() { return DestTweenState().scale.x; } // not accurate in some cases
|
float GetZoom() const { return DestTweenState().scale.x; } // not accurate in some cases
|
||||||
float GetZoomX() { return DestTweenState().scale.x; }
|
float GetZoomX() const { return DestTweenState().scale.x; }
|
||||||
float GetZoomY() { return DestTweenState().scale.y; }
|
float GetZoomY() const { return DestTweenState().scale.y; }
|
||||||
float GetZoomZ() { return DestTweenState().scale.z; }
|
float GetZoomZ() const { return DestTweenState().scale.z; }
|
||||||
void SetZoom( float zoom ) { DestTweenState().scale.x = zoom; DestTweenState().scale.y = zoom; DestTweenState().scale.z = zoom; }
|
void SetZoom( float zoom ) { DestTweenState().scale.x = zoom; DestTweenState().scale.y = zoom; DestTweenState().scale.z = zoom; }
|
||||||
void SetZoomX( float zoom ) { DestTweenState().scale.x = zoom; }
|
void SetZoomX( float zoom ) { DestTweenState().scale.x = zoom; }
|
||||||
void SetZoomY( float zoom ) { DestTweenState().scale.y = zoom; }
|
void SetZoomY( float zoom ) { DestTweenState().scale.y = zoom; }
|
||||||
@@ -148,9 +148,9 @@ public:
|
|||||||
void ZoomToWidth( float zoom ) { SetZoomX( zoom / GetUnzoomedWidth() ); }
|
void ZoomToWidth( float zoom ) { SetZoomX( zoom / GetUnzoomedWidth() ); }
|
||||||
void ZoomToHeight( float zoom ) { SetZoomY( zoom / GetUnzoomedHeight() ); }
|
void ZoomToHeight( float zoom ) { SetZoomY( zoom / GetUnzoomedHeight() ); }
|
||||||
|
|
||||||
float GetRotationX() { return DestTweenState().rotation.x; }
|
float GetRotationX() const { return DestTweenState().rotation.x; }
|
||||||
float GetRotationY() { return DestTweenState().rotation.y; }
|
float GetRotationY() const { return DestTweenState().rotation.y; }
|
||||||
float GetRotationZ() { return DestTweenState().rotation.z; }
|
float GetRotationZ() const { return DestTweenState().rotation.z; }
|
||||||
void SetRotationX( float rot ) { DestTweenState().rotation.x = rot; }
|
void SetRotationX( float rot ) { DestTweenState().rotation.x = rot; }
|
||||||
void SetRotationY( float rot ) { DestTweenState().rotation.y = rot; }
|
void SetRotationY( float rot ) { DestTweenState().rotation.y = rot; }
|
||||||
void SetRotationZ( float rot ) { DestTweenState().rotation.z = rot; }
|
void SetRotationZ( float rot ) { DestTweenState().rotation.z = rot; }
|
||||||
@@ -159,12 +159,12 @@ public:
|
|||||||
void AddRotationR( float rot );
|
void AddRotationR( float rot );
|
||||||
|
|
||||||
void SetSkewX( float fAmount ) { DestTweenState().fSkewX = fAmount; }
|
void SetSkewX( float fAmount ) { DestTweenState().fSkewX = fAmount; }
|
||||||
float GetSkewX( float fAmount ) { return DestTweenState().fSkewX; }
|
float GetSkewX( float fAmount ) const { return DestTweenState().fSkewX; }
|
||||||
|
|
||||||
float GetCropLeft() { return DestTweenState().crop.left; }
|
float GetCropLeft() const { return DestTweenState().crop.left; }
|
||||||
float GetCropTop() { return DestTweenState().crop.top; }
|
float GetCropTop() const { return DestTweenState().crop.top; }
|
||||||
float GetCropRight() { return DestTweenState().crop.right;}
|
float GetCropRight() const { return DestTweenState().crop.right; }
|
||||||
float GetCropBottom() { return DestTweenState().crop.bottom;}
|
float GetCropBottom() const { return DestTweenState().crop.bottom; }
|
||||||
void SetCropLeft( float percent ) { DestTweenState().crop.left = percent; }
|
void SetCropLeft( float percent ) { DestTweenState().crop.left = percent; }
|
||||||
void SetCropTop( float percent ) { DestTweenState().crop.top = percent; }
|
void SetCropTop( float percent ) { DestTweenState().crop.top = percent; }
|
||||||
void SetCropRight( float percent ) { DestTweenState().crop.right = percent;}
|
void SetCropRight( float percent ) { DestTweenState().crop.right = percent;}
|
||||||
@@ -190,11 +190,11 @@ public:
|
|||||||
void SetDiffuseRightEdge( RageColor c ) { DestTweenState().diffuse[1] = DestTweenState().diffuse[3] = c; };
|
void SetDiffuseRightEdge( RageColor c ) { DestTweenState().diffuse[1] = DestTweenState().diffuse[3] = c; };
|
||||||
void SetDiffuseBottomEdge( RageColor c ) { DestTweenState().diffuse[2] = DestTweenState().diffuse[3] = c; };
|
void SetDiffuseBottomEdge( RageColor c ) { DestTweenState().diffuse[2] = DestTweenState().diffuse[3] = c; };
|
||||||
void SetDiffuseLeftEdge( RageColor c ) { DestTweenState().diffuse[0] = DestTweenState().diffuse[2] = c; };
|
void SetDiffuseLeftEdge( RageColor c ) { DestTweenState().diffuse[0] = DestTweenState().diffuse[2] = c; };
|
||||||
RageColor GetDiffuse() { return DestTweenState().diffuse[0]; };
|
RageColor GetDiffuse() const { return DestTweenState().diffuse[0]; };
|
||||||
RageColor GetDiffuses( int i ) { return DestTweenState().diffuse[i]; };
|
RageColor GetDiffuses( int i ) const { return DestTweenState().diffuse[i]; };
|
||||||
float GetDiffuseAlpha() { return DestTweenState().diffuse[0].a; };
|
float GetDiffuseAlpha() const { return DestTweenState().diffuse[0].a; };
|
||||||
void SetGlow( RageColor c ) { DestTweenState().glow = c; };
|
void SetGlow( RageColor c ) { DestTweenState().glow = c; };
|
||||||
RageColor GetGlow() { return DestTweenState().glow; };
|
RageColor GetGlow() const { return DestTweenState().glow; };
|
||||||
|
|
||||||
void SetAux( float f ) { DestTweenState().aux = f; }
|
void SetAux( float f ) { DestTweenState().aux = f; }
|
||||||
float GetAux() const { return m_current.aux; }
|
float GetAux() const { return m_current.aux; }
|
||||||
@@ -294,10 +294,8 @@ public:
|
|||||||
float fPeriod = 2.f,
|
float fPeriod = 2.f,
|
||||||
float fMinZoom = 0.5f,
|
float fMinZoom = 0.5f,
|
||||||
float fMaxZoom = 1.f );
|
float fMaxZoom = 1.f );
|
||||||
void SetEffectSpin(
|
void SetEffectSpin( RageVector3 vect = RageVector3(0,0,180) );
|
||||||
RageVector3 vect = RageVector3(0,0,180) );
|
void SetEffectVibrate( RageVector3 vect = RageVector3(10,10,10) );
|
||||||
void SetEffectVibrate(
|
|
||||||
RageVector3 vect = RageVector3(10,10,10) );
|
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user