aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/animation.h
diff options
context:
space:
mode:
authorDenis Kasak2009-07-22 04:42:33 +0000
committerDenis Kasak2009-07-22 04:42:33 +0000
commitb3a2d186bbca722b0cc172f07222e782e79b96c1 (patch)
tree44a7118f52a60b51a86e5b09f3c223eccf1be1ac /engines/draci/animation.h
parent6097828f546fd6f135bc907d6cd0586bb473d9b5 (diff)
downloadscummvm-rg350-b3a2d186bbca722b0cc172f07222e782e79b96c1.tar.gz
scummvm-rg350-b3a2d186bbca722b0cc172f07222e782e79b96c1.tar.bz2
scummvm-rg350-b3a2d186bbca722b0cc172f07222e782e79b96c1.zip
* 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
Diffstat (limited to 'engines/draci/animation.h')
-rw-r--r--engines/draci/animation.h8
1 files changed, 0 insertions, 8 deletions
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;