From b3a2d186bbca722b0cc172f07222e782e79b96c1 Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Wed, 22 Jul 2009 04:42:33 +0000 Subject: * Moved scaling support from Animation to Sprite * Now each Sprite (and hence frame in an animation) can have a separate zoom (which is needed for some animations in the game) * Scale factors are not stored any more; instead, we only store scaled dimensions (since these are stored in the data files) and calculate the factors from those. svn-id: r42647 --- engines/draci/animation.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'engines/draci/animation.h') diff --git a/engines/draci/animation.h b/engines/draci/animation.h index b54b72947d..fa28a61599 100644 --- a/engines/draci/animation.h +++ b/engines/draci/animation.h @@ -62,11 +62,6 @@ public: bool isLooping(); void setLooping(bool looping); - double getScaleX() const; - double getScaleY() const; - void setScaling(double scalex, double scaley); - bool isScaled() const; - void setRelative(int relx, int rely); int getRelativeX(); int getRelativeY(); @@ -82,9 +77,6 @@ private: int _relX; int _relY; - double _scaleX; - double _scaleY; - uint _tick; bool _playing; bool _looping; -- cgit v1.2.3