aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/anifile.h
diff options
context:
space:
mode:
authorSven Hesse2012-07-08 00:19:48 +0200
committerSven Hesse2012-07-30 01:44:45 +0200
commit20a96733a5f982e427a9143ded14e2af418ac6df (patch)
treea8252febeb6337f129ebd69cfd6d2768b27e117e /engines/gob/anifile.h
parentbaec4d87781d24786f0b76e83efee3bca7f9afea (diff)
downloadscummvm-rg350-20a96733a5f982e427a9143ded14e2af418ac6df.tar.gz
scummvm-rg350-20a96733a5f982e427a9143ded14e2af418ac6df.tar.bz2
scummvm-rg350-20a96733a5f982e427a9143ded14e2af418ac6df.zip
GOB: Add CMPFile::recolor() and ANIFile::recolor()
Diffstat (limited to 'engines/gob/anifile.h')
-rw-r--r--engines/gob/anifile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/gob/anifile.h b/engines/gob/anifile.h
index b6d9c735b5..c930aafc6b 100644
--- a/engines/gob/anifile.h
+++ b/engines/gob/anifile.h
@@ -92,6 +92,9 @@ public:
/** Draw an animation frame. */
void draw(Surface &dest, uint16 animation, uint16 frame, int16 x, int16 y) const;
+ /** Recolor the animation sprites. */
+ void recolor(uint8 from, uint8 to);
+
private:
typedef Common::Array<CMPFile *> LayerArray;
typedef Common::Array<Animation> AnimationArray;