Mirai's Miscellaneous Misadventures

M53 / models / ryouna.c

1/* license: AGPLv3 or later */
2/* copyright 2024 zamfofex */
3
4#include "models.h"
5
6static struct mimimi_layer mimimi_ryouna_face_value =
7{
8    0, -6, 0, 12, 32, 2,
9    {
10        {12, 12, 24, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x23, 0x00, 0x00, 0x25, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}},
11        {12, 12, 24, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x23, 0x00, 0x00, 0x25, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}},
12    },
13};
14
15static struct mimimi_layer mimimi_ryouna_hair_value =
16{
17    0, 1, 0, 16, 32, 14,
18    {
19        {4, 4, 1, {0xF1}},
20        {8, 8, 1, {0xF1}},
21        {10, 10, 1, {0xF1}},
22        {12, 12, 1, {0xF1}},
23        {14, 14, 28, {0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0x00, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1}},
24        {14, 14, 28, {0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0x00, 0xF1, 0x00, 0xF1, 0xF1, 0x00, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1}},
25        {16, 16, 32, {0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1}},
26        {16, 16, 32, {0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1}},
27        {16, 16, 32, {0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1}},
28        {16, 16, 32, {0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1, 0xF1}},
29        {14, 14, 28, {0xF1, 0x00, 0xF1, 0xF1, 0x00, 0xF1, 0x00, 0xF1, 0x00, 0xF1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0xF1, 0xF1, 0x00, 0xF1, 0x00, 0xF1, 0x00, 0xF1, 0x00, 0xF1}},
30        {14, 14, 28, {0xF1, 0x00, 0xF1, 0x00, 0xF1, 0x00, 0xF1, 0xF1, 0x00, 0xF1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0x00, 0xF1, 0xF1, 0xF1, 0x00, 0xF1, 0x00, 0xF1, 0xF1, 0x00}},
31        {14, 14, 28, {0xF1, 0x00, 0xF1, 0x00, 0xF1, 0x00, 0xF1, 0xF1, 0x00, 0xF1, 0xF1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0x00, 0x00, 0xF1, 0xF1, 0x00, 0xF1, 0xF1, 0x00, 0xF1, 0x00}},
32        {14, 14, 28, {0xF1, 0x00, 0xF1, 0x00, 0xF1, 0xF1, 0x00, 0xF1, 0x00, 0xF1, 0xF1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF1, 0x00, 0x00, 0xF1, 0xF1, 0x00, 0xF1, 0xF1, 0x00, 0xF1, 0x00}},
33    },
34};
35
36static struct mimimi_model mimimi_ryouna_flash_value =
37{
38    21,
39    {
40        /* 0 */ {0, &mimimi_torso_value},
41        /* 1 */ {0, &mimimi_head_origin},
42        /* 2 */ {0, &mimimi_upper_left_arm_value},
43        /* 3 */ {0, &mimimi_upper_right_arm_value},
44        /* 4 */ {0, &mimimi_upper_left_leg_value},
45        /* 5 */ {0, &mimimi_upper_right_leg_value},
46        /* 6 */ {2, &mimimi_lower_left_arm_value},
47        /* 7 */ {3, &mimimi_lower_right_arm_value},
48        /* 8 */ {4, &mimimi_lower_left_leg_value},
49        /* 9 */ {5, &mimimi_lower_right_leg_value},
50        /* 10 */ {1, &mimimi_head_value},
51
52        /* 11 */ {0, &mimimi_hebijo_uniform_shirt_value},
53        /* 12 */ {0, &mimimi_hebijo_uniform_skirt_value},
54        /* 13 */ {10, &mimimi_ryouna_face_value},
55        /* 14 */ {10, &mimimi_ryouna_hair_value},
56        /* 15 */ {2, &mimimi_hebijo_uniform_sleeve_value},
57        /* 16 */ {3, &mimimi_hebijo_uniform_sleeve_value},
58        /* 17 */ {8, &mimimi_hebijo_uniform_sock_value},
59        /* 18 */ {8, &mimimi_hebijo_uniform_shoe_value},
60        /* 19 */ {9, &mimimi_hebijo_uniform_sock_value},
61        /* 20 */ {9, &mimimi_hebijo_uniform_shoe_value},
62    },
63};
64
65struct mimimi_model *mimimi_ryouna_flash = &mimimi_ryouna_flash_value;