|
@@ -489,13 +489,13 @@ static const NWidgetPart _nested_game_op
|
|
|
};
|
|
|
|
|
|
static const WindowDesc _game_options_desc(
|
|
|
WDP_CENTER, WDP_CENTER, 370, 249, 370, 249,
|
|
|
WC_GAME_OPTIONS, WC_NONE,
|
|
|
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
|
|
|
NULL, _nested_game_options_widgets, lengthof(_nested_game_options_widgets)
|
|
|
_nested_game_options_widgets, lengthof(_nested_game_options_widgets)
|
|
|
);
|
|
|
|
|
|
|
|
|
void ShowGameOptions()
|
|
|
{
|
|
|
DeleteWindowById(WC_GAME_OPTIONS, 0);
|
|
@@ -767,13 +767,13 @@ static const NWidgetPart _nested_game_di
|
|
|
|
|
|
/** Window definition for the game difficulty settings window */
|
|
|
static const WindowDesc _game_difficulty_desc(
|
|
|
WDP_CENTER, WDP_CENTER, 370, 279, 370, 279,
|
|
|
WC_GAME_OPTIONS, WC_NONE,
|
|
|
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
|
|
|
NULL, _nested_game_difficulty_widgets, lengthof(_nested_game_difficulty_widgets)
|
|
|
_nested_game_difficulty_widgets, lengthof(_nested_game_difficulty_widgets)
|
|
|
);
|
|
|
|
|
|
void ShowGameDifficulty()
|
|
|
{
|
|
|
DeleteWindowById(WC_GAME_OPTIONS, 0);
|
|
|
new GameDifficultyWindow(&_game_difficulty_desc);
|
|
@@ -1653,13 +1653,13 @@ static const NWidgetPart _nested_setting
|
|
|
};
|
|
|
|
|
|
static const WindowDesc _settings_selection_desc(
|
|
|
WDP_CENTER, WDP_CENTER, 412, 188, 450, 397,
|
|
|
WC_GAME_OPTIONS, WC_NONE,
|
|
|
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_RESIZABLE,
|
|
|
NULL, _nested_settings_selection_widgets, lengthof(_nested_settings_selection_widgets)
|
|
|
_nested_settings_selection_widgets, lengthof(_nested_settings_selection_widgets)
|
|
|
);
|
|
|
|
|
|
void ShowGameSettings()
|
|
|
{
|
|
|
DeleteWindowById(WC_GAME_OPTIONS, 0);
|
|
|
new GameSettingsWindow(&_settings_selection_desc);
|
|
@@ -1935,13 +1935,13 @@ static const NWidgetPart _nested_cust_cu
|
|
|
};
|
|
|
|
|
|
static const WindowDesc _cust_currency_desc(
|
|
|
WDP_CENTER, WDP_CENTER, 230, 120, 230, 120,
|
|
|
WC_CUSTOM_CURRENCY, WC_NONE,
|
|
|
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
|
|
|
NULL, _nested_cust_currency_widgets, lengthof(_nested_cust_currency_widgets)
|
|
|
_nested_cust_currency_widgets, lengthof(_nested_cust_currency_widgets)
|
|
|
);
|
|
|
|
|
|
static void ShowCustCurrency()
|
|
|
{
|
|
|
DeleteWindowById(WC_CUSTOM_CURRENCY, 0);
|
|
|
new CustomCurrencyWindow(&_cust_currency_desc);
|