The Battle for Wesnoth  1.19.7+dev
Namespaces | Macros | Variables
mp_create_game.cpp File Reference
#include "gui/dialogs/multiplayer/mp_create_game.hpp"
#include "formatter.hpp"
#include "formula/string_utils.hpp"
#include "game_config.hpp"
#include "game_config_manager.hpp"
#include "gettext.hpp"
#include "gui/auxiliary/field.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/listbox.hpp"
#include "gui/widgets/menu_button.hpp"
#include "gui/widgets/minimap.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 "map_settings.hpp"
#include "preferences/preferences.hpp"
#include "save_index.hpp"
#include "savegame.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(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)

Definition at line 49 of file mp_create_game.cpp.

◆ ERR_MP

#define ERR_MP   LOG_STREAM(err, log_mp_create)

Definition at line 51 of file mp_create_game.cpp.

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 16 of file mp_create_game.cpp.

◆ UPDATE_ATTRIBUTE

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

◆ WRN_MP

#define WRN_MP   LOG_STREAM(warn, log_mp_create)

Definition at line 50 of file mp_create_game.cpp.

Variable Documentation

◆ log_mp_create

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