Go to the documentation of this file.
21 anim->num_animations = 1;
38 free(existing->
faces);
40 update->
faces =
nullptr;
55 anim->has_blank =
false;
56 for (uint8_t face = 0;
anim->faces && face <
anim->num_animations; face++)
58 anim->has_blank =
true;
Animations * asset_create(const std::string &name)
virtual void added(Animations *anim) override
void asset_destroy(Animations *item)
virtual void replace(Animations *existing, Animations *update) override
sstring add_string(const char *str)
std::set< std::string > m_undefined
Animations * get(const std::string &name)
void free_string(sstring str)
std::unordered_map< std::string, Animations * > m_assets