OpenTTD Source 20241224-master-gf74b0cf984
game_gui.cpp File Reference

Window for configuring the Game Script More...

#include "../stdafx.h"
#include "../error.h"
#include "../settings_gui.h"
#include "../querystring_gui.h"
#include "../window_func.h"
#include "../network/network.h"
#include "../network/network_content.h"
#include "../dropdown_type.h"
#include "../dropdown_func.h"
#include "../timer/timer.h"
#include "../timer/timer_window.h"
#include "game.hpp"
#include "game_gui.hpp"
#include "game_config.hpp"
#include "game_info.hpp"
#include "../script/script_gui.h"
#include "../script_config.hpp"
#include "../table/strings.h"
#include "../safeguards.h"

Go to the source code of this file.

Data Structures

struct  GSConfigWindow
 Window to configure which GSs will start. More...
 

Functions

void ShowGSConfigWindow ()
 Open the GS config window.
 

Variables

static constexpr NWidgetPart _nested_gs_config_widgets []
 Widgets for the configure GS window.
 
static WindowDesc _gs_config_desc (WDP_CENTER, "settings_gs_config", 500, 350, WC_GAME_OPTIONS, WC_NONE, 0, _nested_gs_config_widgets)
 Window definition for the configure GS window.
 

Detailed Description

Window for configuring the Game Script

Definition in file game_gui.cpp.

Function Documentation

◆ ShowGSConfigWindow()

void ShowGSConfigWindow ( )

Open the GS config window.

Definition at line 445 of file game_gui.cpp.

References CloseWindowByClass(), and WC_GAME_OPTIONS.

Referenced by MenuClickSettings(), GenerateLandscapeWindow::OnClick(), and SelectGameWindow::OnClick().

Variable Documentation

◆ _nested_gs_config_widgets

constexpr NWidgetPart _nested_gs_config_widgets[]
staticconstexpr

Widgets for the configure GS window.

Definition at line 34 of file game_gui.cpp.