4 |
4 |
5 #include "stdafx.h" |
5 #include "stdafx.h" |
6 #include "openttd.h" |
6 #include "openttd.h" |
7 #include "table/strings.h" |
7 #include "table/strings.h" |
8 #include "table/sprites.h" |
8 #include "table/sprites.h" |
9 #include "functions.h" |
|
10 #include "gui.h" |
9 #include "gui.h" |
11 #include "window_gui.h" |
10 #include "window_gui.h" |
12 #include "textbuf_gui.h" |
11 #include "textbuf_gui.h" |
13 #include "player.h" |
12 #include "player.h" |
14 #include "network/network.h" |
13 #include "network/network.h" |
17 #include "heightmap.h" |
16 #include "heightmap.h" |
18 #include "genworld.h" |
17 #include "genworld.h" |
19 #include "network/network_gui.h" |
18 #include "network/network_gui.h" |
20 #include "newgrf.h" |
19 #include "newgrf.h" |
21 #include "strings_func.h" |
20 #include "strings_func.h" |
|
21 #include "functions.h" |
|
22 #include "window_func.h" |
22 |
23 |
23 static const Widget _select_game_widgets[] = { |
24 static const Widget _select_game_widgets[] = { |
24 { WWT_CAPTION, RESIZE_NONE, 13, 0, 335, 0, 13, STR_0307_OPENTTD, STR_NULL}, |
25 { WWT_CAPTION, RESIZE_NONE, 13, 0, 335, 0, 13, STR_0307_OPENTTD, STR_NULL}, |
25 { WWT_PANEL, RESIZE_NONE, 13, 0, 335, 14, 194, 0x0, STR_NULL}, |
26 { WWT_PANEL, RESIZE_NONE, 13, 0, 335, 14, 194, 0x0, STR_NULL}, |
26 { WWT_PUSHTXTBTN, RESIZE_NONE, 12, 10, 167, 22, 33, STR_0140_NEW_GAME, STR_02FB_START_A_NEW_GAME}, |
27 { WWT_PUSHTXTBTN, RESIZE_NONE, 12, 10, 167, 22, 33, STR_0140_NEW_GAME, STR_02FB_START_A_NEW_GAME}, |