#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 "utils/charconv.hpp"#include "utils/general.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 59 of file animation.cpp.
|
static |
Definition at line 609 of file animation.cpp.
References cfg, config_attribute_value::empty(), get_abs_frame_layer(), and prepare_animation().
Referenced by unit_animation::add_anims().
|
static |
Definition at line 38 of file animation.cpp.
References cfg, and 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 1159 of file animation.cpp.
|
static |
Definition at line 245 of file animation.cpp.
References cfg, config::child_range(), and prepare_single_animation().
Referenced by unit_animation::add_anims(), and add_simple_anim().
|
static |
Definition at line 180 of file animation.cpp.
References animation_cursor::branches, animation_branch::children, animation_cursor::itors, and animation_cursor::parent.
Referenced by prepare_animation().