Mirai's Miscellaneous Misadventures

M45-patches / models / ryouna.c

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