Loading...
Searching...
No Matches
animation_storage.h
1#pragma once
2#include <stdint.h>
3#include <m-list.h>
4#include "views/bubble_animation_view.h"
5
11
12typedef struct {
13 const char* name;
14 uint8_t min_butthurt;
15 uint8_t max_butthurt;
16 uint8_t min_level;
17 uint8_t max_level;
18 uint8_t weight;
20
22LIST_DEF(StorageAnimationList, StorageAnimation*, M_PTR_OPLIST)
23#define M_OPL_StorageAnimationList_t() LIST_OPLIST(StorageAnimationList)
24
35void animation_storage_fill_animation_list(StorageAnimationList_t* list);
36
47const BubbleAnimation* animation_storage_get_bubble_animation(StorageAnimation* storage_animation);
48
55void animation_storage_cache_animation(StorageAnimation* storage_animation);
56
64StorageAnimation* animation_storage_find_animation(const char* name);
65
74StorageAnimationManifestInfo* animation_storage_get_meta(StorageAnimation* storage_animation);
75
82void animation_storage_free_storage_animation(StorageAnimation** storage_animation);
83
88void animation_storage_initialize_internal_animations(void);
Definition animation_manager.h:25
Definition animation_storage_i.h:5
Definition animation_storage.h:12