diff options
author | maedhros <maedhros@openttd.org> | 2007-01-21 11:49:18 +0000 |
---|---|---|
committer | maedhros <maedhros@openttd.org> | 2007-01-21 11:49:18 +0000 |
commit | 7a7562d8e24f231f5e1a66281f1ec99027a86d1d (patch) | |
tree | 99a62ac7806ee2a7216d9998af847326bf5b249c /src/player.h | |
parent | 501cd51c15c3d775a06e42f66e38f6f571c2359c (diff) | |
download | openttd-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/player.h')
-rw-r--r-- | src/player.h | 2 |
1 files changed, 2 insertions, 0 deletions
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);} |