diff options
Diffstat (limited to 'src/graphics.h')
-rw-r--r-- | src/graphics.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/graphics.h b/src/graphics.h index 4637973f..564826a2 100644 --- a/src/graphics.h +++ b/src/graphics.h @@ -86,6 +86,12 @@ class Graphics : public gcn::SDLGraphics { bool drawImage(Image *image, int x, int y); /** + * Overrides with our own drawing method. + */ + void drawImage(gcn::Image const *image, int srcX, int srcY, + int dstX, int dstY, int width, int height); + + /** * Blits an image onto the screen. * * @return <code>true</code> if the image was blitted properly @@ -95,7 +101,8 @@ class Graphics : public gcn::SDLGraphics { drawImage(Image *image, int srcX, int srcY, int dstX, int dstY, - int width, int height); + int width, int height, + bool useColor = false); virtual void drawImagePattern(Image *image, |