diff options
author | rubidium <rubidium@openttd.org> | 2008-01-12 14:10:35 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-01-12 14:10:35 +0000 |
commit | 2fc62eab058153a2d9d6fc7b14d8f8f28da8b183 (patch) | |
tree | dd717901825d2b9701f42a6a4bedb895deb3017a /src/player_gui.cpp | |
parent | 63cc41cd1c90dce2e1f3d90ce57b27c65f5197bb (diff) | |
download | openttd-2fc62eab058153a2d9d6fc7b14d8f8f28da8b183.tar.xz |
(svn r11818) -Codechange: split player.h into smaller pieces.
Diffstat (limited to 'src/player_gui.cpp')
-rw-r--r-- | src/player_gui.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/player_gui.cpp b/src/player_gui.cpp index 22c9f4e28..afdb26586 100644 --- a/src/player_gui.cpp +++ b/src/player_gui.cpp @@ -11,7 +11,8 @@ #include "textbuf_gui.h" #include "viewport_func.h" #include "gfx_func.h" -#include "player.h" +#include "player_func.h" +#include "player_base.h" #include "command_func.h" #include "network/network.h" #include "variables.h" @@ -29,6 +30,13 @@ #include "date_func.h" #include "string_func.h" +/* player face selection window */ +struct facesel_d { + PlayerFace face; // player face bits + bool advanced; // advance player face selection window +}; +assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(facesel_d)); + static void DoShowPlayerFinances(PlayerID player, bool show_small, bool show_stickied); static void DoSelectPlayerFace(PlayerID player, bool show_big); |