#include "units/animation.hpp"
#include "color.hpp"
#include "display.hpp"
#include "global.hpp"
#include "map/map.hpp"
#include "play_controller.hpp"
#include "random.hpp"
#include "resources.hpp"
#include "serialization/chrono.hpp"
#include "units/animation_component.hpp"
#include "units/filter.hpp"
#include "units/unit.hpp"
#include "variable.hpp"
#include <algorithm>
#include <thread>
Go to the source code of this file.
Classes | |
struct | animation_branch |
struct | animation_cursor |
Typedefs | |
typedef std::list< animation_branch > | animation_branches |
Functions | |
static std::string | get_heal_sound (const config &cfg) |
static void | prepare_single_animation (const config &anim_cfg, animation_branches &expanded_anims) |
static animation_branches | prepare_animation (const config &cfg, const std::string &animation_tag) |
static void | add_simple_anim (std::vector< unit_animation > &animations, const config &cfg, char const *tag_name, char const *apply_to, drawing_layer layer=drawing_layer::unit_default, bool offscreen=true) |
std::ostream & | operator<< (std::ostream &outstream, const unit_animation &u_animation) |
typedef std::list<animation_branch> animation_branches |
Definition at line 57 of file animation.cpp.
|
static |
Definition at line 607 of file animation.cpp.
References config_attribute_value::empty(), get_abs_frame_layer(), and prepare_animation().
Referenced by unit_animation::add_anims().
|
static |
Definition at line 36 of file animation.cpp.
References config::empty().
Referenced by unit_animation::add_anims(), and unit_animation::fill_initial_animations().
std::ostream& operator<< | ( | std::ostream & | outstream, |
const unit_animation & | u_animation | ||
) |
Definition at line 1157 of file animation.cpp.
|
static |
Definition at line 243 of file animation.cpp.
References config::child_range(), and prepare_single_animation().
Referenced by unit_animation::add_anims(), and add_simple_anim().
|
static |
Definition at line 178 of file animation.cpp.
References animation_cursor::branches, animation_branch::children, animation_cursor::itors, and animation_cursor::parent.
Referenced by prepare_animation().