summaryrefslogtreecommitdiff
path: root/src/player_gui.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-01-12 14:10:35 +0000
committerrubidium <rubidium@openttd.org>2008-01-12 14:10:35 +0000
commit2fc62eab058153a2d9d6fc7b14d8f8f28da8b183 (patch)
treedd717901825d2b9701f42a6a4bedb895deb3017a /src/player_gui.h
parent63cc41cd1c90dce2e1f3d90ce57b27c65f5197bb (diff)
downloadopenttd-2fc62eab058153a2d9d6fc7b14d8f8f28da8b183.tar.xz
(svn r11818) -Codechange: split player.h into smaller pieces.
Diffstat (limited to 'src/player_gui.h')
-rw-r--r--src/player_gui.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/player_gui.h b/src/player_gui.h
new file mode 100644
index 000000000..a1ed36fcb
--- /dev/null
+++ b/src/player_gui.h
@@ -0,0 +1,20 @@
+/* $Id$ */
+
+/** @file player_gui.h GUI Functions related to players. */
+
+#ifndef PLAYER_GUI_H
+#define PLAYER_GUI_H
+
+#include "player_type.h"
+
+uint16 GetDrawStringPlayerColor(PlayerID player);
+void DrawPlayerIcon(PlayerID p, int x, int y);
+
+void ShowPlayerStations(PlayerID player);
+void ShowPlayerFinances(PlayerID player);
+void ShowPlayerCompany(PlayerID player);
+
+void InvalidatePlayerWindows(const Player *p);
+void DeletePlayerWindows(PlayerID pi);
+
+#endif /* PLAYER_GUI_H */