summaryrefslogtreecommitdiff
path: root/src/graph_gui.cpp
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-01-21 11:49:18 +0000
committermaedhros <maedhros@openttd.org>2007-01-21 11:49:18 +0000
commit7a7562d8e24f231f5e1a66281f1ec99027a86d1d (patch)
tree99a62ac7806ee2a7216d9998af847326bf5b249c /src/graph_gui.cpp
parent501cd51c15c3d775a06e42f66e38f6f571c2359c (diff)
downloadopenttd-7a7562d8e24f231f5e1a66281f1ec99027a86d1d.tar.xz
(svn r8300) -Codechange: Add a prototype for DrawPlayerIcon to players.h and include that
instead of using externs. Also move DrawPlayerIcon from graph_gui.cpp to players.cpp.
Diffstat (limited to 'src/graph_gui.cpp')
-rw-r--r--src/graph_gui.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp
index 4ba8df21e..e0eef2763 100644
--- a/src/graph_gui.cpp
+++ b/src/graph_gui.cpp
@@ -216,11 +216,6 @@ static void DrawGraph(const GraphDrawer *gw)
/* GRAPH LEGEND */
/****************/
-void DrawPlayerIcon(PlayerID p, int x, int y)
-{
- DrawSprite(0x2EB, PLAYER_SPRITE_COLOR(p), x, y);
-}
-
static void GraphLegendWndProc(Window *w, WindowEvent *e)
{
const Player* p;