unit_display.hpp File Reference

Display units performing various actions: moving, attacking, and dying. More...

#include "map.hpp"

Include dependency graph for unit_display.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  unit_display

Functions

bool unit_display::unit_visible_on_path (const std::vector< gamemap::location > &path, const unit &u, const unit_map &units, const std::vector< team > &teams)
void unit_display::move_unit (const std::vector< gamemap::location > &path, unit &u, const std::vector< team > &teams)
 Display a unit moving along a given path.
void unit_display::unit_die (const gamemap::location &loc, unit &u, const attack_type *attack=NULL, const attack_type *secondary_attack=NULL, unit *winner=NULL)
 Show a unit fading out.
void unit_display::unit_attack (const gamemap::location &a, const gamemap::location &b, int damage, const attack_type &attack, const attack_type *secondary_attack, int swing, std::string hit_text, bool drain, std::string att_text)
 Make the unit on tile 'a' attack the unit on tile 'b'.
void unit_display::unit_recruited (gamemap::location &loc)
void unit_display::unit_healing (unit &healed, gamemap::location &healed_loc, std::vector< unit_map::iterator > healers, int healing)
 Set healer_loc to an invalid location if there are no healers.


Detailed Description

Display units performing various actions: moving, attacking, and dying.

Definition in file unit_display.hpp.


Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs