diff options
author | Micksha <ms-shaman@gmx.de> | 2019-04-13 19:55:05 +0000 |
---|---|---|
committer | Micksha <ms-shaman@gmx.de> | 2019-04-13 19:55:05 +0000 |
commit | add8a9e8bc83fbf022c66001f2150d90a6f234ab (patch) | |
tree | b771ad105e5a73733ede7559e22467f13a2880a8 /saedit/context.h | |
parent | 8c75e651f00048dda32db85b2bff34e131960864 (diff) | |
parent | 168ad9d6c730e93d76c801da607df84355187a39 (diff) | |
download | evol-tools-s20190422.tar.gz evol-tools-s20190422.tar.bz2 evol-tools-s20190422.tar.xz evol-tools-s20190422.zip |
Merge branch 'saedit' into 'master's20190422
update saedit to saedit2
See merge request evol/evol-tools!23
Diffstat (limited to 'saedit/context.h')
-rw-r--r-- | saedit/context.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/saedit/context.h b/saedit/context.h new file mode 100644 index 0000000..9d41fde --- /dev/null +++ b/saedit/context.h @@ -0,0 +1,50 @@ +#ifndef CONTEXT_H +#define CONTEXT_H + +#include "xml.h" +#include "imageset.h" +#include "action.h" + +typedef struct _SpriteContext SpriteContext; + +SpriteContext * +sprite_context_new ( + const gchar *client_data_folder +); + +void +sprite_context_add_sprite ( + SpriteContext *context, + XMLNode *node, + gboolean is_include +); + +Action * +action_new ( + const SpriteContext *context, + const XMLNode *node, + gint included_from +); + +Action * +sprite_context_get_action ( + const SpriteContext *context, + gint hp, + const gchar *name +); + +Imageset * +sprite_context_get_imageset ( + const SpriteContext *context, + const gchar *name +); + +GList * +sprite_context_get_actions ( + const SpriteContext *context +); + +void +sprite_context_free (SpriteContext *context); + +#endif |