aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche
diff options
context:
space:
mode:
authoruruk2013-07-18 16:07:07 +0200
committeruruk2013-07-18 16:07:07 +0200
commitbcab639266c54fc0827f1f0fc483c39ae455b616 (patch)
tree7e549451ad8474bd5ea6227179b3326879e4b6b0 /engines/avalanche
parenta2dfb3635fbc94f78fb5a3409abf1bd0f6ec7d73 (diff)
downloadscummvm-rg350-bcab639266c54fc0827f1f0fc483c39ae455b616.tar.gz
scummvm-rg350-bcab639266c54fc0827f1f0fc483c39ae455b616.tar.bz2
scummvm-rg350-bcab639266c54fc0827f1f0fc483c39ae455b616.zip
AVALANCHE: Add Graph::drawSprite().
Diffstat (limited to 'engines/avalanche')
-rw-r--r--engines/avalanche/graph.cpp4
-rw-r--r--engines/avalanche/graph.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/engines/avalanche/graph.cpp b/engines/avalanche/graph.cpp
index 9b5662e6be..17462da874 100644
--- a/engines/avalanche/graph.cpp
+++ b/engines/avalanche/graph.cpp
@@ -82,6 +82,10 @@ void Graph::drawLine(int x0, int y0, int x1, int y1, uint32 color) {
_surface.drawLine(x0, y0, x1, y1, color);
}
+void Graph::drawSprite(const SpriteInfo &sprite) {
+ warning("STUB: Graph::drawSprite()");
+}
+
Graphics::Surface *Graph::readImage(const byte *source) {
Graphics::Surface *picture = new Graphics::Surface;
diff --git a/engines/avalanche/graph.h b/engines/avalanche/graph.h
index c79179c70e..01be7b18d4 100644
--- a/engines/avalanche/graph.h
+++ b/engines/avalanche/graph.h
@@ -75,6 +75,8 @@ public:
void drawLine(int x0, int y0, int x1, int y1, uint32 color);
+ void drawSprite(const SpriteInfo &sprite);
+
// Must free the returned pointer!!!
Graphics::Surface *readImage(const byte *source);