diff options
author | Sven Hesse | 2012-07-08 00:19:48 +0200 |
---|---|---|
committer | Sven Hesse | 2012-07-30 01:44:45 +0200 |
commit | 20a96733a5f982e427a9143ded14e2af418ac6df (patch) | |
tree | a8252febeb6337f129ebd69cfd6d2768b27e117e /engines/gob/anifile.h | |
parent | baec4d87781d24786f0b76e83efee3bca7f9afea (diff) | |
download | scummvm-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.h | 3 |
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; |