forked from omf2097/openomf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanimation_misc.h
30 lines (22 loc) · 1.11 KB
/
animation_misc.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef ANIMATION_MISC_H
#define ANIMATION_MISC_H
#include <stddef.h>
#include "formats/animation.h"
#include "formats/bk.h"
int sprite_key_get_id(const char *key);
void sprite_set_key(sd_sprite *s, const char **key, int kcount, const char *value);
void sprite_get_key(sd_sprite *s, const char **key, int kcount);
void sprite_keylist(void);
void sprite_info(sd_sprite *s, int anim, int sprite);
void sprite_export_key(sd_sprite *s, const char **key, int kcount, const char *filename, sd_bk_file *bk);
void sprite_import_key(sd_sprite *s, const char **key, int kcount, const char *filename);
void anim_common_info(sd_animation *ani);
int anim_key_get_id(const char *key);
void anim_get_key(sd_animation *ani, int kn, const char **key, int kcount, int pcount);
void anim_set_key(sd_animation *ani, int kn, const char **key, int kcount, const char *value);
void anim_keylist(void);
void string_strip(char *str, size_t len, const char *tag);
void anim_strip_key(sd_animation *ani, int kn, const char **key, int kcount, const char *tag);
void anim_push(sd_animation *ani);
void anim_pop(sd_animation *ani);
#endif // ANIMATION_MISC_H