From b18ed9a5ffe67d0e2d76fc1b1cdf8cab5a395fb8 Mon Sep 17 00:00:00 2001 From: uruk Date: Fri, 19 Jul 2013 10:55:12 +0200 Subject: AVALANCHE: Remove Graph::drawLine(). --- engines/avalanche/graph.cpp | 4 ---- engines/avalanche/graph.h | 2 -- 2 files changed, 6 deletions(-) (limited to 'engines') diff --git a/engines/avalanche/graph.cpp b/engines/avalanche/graph.cpp index af4f56d698..fac96fec01 100644 --- a/engines/avalanche/graph.cpp +++ b/engines/avalanche/graph.cpp @@ -78,10 +78,6 @@ void Graph::drawBar(int16 x1, int16 y1, int16 x2, int16 y2, int16 color) { _surface.fillRect(Common::Rect(x1, y1, x2, y2), color); } -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, byte picnum, int16 x, int16 y) { /* These 2 lines are here SOLELY for testing purposes. */ Common::Rect r(x, y, x + sprite.xl, y + sprite.yl); diff --git a/engines/avalanche/graph.h b/engines/avalanche/graph.h index bd3418e005..b825f177b5 100644 --- a/engines/avalanche/graph.h +++ b/engines/avalanche/graph.h @@ -73,8 +73,6 @@ public: void drawBar(int16 x1, int16 y1, int16 x2, int16 y2, int16 color); - void drawLine(int x0, int y0, int x1, int y1, uint32 color); - void drawSprite(const SpriteInfo &sprite, byte picnum, int16 x, int16 y); // Must free the returned pointer!!! -- cgit v1.2.3