The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Variables
loadscreen.cpp File Reference

Screen with logo and loading status info during program-startup. More...

#include "cursor.hpp"
#include "gui/dialogs/loadscreen.hpp"
#include "gui/widgets/window.hpp"
#include "gui/widgets/settings.hpp"
#include "gui/core/timer.hpp"
#include "gui/auxiliary/find_widget.hpp"
#include "video.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include "preferences.hpp"
#include "utils/functional.hpp"
#include <boost/thread.hpp>
Include dependency graph for loadscreen.cpp:

Go to the source code of this file.

Namespaces

 gui2
 A class inherited from ttext_box that displays its input as stars.
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 
#define ERR_LS   LOG_STREAM(err, log_loadscreen)
 
#define WRN_LS   LOG_STREAM(warn, log_loadscreen)
 
#define LOG_LS   LOG_STREAM(info, log_loadscreen)
 
#define DBG_LS   LOG_STREAM(debug, log_loadscreen)
 

Variables

static lg::log_domain log_loadscreen ("loadscreen")
 
static const std::map
< std::string, std::string
stages
 

Detailed Description

Screen with logo and loading status info during program-startup.

Definition in file loadscreen.cpp.

Macro Definition Documentation

#define DBG_LS   LOG_STREAM(debug, log_loadscreen)

Definition at line 40 of file loadscreen.cpp.

#define ERR_LS   LOG_STREAM(err, log_loadscreen)

Definition at line 37 of file loadscreen.cpp.

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 19 of file loadscreen.cpp.

#define LOG_LS   LOG_STREAM(info, log_loadscreen)

Definition at line 39 of file loadscreen.cpp.

#define WRN_LS   LOG_STREAM(warn, log_loadscreen)

Definition at line 38 of file loadscreen.cpp.

Referenced by gui2::tloadscreen::timer_callback().

Variable Documentation

lg::log_domain log_loadscreen("loadscreen")
static
const std::map<std::string, std::string> stages
static
Initial value:
=
{
{ "build terrain", N_("Building terrain rules") },
{ "create cache", N_("Reading files and creating cache") },
{ "init display", N_("Initializing display") },
{ "init fonts", N_("Reinitialize fonts for the current language") },
{ "init teams", N_("Initializing teams") },
{ "init theme", N_("Initializing display") },
{ "load config", N_("Loading game configuration") },
{ "load data", N_("Loading data files") },
{ "load level", N_("Loading level") },
{ "init lua", N_("Initializing scripting engine") },
{ "init whiteboard", N_("Initializing planning mode") },
{ "load unit types", N_("Reading unit files") },
{ "load units", N_("Loading units") },
{ "refresh addons", N_("Searching for installed add-ons") },
{ "start game", N_("Starting game") },
{ "verify cache", N_("Verifying cache") },
}
#define N_(String)
Definition: gettext.hpp:90

Definition at line 42 of file loadscreen.cpp.