Mirai's Miscellaneous Misadventures

M40 / include / mimimi / animations.h

1// copyright 2023 zamfofex
2// license: AGPLv3 or later
3
4#ifndef MIMIMI_ANIMATIONS_H
5#define MIMIMI_ANIMATIONS_H
6
7struct mimimi_image;
8struct mimimi_pose;
9struct mimimi_model;
10struct mimimi_allocator;
11
12struct mimimi_movement
13{
14	int count;
15	struct mimimi_pose *poses;
16};
17
18struct mimimi_animation
19{
20	int count;
21	struct mimimi_image *images;
22};
23
24void mimimi_movement(struct mimimi_animation *animation, struct mimimi_model *model, struct mimimi_movement *movement, struct mimimi_allocator *allocator);
25
26#endif