From 7a8cf0bb38f682564a8c7f7f4d4806d03b22acd2 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 7 Oct 2005 01:59:20 +0000 Subject: [PATCH] cleanup: move code out of header, remove RageUtil.h from Actor.h --- stepmania/src/Actor.cpp | 18 ++++++++++++++++++ stepmania/src/Actor.h | 24 +++--------------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/stepmania/src/Actor.cpp b/stepmania/src/Actor.cpp index 578b67cca5..f31bc5a120 100644 --- a/stepmania/src/Actor.cpp +++ b/stepmania/src/Actor.cpp @@ -1145,6 +1145,24 @@ void Actor::TweenState::Init() aux = 0; } +bool Actor::TweenState::operator==( const TweenState &other ) const +{ +#define COMPARE( x ) if( x != other.x ) return false; + COMPARE( pos ); + COMPARE( rotation ); + COMPARE( quat ); + COMPARE( scale ); + COMPARE( fSkewX ); + COMPARE( crop ); + COMPARE( fade ); + for( unsigned i=0; i