The Battle for Wesnoth  1.15.1+dev
Namespaces | Macros | Variables
mp_create_game.cpp File Reference
#include "gui/dialogs/multiplayer/mp_create_game.hpp"
#include "game_config_manager.hpp"
#include "game_initialization/lobby_data.hpp"
#include "gettext.hpp"
#include "gui/auxiliary/field.hpp"
#include "gui/dialogs/message.hpp"
#include "gui/dialogs/simple_item_selector.hpp"
#include "gui/dialogs/transient_message.hpp"
#include "gui/widgets/button.hpp"
#include "gui/widgets/image.hpp"
#include "gui/widgets/integer_selector.hpp"
#include "gui/widgets/menu_button.hpp"
#include "preferences/game.hpp"
#include "gui/widgets/listbox.hpp"
#include "formatter.hpp"
#include "formula/string_utils.hpp"
#include "game_config.hpp"
#include "gui/widgets/minimap.hpp"
#include "gui/widgets/settings.hpp"
#include "gui/widgets/slider.hpp"
#include "gui/widgets/stacked_widget.hpp"
#include "gui/widgets/status_label_helper.hpp"
#include "gui/widgets/text_box.hpp"
#include "gui/widgets/toggle_button.hpp"
#include "gui/widgets/toggle_panel.hpp"
#include "log.hpp"
#include "savegame.hpp"
#include "map_settings.hpp"
#include <boost/algorithm/string.hpp>
Include dependency graph for mp_create_game.cpp:

Go to the source code of this file.

Namespaces

 gui2
 Generic file dialog.
 
 gui2::dialogs
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 
#define DBG_MP   LOG_STREAM(debug, log_mp_create)
 
#define WRN_MP   LOG_STREAM(warn, log_mp_create)
 
#define ERR_MP   LOG_STREAM(err, log_mp_create)
 
#define UPDATE_ATTRIBUTE(field, convert)   do { if(cfg.has_attribute(#field)) { field##_->set_widget_value(win, cfg[#field].convert()); } } while(false) \
 

Variables

static lg::log_domain log_mp_create ("mp/create")
 
static const int gui2::dialogs::LOAD_GAME = 100
 

Macro Definition Documentation

◆ DBG_MP

#define DBG_MP   LOG_STREAM(debug, log_mp_create)

◆ ERR_MP

#define ERR_MP   LOG_STREAM(err, log_mp_create)

Definition at line 53 of file mp_create_game.cpp.

Referenced by gui2::dialogs::mp_create_game::on_mod_toggle().

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file mp_create_game.cpp.

◆ UPDATE_ATTRIBUTE

#define UPDATE_ATTRIBUTE (   field,
  convert 
)    do { if(cfg.has_attribute(#field)) { field##_->set_widget_value(win, cfg[#field].convert()); } } while(false) \

◆ WRN_MP

#define WRN_MP   LOG_STREAM(warn, log_mp_create)

Definition at line 52 of file mp_create_game.cpp.

Variable Documentation

◆ log_mp_create

lg::log_domain log_mp_create("mp/create")
static