Mirai's Miscellaneous Misadventures

M34 / include / mimimi / models.h

1// copyright 2022 zamfofex
2// license: AGPLv3 or later
3
4#ifndef MIMIMI_MODELS_H
5#define MIMIMI_MODELS_H
6
7struct mimimi_row
8{
9	int width;
10	int height;
11	int count;
12	unsigned char colors[64];
13};
14
15struct mimimi_layer
16{
17	int x, y, z;
18	int width;
19	int amplifier;
20	int count;
21	struct mimimi_row rows[64];
22};
23
24struct mimimi_model_layer
25{
26	int parent_index;
27	struct mimimi_layer *layer;
28};
29
30struct mimimi_model
31{
32	int count;
33	struct mimimi_model_layer layers[64];
34};
35
36#endif