From cf06eae3bbafcb53f040393f14c62fe4e583831c Mon Sep 17 00:00:00 2001 From: maedhros Date: Sun, 21 Jan 2007 11:49:18 +0000 Subject: (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. --- src/player.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/player.h') diff --git a/src/player.h b/src/player.h index 1f91f58de..2714b19f7 100644 --- a/src/player.h +++ b/src/player.h @@ -262,6 +262,8 @@ static inline bool IsInteractivePlayer(PlayerID pi) return pi == _local_player; } +void DrawPlayerIcon(PlayerID p, int x, int y); + /* Validate functions for rail building */ static inline bool ValParamRailtype(uint32 rail) { return HASBIT(GetPlayer(_current_player)->avail_railtypes, rail);} -- cgit v1.2.3-54-g00ecf