Screen with logo and "Loading ..."-progressbar during program-startup. More...
#include "loadscreen.hpp"#include "log.hpp"#include "font.hpp"#include "marked-up_text.hpp"#include "gettext.hpp"#include "filesystem.hpp"#include "video.hpp"#include "image.hpp"#include <SDL_events.h>#include <SDL_image.h>#include <cassert>
Go to the source code of this file.
Classes | |
| struct | load_stage |
Defines | |
| #define | LOG_LS LOG_STREAM(info, log_loadscreen) |
| #define | ERR_DP LOG_STREAM(err, log_display) |
Variables | |
| static lg::log_domain | log_display ("display") |
| static lg::log_domain | log_loadscreen ("loadscreen") |
| static int const | nb_stages = 19 |
| static load_stage const | stages [nb_stages] |
| Description of all the stages. | |
| static int | current_stage |
| static int | stage_counter [nb_stages] |
| static unsigned | stage_time [nb_stages] |
Screen with logo and "Loading ..."-progressbar during program-startup.
Definition in file loadscreen.cpp.
| #define ERR_DP LOG_STREAM(err, log_display) |
Definition at line 39 of file loadscreen.cpp.
Referenced by loadscreen::draw_screen(), and loadscreen::loadscreen().
| #define LOG_LS LOG_STREAM(info, log_loadscreen) |
Definition at line 38 of file loadscreen.cpp.
Referenced by loadscreen::dump_counters().
int current_stage [static] |
Definition at line 243 of file loadscreen.cpp.
Referenced by loadscreen::increment_progress(), and loadscreen::start_stage().
lg::log_domain log_display("display") [static] |
lg::log_domain log_loadscreen("loadscreen") [static] |
Referenced by loadscreen::dump_counters().
int const nb_stages = 19 [static] |
Definition at line 211 of file loadscreen.cpp.
Referenced by loadscreen::dump_counters(), and loadscreen::start_stage().
int stage_counter[nb_stages] [static] |
Definition at line 244 of file loadscreen.cpp.
Referenced by loadscreen::dump_counters(), loadscreen::increment_progress(), and loadscreen::start_stage().
unsigned stage_time[nb_stages] [static] |
Definition at line 245 of file loadscreen.cpp.
Referenced by loadscreen::dump_counters(), and loadscreen::start_stage().
load_stage const stages[nb_stages] [static] |
{
{ "init gui", N_("Initializing user interface"), 0, 17210 },
{ "load config", N_("Loading game configuration"), 20, 0 },
{ "verify cache", N_("Verifying cache"), 20, 164 },
{ "create cache", N_("Reading files and creating cache"), 21, 80287 },
{ "load unit types", N_("Reading unit files"), 94, 467 },
{ "init fonts", N_("Reinitialize fonts for the current language"), 98, 17 },
{ "refresh addons", N_("Searching for installed add-ons"), 99, 0 },
{ "titlescreen", N_("Loading title screen"), 100, 0 },
{ "load data", N_("Loading data files"), 0, 0 },
{ "verify cache", N_("Verifying cache"), 0, 0 },
{ "create cache", N_("Reading files and creating cache"), 0, 152109 },
{ "load unit types", N_("Reading unit files"), 74, 488 },
{ "load level", N_("Loading level"), 75, 0 },
{ "init teams", N_("Initializing teams"), 75, 0 },
{ "load units", N_("Loading units"), 77, 0 },
{ "init theme", N_("Initializing display"), 77, 0 },
{ "build terrain", N_("Building terrain rules"), 77, 1240 },
{ "init display", N_("Initializing display"), 99, 0 },
{ "start game", N_("Starting game"), 100, 0 },
}
Description of all the stages.
Definition at line 220 of file loadscreen.cpp.
Referenced by ai::ministage::get_stage_ptr().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:05:30 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |