OpenTTD Source
20241121-master-g67a0fccfad
|
The main menu GUI. More...
#include "stdafx.h"
#include "error.h"
#include "gui.h"
#include "window_gui.h"
#include "window_func.h"
#include "textbuf_gui.h"
#include "help_gui.h"
#include "network/network.h"
#include "genworld.h"
#include "network/network_gui.h"
#include "network/network_content.h"
#include "network/network_survey.h"
#include "landscape_type.h"
#include "landscape.h"
#include "strings_func.h"
#include "fios.h"
#include "ai/ai_gui.hpp"
#include "game/game_gui.hpp"
#include "gfx_func.h"
#include "core/geometry_func.hpp"
#include "language.h"
#include "rev.h"
#include "highscore.h"
#include "signs_base.h"
#include "viewport_func.h"
#include "vehicle_base.h"
#include <regex>
#include "widgets/intro_widget.h"
#include "table/strings.h"
#include "table/sprites.h"
#include "safeguards.h"
Go to the source code of this file.
Data Structures | |
struct | IntroGameViewportCommand |
A viewport command for the main menu background (intro game). More... | |
struct | SelectGameWindow |
Functions | |
void | ShowSelectGameWindow () |
static void | AskExitGameCallback (Window *, bool confirmed) |
void | AskExitGame () |
static void | AskExitToGameMenuCallback (Window *, bool confirmed) |
void | AskExitToGameMenu () |
Variables | |
static constexpr NWidgetPart | _nested_select_game_widgets [] |
static WindowDesc | _select_game_desc (WDP_CENTER, nullptr, 0, 0, WC_SELECT_GAME, WC_NONE, WDF_NO_CLOSE, _nested_select_game_widgets) |
The main menu GUI.
Definition in file intro_gui.cpp.