SSBM Decomp
Loading...
Searching...
No Matches
mncharsel.static.h
Go to the documentation of this file.
1#include <melee/ft/forward.h>
2
3#include <melee/mn/types.h>
4
5extern u8 mnCharSel_804D50C8[4];
6extern u8 mnCharSel_804D50CC[4];
7extern u8 mnCharSel_804D50D0[8];
8extern u8 mnCharSel_804D50D8[8];
9extern u8 mnCharSel_804D50E0[3];
11
12static CSSData* volatile mnCharSel_804D6CB0;
13static void* mnCharSel_804D6CB4;
20static void* mnCharSel_804D6CD8;
36
38#define ICONROWHT_TOP_TOP 20.0F
39#define ICONROWHT_MID_TOP 13.0F
40#define ICONROWHT_BTM_TOP 6.0F
41#define ICONROWHT_BTM_BTM (-1.0F)
42
44#define ICONBNDS_COL0_L (-30.0F)
45#define ICONBNDS_COL1_L (-24.4F)
46#define ICONBNDS_COL2_L (-17.4F)
47#define ICONBNDS_COL3_L (-10.4F)
48#define ICONBNDS_COL4_L (-3.4F)
49#define ICONBNDS_COL5_L 3.6F
50#define ICONBNDS_COL6_L 10.6F
51#define ICONBNDS_COL7_L 17.6F
52#define ICONBNDS_COL8_L 24.4F
53#define ICONBNDS_COL8_R 30.2F
54
56 {
57 // GnW Name
58 0x82, 0x6C, 0x82, 0x92, // 0x803F0A48
59 0x81, 0x44, 0x82, 0x66, // 0x803F0A4C
60 0x82, 0x81, 0x82, 0x8D, // 0x803F0A50
61 0x82, 0x85, 0x81, 0x95, // 0x803F0A54
62 0x82, 0x76, 0x82, 0x81, // 0x803F0A58
63 0x82, 0x94, 0x82, 0x83, // 0x803F0A5C
64 0x82, 0x88, 0x00, 0x00 // 0x803F0A60
65 },
66 {
67 // Mode Info
68 { 0x0000, 0x0001, 0x00007535 }, // 0x803F0A64
69 { 0x0002, 0x000D, 0x0000753A }, // 0x803F0A6C
70 { 0x0003, 0x000E, 0x0000753B }, // 0x803F0A74
71 { 0x0004, 0x000F, 0x0000753C }, // 0x803F0A7C
72 { 0x0007, 0x0011, 0x0000753D }, // 0x803F0A84
73 { 0x0008, 0x0012, 0x0000753E }, // 0x803F0A8C
74 { 0x0009, 0x0013, 0x0000753F }, // 0x803F0A94
75 { 0x0006, 0x0010, 0x00007540 }, // 0x803F0A9C
76 { 0x000A, 0x0014, 0x00007541 }, // 0x803F0AA4
77 { 0x000B, 0x0015, 0x00007535 }, // 0x803F0AAC
78 { 0x000C, 0x0016, 0x00007535 }, // 0x803F0AB4
79 { 0x0000, 0x0000, 0x00007534 }, // 0x803F0ABC
80 { 0x0001, 0x0000, 0x00007534 }, // 0x803F0AC4
81 { 0x0002, 0x0000, 0x00007533 }, // 0x803F0ACC
82 { 0x0003, 0x0000, 0x00007534 }, // 0x803F0AD4
83 { 0x0004, 0x0000, 0x0007C864 }, // 0x803F0ADC
84 { 0x0005, 0x0000, 0x00007531 }, // 0x803F0AE4
85 { 0x0008, 0x0000, 0x00007534 }, // 0x803F0AEC
86 { 0x0009, 0x0000, 0x00007534 }, // 0x803F0AF4
87 { 0x000A, 0x0000, 0x00007534 }, // 0x803F0AFC
88 { 0x000B, 0x0000, 0x00007534 }, // 0x803F0B04
89 { 0x000C, 0x0000, 0x00007534 }, // 0x803F0B0C
90 { 0x000D, 0x0000, 0x00007534 }, // 0x803F0B14
91 { 0x0007, 0x0000, 0x00007532 } // 0x803F0B1C
92 },
93};
94
95static CSSIcon icons[25 + 1] = {
96 // -------- Icons Top Row --------
97
98 { // Dr. Mario - 0x803F0B24
102 { // Mario - 0x803F0B40
106 { // Luigi - 0x803F0B5C
110 { // Bowser - 0x803F0B78
114 { // Peach - 0x803F0B94
118 { // Yoshi - 0x803F0BB0
122 { // DK - 0x803F0BCC
126 { // Captain Falcon - 0x803F0BE8
130 { // Ganondorf - 0x803F0C04
134
135 // -------- Icons Middle Row --------
136
137 { // Falco - 0x803F0C20
141 { // Fox - 0x803F0C3C
145 { // Ness - 0x803F0C58
149 { // ICs - 0x803F0C74
153 { // Kirby - 0x803F0C90
157 { // Samus - 0x803F0CAC
161 { // Zelda - 0x803F0CC8
165 { // Link - 0x803F0CE4
169 { // Young Link - 0x803F0D00
173
174 // -------- Icons Bottom Row --------
175
176 { // Pichu - 0x803F0D1C
180 { // Pikachu - 0x803F0D38
184 { // Jigglypuff - 0x803F0D54
188 { // Mewtwo - 0x803F0D70
192 { // Mr. Game & Watch - 0x803F0D8C
196 { // Marth - 0x803F0DA8
200 { // Roy - 0x803F0DC4
204};
205
207 { { 0x2E, 0x33, 0x38, 0x85, 0x29, 0xA6, 0x3D, 0x41,
208 0x40, 0, 0, 0, 0, 0, 0, 0,
209 0, 0, 0, 0, -35.6, -28.6, -26.8, -21.0F },
210 { 0x2F, 0x34, 0x39, 0x8D, 0x2A, 0xA8, 0x43, 0x47,
211 0x46, 0, 0, 0, 0, 0, 0, 0,
212 0, 0, 0, 0, -19.4, -13.4, -11.4, -6.0F },
213 { 0x30, 0x35, 0x3A, 0x95, 0x2B, 0xAA, 0x49, 0x4D, 0x4C, 0, 0, 0,
214 0, 0, 0, 0, 0, 0, 0, 0, -4.2, 2.2, 3.5, 9.4 },
215 { 0x31, 0x36, 0x3B, 0x9D, 0x2C, 0xAC, 0x4F, 0x53,
216 0x52, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
217 0x00, 0x00, 0x00, 0x00, 11.0F, 17.0F, 19.0F, 24.6 } },
218 { { NULL, 0x70, 0x73, 0x74, 0x72, 0x71 },
219 { NULL, 0x75, 0x78, 0x79, 0x77, 0x76 },
220 { NULL, 0x7A, 0x7D, 0x7E, 0x7C, 0x7B },
221 { NULL, 0x7F, 0x82, 0x83, 0x81, 0x80 } },
222 0,
223 0,
224 0,
225 0,
226 0x4A,
227 0x4D,
228 0x4E,
229 0x4C,
230 0x4B,
231 0,
232 0,
233 0,
234 0x2F,
235 0x01,
236 0,
237 0,
238 0,
239 0.0F,
240 -10.9,
241 -4.2,
242 12.5,
243 19.6,
244 -6.8,
245 -12.1,
246};
247
248static struct CSSDoorsData2 data2 = {
249 { 0x35, 0x39, 0x36, 0x38, 0x37 },
250 0, 0, 0,
251 -2.2,
252 3.7,
253 13.7,
254 19.3,
255 -12.4,
256 -16.6,
257 {
258 { NULL, -22.5, 0x57 },
259 { NULL, -7.1, 0x5D },
260 { NULL, 8.3, 0x63 },
261 { NULL, 23.7, 0x69 },
262 },
263};
signed char s8
Definition hsd_3B2B.h:3
unsigned char u8
Definition hsd_3B2B.h:2
@ CKIND_ZELDA
Definition forward.h:139
@ CKIND_LINK
Definition forward.h:127
@ CKIND_NESS
Definition forward.h:132
@ CKIND_GANON
Definition forward.h:146
@ CKIND_POPONANA
Definition forward.h:135
@ CKIND_CAPTAIN
Definition forward.h:121
@ CKIND_LUIGI
Definition forward.h:128
@ CKIND_SAMUS
Definition forward.h:137
@ CKIND_MARS
Definition forward.h:130
@ CKIND_DRMARIO
Definition forward.h:143
@ CKIND_MARIO
Definition forward.h:129
@ CKIND_DONKEY
Definition forward.h:122
@ CKIND_MEWTWO
Definition forward.h:131
@ CKIND_FALCO
Definition forward.h:141
@ CKIND_PIKACHU
Definition forward.h:134
@ CKIND_PICHU
Definition forward.h:145
@ CKIND_KIRBY
Definition forward.h:125
@ CKIND_EMBLEM
Definition forward.h:144
@ CKIND_FOX
Definition forward.h:123
@ CKIND_KOOPA
Definition forward.h:126
@ CKIND_PURIN
Definition forward.h:136
@ CKIND_CLINK
Definition forward.h:142
@ CKIND_PEACH
Definition forward.h:133
@ CKIND_GAMEWATCH
Definition forward.h:124
@ CKIND_YOSHI
Definition forward.h:138
@ ICONHUD_FALCO
Definition forward.h:65
@ ICONHUD_LINK
Definition forward.h:52
@ ICONHUD_PIKACHU
Definition forward.h:59
@ ICONHUD_GANON
Definition forward.h:70
@ ICONHUD_ZELDA
Definition forward.h:64
@ ICONHUD_YOSHI
Definition forward.h:63
@ ICONHUD_CLINK
Definition forward.h:66
@ ICONHUD_SAMUS
Definition forward.h:62
@ ICONHUD_GAMEWATCH
Definition forward.h:49
@ ICONHUD_MEWTWO
Definition forward.h:56
@ ICONHUD_EMBLEM
Definition forward.h:68
@ ICONHUD_FOX
Definition forward.h:48
@ ICONHUD_KIRBY
Definition forward.h:50
@ ICONHUD_PEACH
Definition forward.h:58
@ ICONHUD_MARIO
Definition forward.h:54
@ ICONHUD_KOOPA
Definition forward.h:51
@ ICONHUD_LUIGI
Definition forward.h:53
@ ICONHUD_PURIN
Definition forward.h:61
@ ICONHUD_NESS
Definition forward.h:57
@ ICONHUD_CAPTAIN
Definition forward.h:46
@ ICONHUD_PICHU
Definition forward.h:69
@ ICONHUD_DONKEY
Definition forward.h:47
@ ICONHUD_DRMARIO
Definition forward.h:67
@ ICONHUD_POPONANA
Definition forward.h:60
@ ICONHUD_MARS
Definition forward.h:55
@ ICONJOINT_DONKEY
Definition types.h:275
@ ICONJOINT_DRMARIO
Definition types.h:264
@ ICONJOINT_YOSHI
Definition types.h:274
@ ICONJOINT_PIKACHU
Definition types.h:284
@ ICONJOINT_PURIN
Definition types.h:285
@ ICONJOINT_PEACH
Definition types.h:273
@ ICONJOINT_FALCO
Definition types.h:265
@ ICONJOINT_LINK
Definition types.h:283
@ ICONJOINT_KIRBY
Definition types.h:280
@ ICONJOINT_PICHU
Definition types.h:268
@ ICONJOINT_CAPTAIN
Definition types.h:276
@ ICONJOINT_MEWTWO
Definition types.h:286
@ ICONJOINT_KOOPA
Definition types.h:272
@ ICONJOINT_MARIO
Definition types.h:270
@ ICONJOINT_GANON
Definition types.h:266
@ ICONJOINT_NESS
Definition types.h:278
@ ICONJOINT_MARS
Definition types.h:288
@ ICONJOINT_POPONANA
Definition types.h:279
@ ICONJOINT_GAMEWATCH
Definition types.h:287
@ ICONJOINT_ZELDA
Definition types.h:282
@ ICONJOINT_FOX
Definition types.h:277
@ ICONJOINT_CLINK
Definition types.h:267
@ ICONJOINT_SAMUS
Definition types.h:281
@ ICONJOINT_EMBLEM
Definition types.h:269
@ ICONJOINT_LUIGI
Definition types.h:271
@ ICONSTATE_TEMP
Definition types.h:259
@ ICONSTATE_UNLOCKED
Definition types.h:260
static HSD_JObj * mnCharSel_804D6CCC
Definition mncharsel.static.h:17
#define ICONBNDS_COL4_L
Definition mncharsel.static.h:48
#define ICONBNDS_COL7_L
Definition mncharsel.static.h:51
static CSSIcon icons[25+1]
Definition mncharsel.static.h:95
static CSSData *volatile mnCharSel_804D6CB0
Definition mncharsel.static.h:12
u8 mnCharSel_804D50E0[3]
static CSSIconsData mnCharSel_803F0A48
Definition mncharsel.static.h:55
#define ICONBNDS_COL6_L
Definition mncharsel.static.h:50
u8 mnCharSel_804D50C8[4]
static HSD_Archive * mnCharSel_804D6CD0
Definition mncharsel.static.h:18
static HSD_Text * mnCharSel_804D6CE8
Definition mncharsel.static.h:24
#define ICONROWHT_BTM_BTM
Definition mncharsel.static.h:41
static s8 mnCharSel_804D6CF0
Definition mncharsel.static.h:26
static HSD_JObj * mnCharSel_804D6CC8
Definition mncharsel.static.h:16
static s8 mnCharSel_804D6CF1
Definition mncharsel.static.h:27
static void * mnCharSel_804D6CD8
Definition mncharsel.static.h:20
static u8 mnCharSel_804D6CF2
Definition mncharsel.static.h:28
#define ICONROWHT_BTM_TOP
Definition mncharsel.static.h:40
static s8 mnCharSel_804D6CF4
Definition mncharsel.static.h:30
#define ICONROWHT_MID_TOP
Definition mncharsel.static.h:39
static u32 mnCharSel_804D6CEC
Definition mncharsel.static.h:25
static u8 mnCharSel_804D6CF6
Definition mncharsel.static.h:32
#define ICONROWHT_TOP_TOP
Can't be enum bc float, but reused values.
Definition mncharsel.static.h:38
static u8 mnCharSel_804D6CF8
Definition mncharsel.static.h:34
static void * mnCharSel_804D6CB4
Definition mncharsel.static.h:13
u8 mnCharSel_804D50CC[4]
static s8 mnCharSel_804D6CF9
Definition mncharsel.static.h:35
static HSD_Text * mnCharSel_804D6CE0
Definition mncharsel.static.h:22
u8 mnCharSel_804D5100
#define ICONBNDS_COL2_L
Definition mncharsel.static.h:46
#define ICONBNDS_COL3_L
Definition mncharsel.static.h:47
#define ICONBNDS_COL8_R
Definition mncharsel.static.h:53
static HSD_JObj * mnCharSel_804D6CC4
Definition mncharsel.static.h:15
static HSD_Text * mnCharSel_804D6CDC
Definition mncharsel.static.h:21
u8 mnCharSel_804D50D8[8]
static u8 mnCharSel_804D6CF5
number of (open? valid?) CSS doors
Definition mncharsel.static.h:31
static HSD_Archive * mnCharSel_804D6CD4
Definition mncharsel.static.h:19
static CSSDoorsData mnCharSel_803F0DFC
Definition mncharsel.static.h:206
static HSD_Text * mnCharSel_804D6CE4
Definition mncharsel.static.h:23
#define ICONBNDS_COL1_L
Definition mncharsel.static.h:45
static struct CSSDoorsData2 data2
Definition mncharsel.static.h:248
#define ICONBNDS_COL0_L
Can't be enum bc float, but reused values.
Definition mncharsel.static.h:44
#define ICONBNDS_COL5_L
Definition mncharsel.static.h:49
u8 mnCharSel_804D50D0[8]
static u8 mnCharSel_804D6CF3
Definition mncharsel.static.h:29
#define ICONBNDS_COL8_L
Definition mncharsel.static.h:52
static HSD_JObj * mnCharSel_804D6CC0
Definition mncharsel.static.h:14
static u8 mnCharSel_804D6CF7
Definition mncharsel.static.h:33
#define NULL
Definition stddef.h:19
Definition types.h:243
Definition types.h:407
Definition types.h:378
Definition types.h:291
Definition types.h:305
Definition archive.h:34
Definition jobj.h:107
Definition sislib.h:47