From 0ac58078b4419c67ca61f83d0dc55f91b269d75b Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 27 Feb 2006 06:09:08 +0000 Subject: [PATCH] unused --- stepmania/src/Actor.cpp | 8 -------- stepmania/src/Actor.h | 1 - 2 files changed, 9 deletions(-) diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index 48fba89af3..f185426a6d 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -1098,14 +1098,6 @@ void Actor::SetGlobalDiffuseColor( RageColor c ) } } -void Actor::SetGlobalX( float x ) -{ - for( unsigned ts = 0; ts < m_Tweens.size(); ++ts ) - m_Tweens[ts]->state.pos.x = x; - m_current.pos.x = x; - m_start.pos.x = x; -} - void Actor::SetDiffuseColor( RageColor c ) { for( int i=0; i<4; i++ ) diff --git a/stepmania/src/Actor.h b/stepmania/src/Actor.h index 741f3d40a2..2487cb3fc1 100644 --- a/stepmania/src/Actor.h +++ b/stepmania/src/Actor.h @@ -166,7 +166,6 @@ public: void SetFadeBottom( float percent ) { DestTweenState().fade.bottom = percent;} void SetGlobalDiffuseColor( RageColor c ); - void SetGlobalX( float x ); virtual void SetDiffuse( RageColor c ) { for(int i=0; i<4; i++) DestTweenState().diffuse[i] = c; }; virtual void SetDiffuseAlpha( float f ) { for(int i = 0; i < 4; ++i) { RageColor c = GetDiffuses( i ); c.a = f; SetDiffuses( i, c ); } }