diff options
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); |