The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions
unit_attack.cpp File Reference
#include "attack_prediction_display.hpp"
#include "gui/dialogs/unit_attack.hpp"
#include "gui/auxiliary/find_widget.hpp"
#include "gui/widgets/button.hpp"
#include "gui/widgets/label.hpp"
#include "gui/widgets/image.hpp"
#include "gui/widgets/listbox.hpp"
#include "gui/widgets/settings.hpp"
#include "gui/widgets/window.hpp"
#include "game_config.hpp"
#include "gettext.hpp"
#include "help/help.hpp"
#include "language.hpp"
#include "marked-up_text.hpp"
#include "resources.hpp"
#include "team.hpp"
#include "units/unit.hpp"
#include "utils/functional.hpp"
Include dependency graph for unit_attack.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"
 

Functions

template<class T >
static void gui2::set_label (twindow &window, const std::string &id, const std::string &label)
 
static std::string gui2::format_stats (const unit &u)
 
static std::string gui2::get_image_mods (const unit &u)
 
static void gui2::set_attacker_info (twindow &window, const unit &u)
 
static void gui2::set_defender_info (twindow &window, const unit &u)
 
static void gui2::set_weapon_info (twindow &window, const std::vector< battle_context > &weapons, const int best_weapon)
 

Macro Definition Documentation

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file unit_attack.cpp.