#include "global.hpp"
#include "dialogs.hpp"
#include "game_errors.hpp"
#include "game_events.hpp"
#include "game_preferences.hpp"
#include "gettext.hpp"
#include "help.hpp"
#include "language.hpp"
#include "log.hpp"
#include "marked-up_text.hpp"
#include "menu_events.hpp"
#include "minimap.hpp"
#include "replay.hpp"
#include "thread.hpp"
#include "unit.hpp"
#include "wml_separators.hpp"
#include "widgets/progressbar.hpp"
#include "wml_exception.hpp"
#include <assert.h>
#include <clocale>
Go to the source code of this file.
Namespaces | |
namespace | dialogs |
Defines | |
#define | LOG_NG LOG_STREAM(info, engine) |
#define | LOG_DP LOG_STREAM(info, display) |
#define | ERR_G LOG_STREAM(err, general) |
#define | ERR_CF LOG_STREAM(err, config) |
Functions | |
void | dialogs::advance_unit (const gamemap &map, unit_map &units, gamemap::location loc, game_display &gui, bool random_choice, const bool add_replay_event) |
bool | dialogs::animate_unit_advancement (unit_map &units, gamemap::location loc, game_display &gui, size_t choice) |
void | dialogs::show_objectives (game_display &disp, const config &level, const std::string &objectives) |
bool | dialogs::is_illegal_file_char (char c) |
int | dialogs::get_save_name (display &disp, const std::string &message, const std::string &txt_label, std::string *fname, gui::DIALOG_TYPE dialog_type, const std::string &title, const bool has_exit_button, const bool ask_for_filename) |
std::string | dialogs::format_time_summary (time_t t) |
std::string | dialogs::load_game_dialog (display &disp, const config &game_config, bool *show_replay, bool *cancel_orders) |
void | dialogs::show_unit_description (game_display &disp, const unit &u) |
void | dialogs::show_unit_description (game_display &disp, const unit_type &t) |
static network::connection | dialogs::network_data_dialog (display &disp, const std::string &msg, config &cfg, network::connection connection_num, network::statistics(*get_stats)(network::connection handle)) |
network::connection | dialogs::network_send_dialog (display &disp, const std::string &msg, config &cfg, network::connection connection_num) |
network::connection | dialogs::network_receive_dialog (display &disp, const std::string &msg, config &cfg, network::connection connection_num) |
network::connection | dialogs::network_connect_dialog (display &disp, const std::string &msg, const std::string &hostname, int port) |
Variables | |
static const int | dialogs::save_preview_border = 10 |
static const int | dialogs::unit_preview_border = 10 |
static const int | dialogs::campaign_preview_border = font::relative_size(10) |
Definition in file dialogs.cpp.
#define ERR_CF LOG_STREAM(err, config) |
Definition at line 44 of file dialogs.cpp.
#define ERR_G LOG_STREAM(err, general) |
Definition at line 43 of file dialogs.cpp.
#define LOG_DP LOG_STREAM(info, display) |
Definition at line 42 of file dialogs.cpp.
#define LOG_NG LOG_STREAM(info, engine) |
Definition at line 41 of file dialogs.cpp.
Definition at line 1252 of file dialogs.cpp.
Definition at line 333 of file dialogs.cpp.
Definition at line 364 of file dialogs.cpp.
load_game_filter_textbox& filter_ |
Definition at line 367 of file dialogs.cpp.
std::vector<std::string> filtered_items_ |
Definition at line 331 of file dialogs.cpp.
bool first_time_ |
Definition at line 335 of file dialogs.cpp.
const config* game_config_ |
Definition at line 430 of file dialogs.cpp.
Referenced by map_editor::change_language(), map_editor::edit_load_map(), map_editor::edit_new_map(), and map_editor::edit_revert().
int index_ |
Definition at line 434 of file dialogs.cpp.
std::vector<int> index_map_ |
Definition at line 332 of file dialogs.cpp.
Definition at line 432 of file dialogs.cpp.
std::vector<std::string> items_ |
Definition at line 331 of file dialogs.cpp.
Definition at line 431 of file dialogs.cpp.
Referenced by map_editor::change_language(), map_editor::copy_buffer(), map_editor::draw_on_mouseover_hexes(), map_editor::draw_terrain(), map_editor::edit_flip(), map_editor::edit_new_map(), map_editor::edit_resize(), map_editor::edit_revert(), map_editor::edit_select_all(), utils::string_map_variable_set::get_variable_const(), map_editor::handle_mouse_button_event(), map_editor::left_button_down(), map_editor::left_click(), map_editor::paste_buffer(), map_editor::perform_fill_hexes(), map_editor::perform_flood_fill(), map_editor::perform_set_starting_pos(), map_editor::recalculate_starting_pos_labels(), map_editor::redo(), map_editor::right_click(), map_editor::save_map(), map_editor::set_mouseover_overlay(), map_editor::set_starting_position(), map_editor::undo(), and map_editor::update_mouse_over_hexes().
std::map<std::string,surface> map_cache_ |
Definition at line 435 of file dialogs.cpp.
Definition at line 365 of file dialogs.cpp.
Definition at line 334 of file dialogs.cpp.
const std::vector<config*>* summaries_ |
Definition at line 366 of file dialogs.cpp.
const load_game_filter_textbox& textbox_ |
Definition at line 436 of file dialogs.cpp.
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |