settings_gui.c
changeset 3900 2c84ed52709d
parent 3888 3cbfc7edbc2b
child 4196 1df4eeea1f81
equal deleted inserted replaced
3899:5ba7f20a14ca 3900:2c84ed52709d
   621 	"forbid_90_deg",
   621 	"forbid_90_deg",
   622 	"mammoth_trains",
   622 	"mammoth_trains",
   623 	"gotodepot",
   623 	"gotodepot",
   624 	"roadveh_queue",
   624 	"roadveh_queue",
   625 	"new_pathfinding_all",
   625 	"new_pathfinding_all",
       
   626 	"yapf.ship_use_yapf",
       
   627 	"yapf.road_use_yapf",
       
   628 	"yapf.rail_use_yapf",
   626 	"train_income_warn",
   629 	"train_income_warn",
   627 	"order_review_system",
   630 	"order_review_system",
   628 	"never_expire_vehicles",
   631 	"never_expire_vehicles",
   629 	"lost_train_days",
   632 	"lost_train_days",
   630 	"autorenew",
   633 	"autorenew",
   881 
   884 
   882 static const Widget _patches_selection_widgets[] = {
   885 static const Widget _patches_selection_widgets[] = {
   883 {   WWT_CLOSEBOX,   RESIZE_NONE,    10,     0,    10,     0,    13, STR_00C5,												STR_018B_CLOSE_WINDOW},
   886 {   WWT_CLOSEBOX,   RESIZE_NONE,    10,     0,    10,     0,    13, STR_00C5,												STR_018B_CLOSE_WINDOW},
   884 {    WWT_CAPTION,   RESIZE_NONE,    10,    11,   369,     0,    13, STR_CONFIG_PATCHES_CAPTION,			STR_018C_WINDOW_TITLE_DRAG_THIS},
   887 {    WWT_CAPTION,   RESIZE_NONE,    10,    11,   369,     0,    13, STR_CONFIG_PATCHES_CAPTION,			STR_018C_WINDOW_TITLE_DRAG_THIS},
   885 {      WWT_PANEL,   RESIZE_NONE,    10,     0,   369,    14,    41, 0x0,															STR_NULL},
   888 {      WWT_PANEL,   RESIZE_NONE,    10,     0,   369,    14,    41, 0x0,															STR_NULL},
   886 {      WWT_PANEL,   RESIZE_NONE,    10,     0,   369,    42,   320, 0x0,															STR_NULL},
   889 {      WWT_PANEL,   RESIZE_NONE,    10,     0,   369,    42,   360, 0x0,															STR_NULL},
   887 
   890 
   888 {    WWT_TEXTBTN,   RESIZE_NONE,     3,    10,    96,    16,    27, STR_CONFIG_PATCHES_GUI,					STR_NULL},
   891 {    WWT_TEXTBTN,   RESIZE_NONE,     3,    10,    96,    16,    27, STR_CONFIG_PATCHES_GUI,					STR_NULL},
   889 {    WWT_TEXTBTN,   RESIZE_NONE,     3,    97,   183,    16,    27, STR_CONFIG_PATCHES_CONSTRUCTION,	STR_NULL},
   892 {    WWT_TEXTBTN,   RESIZE_NONE,     3,    97,   183,    16,    27, STR_CONFIG_PATCHES_CONSTRUCTION,	STR_NULL},
   890 {    WWT_TEXTBTN,   RESIZE_NONE,     3,   184,   270,    16,    27, STR_CONFIG_PATCHES_VEHICLES,			STR_NULL},
   893 {    WWT_TEXTBTN,   RESIZE_NONE,     3,   184,   270,    16,    27, STR_CONFIG_PATCHES_VEHICLES,			STR_NULL},
   891 {    WWT_TEXTBTN,   RESIZE_NONE,     3,   271,   357,    16,    27, STR_CONFIG_PATCHES_STATIONS,			STR_NULL},
   894 {    WWT_TEXTBTN,   RESIZE_NONE,     3,   271,   357,    16,    27, STR_CONFIG_PATCHES_STATIONS,			STR_NULL},
   893 {    WWT_TEXTBTN,   RESIZE_NONE,     3,    97,   183,    28,    39, STR_CONFIG_PATCHES_AI,						STR_NULL},
   896 {    WWT_TEXTBTN,   RESIZE_NONE,     3,    97,   183,    28,    39, STR_CONFIG_PATCHES_AI,						STR_NULL},
   894 {   WIDGETS_END},
   897 {   WIDGETS_END},
   895 };
   898 };
   896 
   899 
   897 static const WindowDesc _patches_selection_desc = {
   900 static const WindowDesc _patches_selection_desc = {
   898 	WDP_CENTER, WDP_CENTER, 370, 321,
   901 	WDP_CENTER, WDP_CENTER, 370, 361,
   899 	WC_GAME_OPTIONS,0,
   902 	WC_GAME_OPTIONS,0,
   900 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   903 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
   901 	_patches_selection_widgets,
   904 	_patches_selection_widgets,
   902 	PatchesSelectionWndProc,
   905 	PatchesSelectionWndProc,
   903 };
   906 };