comparison src/player_gui.cpp @ 8254:7d580c9c41fb draft

(svn r11818) -Codechange: split player.h into smaller pieces.
author rubidium <rubidium@openttd.org>
date Sat, 12 Jan 2008 14:10:35 +0000
parents c45446125bf0
children 2495310e220f
comparison
equal deleted inserted replaced
8253:dd29551d3c67 8254:7d580c9c41fb
9 #include "gui.h" 9 #include "gui.h"
10 #include "window_gui.h" 10 #include "window_gui.h"
11 #include "textbuf_gui.h" 11 #include "textbuf_gui.h"
12 #include "viewport_func.h" 12 #include "viewport_func.h"
13 #include "gfx_func.h" 13 #include "gfx_func.h"
14 #include "player.h" 14 #include "player_func.h"
15 #include "player_base.h"
15 #include "command_func.h" 16 #include "command_func.h"
16 #include "network/network.h" 17 #include "network/network.h"
17 #include "variables.h" 18 #include "variables.h"
18 #include "roadveh.h" 19 #include "roadveh.h"
19 #include "train.h" 20 #include "train.h"
26 #include "strings_func.h" 27 #include "strings_func.h"
27 #include "functions.h" 28 #include "functions.h"
28 #include "window_func.h" 29 #include "window_func.h"
29 #include "date_func.h" 30 #include "date_func.h"
30 #include "string_func.h" 31 #include "string_func.h"
32
33 /* player face selection window */
34 struct facesel_d {
35 PlayerFace face; // player face bits
36 bool advanced; // advance player face selection window
37 };
38 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(facesel_d));
31 39
32 static void DoShowPlayerFinances(PlayerID player, bool show_small, bool show_stickied); 40 static void DoShowPlayerFinances(PlayerID player, bool show_small, bool show_stickied);
33 static void DoSelectPlayerFace(PlayerID player, bool show_big); 41 static void DoSelectPlayerFace(PlayerID player, bool show_big);
34 42
35 static void DrawPlayerEconomyStats(const Player *p, byte mode) 43 static void DrawPlayerEconomyStats(const Player *p, byte mode)