Mirai's Miscellaneous Misadventures

M29 / include / mimimi / models.h

// copyright 2022 zamfofex
// license: AGPLv3 or later

#ifndef MIMIMI_MODELS_H
#define MIMIMI_MODELS_H

struct mimimi_row
{
	int width;
	int height;
	int count;
	unsigned char colors[64];
};

struct mimimi_layer
{
	int x, y, z;
	int width;
	int count;
	struct mimimi_row rows[64];
};

struct mimimi_model_layer
{
	int parent_index;
	struct mimimi_layer *layer;
};

struct mimimi_model
{
	int count;
	struct mimimi_model_layer layers[64];
};

#endif