aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/graph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/graph.cpp')
-rw-r--r--engines/avalanche/graph.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/avalanche/graph.cpp b/engines/avalanche/graph.cpp
index 7748dad083..078842a05f 100644
--- a/engines/avalanche/graph.cpp
+++ b/engines/avalanche/graph.cpp
@@ -66,6 +66,13 @@ Graph::~Graph() {
_surface.free();
}
+
+void Graph::flesh_colours()
+{
+ g_system->getPaletteManager()->setPalette(_egaPalette[39], 13, 1);
+}
+
+
byte *Graph::getPixel(int16 x, int16 y) {
return (byte *)_surface.getBasePtr(x, y);
}