Nice to see you helping with this.
This commit is contained in:
+2
-2
@@ -129,6 +129,7 @@ public:
|
|||||||
float aux;
|
float aux;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** @brief Various values an Actor's effect can be tied to. */
|
||||||
enum EffectClock
|
enum EffectClock
|
||||||
{
|
{
|
||||||
CLOCK_TIMER,
|
CLOCK_TIMER,
|
||||||
@@ -185,7 +186,7 @@ public:
|
|||||||
void SetWidth( float width ) { m_size.x = width; }
|
void SetWidth( float width ) { m_size.x = width; }
|
||||||
void SetHeight( float height ) { m_size.y = height; }
|
void SetHeight( float height ) { m_size.y = height; }
|
||||||
|
|
||||||
// Base
|
// Base values
|
||||||
float GetBaseZoomX() const { 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; }
|
||||||
float GetBaseZoomY() const { return m_baseScale.y; }
|
float GetBaseZoomY() const { return m_baseScale.y; }
|
||||||
@@ -199,7 +200,6 @@ public:
|
|||||||
void SetBaseRotation( const RageVector3 &rot ) { m_baseRotation = rot; }
|
void SetBaseRotation( const RageVector3 &rot ) { m_baseRotation = rot; }
|
||||||
virtual void SetBaseAlpha( float fAlpha ) { m_fBaseAlpha = fAlpha; }
|
virtual void SetBaseAlpha( float fAlpha ) { m_fBaseAlpha = fAlpha; }
|
||||||
|
|
||||||
|
|
||||||
float GetZoom() const { return DestTweenState().scale.x; } // not accurate in some cases
|
float GetZoom() const { return DestTweenState().scale.x; } // not accurate in some cases
|
||||||
float GetZoomX() const { return DestTweenState().scale.x; }
|
float GetZoomX() const { return DestTweenState().scale.x; }
|
||||||
float GetZoomY() const { return DestTweenState().scale.y; }
|
float GetZoomY() const { return DestTweenState().scale.y; }
|
||||||
|
|||||||
Reference in New Issue
Block a user