#include <clientlauncher.h>
◆ ClientLauncher()
| ClientLauncher::ClientLauncher |
( |
| ) |
|
|
default |
◆ ~ClientLauncher()
| ClientLauncher::~ClientLauncher |
( |
| ) |
|
References g_fontengine, g_gamecallback, g_menuclouds, g_menucloudsmgr, g_menumgr, g_settings, g_sound_manager_singleton, guienv, guiroot, input, m_rendering_engine, and receiver.
◆ config_guienv()
| void ClientLauncher::config_guienv |
( |
| ) |
|
|
private |
◆ init_args()
References _, GameClientData::address, Settings::exists(), g_settings, Settings::get(), Settings::getFlag(), getWorldGameId(), GameClientData::GM_HOST_AND_JOIN, GameClientData::GM_JOIN, GameClientData::GM_SINGLEPLAYER, GameClientData::mode, GameClientData::name, WorldSpec::path, random_input, skip_main_menu, GameParams::world_path, and GameStartData::world_spec.
Referenced by run().
◆ init_engine()
| void ClientLauncher::init_engine |
( |
| ) |
|
|
private |
◆ init_input()
| void ClientLauncher::init_input |
( |
| ) |
|
|
private |
◆ launch_game()
References errorstream, Settings::exists(), findWorldSubgame(), g_settings, GameParams::game_spec, Settings::get(), getAvailableWorlds(), getWorldExists(), infostream, GameClientData::isAnyServer(), GameClientData::isSinglePlayer(), SubgameSpec::isValid(), itos(), m_rendering_engine, main_menu(), GameErrorData::message, myrand_range(), GameClientData::name, GameClientData::password, WorldSpec::path, PLAYERNAME_SIZE, MainMenuData::port, MainMenuData::script_data, MainMenuData::selected_world, GameErrorData::setError(), porting::signal_handler_killstatus(), skip_main_menu, GameParams::socket_port, stoi, GameParams::world_path, and GameStartData::world_spec.
Referenced by run().
◆ main_menu()
References FrameMarker::end(), g_menumgr, g_settings, g_settings_path, guiroot, infostream, isMenuActive(), m_rendering_engine, porting::signal_handler_killstatus(), sleep_ms, and FrameMarker::started().
Referenced by launch_game().
◆ run()
References config_guienv(), createShaderSource(), createSoundManagerSingleton(), debug_describe_exc(), errorstream, g_fontengine, g_gamecallback, g_menuclouds, g_menucloudsmgr, g_profiler, g_settings, g_settings_path, g_sound_manager_singleton, g_touchcontrols, g_version_hash, guienv, guiroot, infostream, init_args(), init_engine(), init_input(), input, launch_game(), m_rendering_engine, GameErrorData::message, mt_localtime(), GameErrorData::reconnect_requested, sanity_check, setting_changed_callback(), RenderingEngine::showErrorMessageBox(), porting::signal_handler_killstatus(), skip_main_menu, the_game(), utf8_to_wide(), and BaseException::what().
Referenced by main().
◆ setting_changed_callback()
| void ClientLauncher::setting_changed_callback |
( |
const std::string & | name, |
|
|
void * | data ) |
|
staticprivate |
◆ input
◆ m_rendering_engine
◆ random_input
| bool ClientLauncher::random_input = false |
|
private |
◆ receiver
◆ skip_main_menu
| bool ClientLauncher::skip_main_menu = false |
|
private |
The documentation for this class was generated from the following files: