-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMod.h
42 lines (34 loc) · 1.03 KB
/
Mod.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#pragma once
#include <StringHelper.h>
inline const int MAX_OUTFIT = 8;
const char* dlcNames[MAX_OUTFIT][2] = {
{ "dlcddx", "explorer" }, // Adventurer's Gloves and Shoes
{ "dlcmhr", "hunter" }, // Rathalos
{ "dlcmhr", "airou" }, // Felyne Rathalos
{ "dlcholoA", "korone" }, // Inugami Korone Collaboration Sonic Gloves & Shoes
{ "dlccrm", "advshoes" }, // Sonic Adventure 2 Shoes
{ "dlcxmas", "xmas" }, // Holiday Cheer Suit
{ "chr", "birthday" }, // Sonic's Birthday Party Outfit
{ "chr", "crown" } // Frontier Elite
};
void GetSonicName(char* result, uint8_t outfit, const char* model, const char* type)
{
strcpy(result, dlcNames[outfit][0]);
strcat(result, "_");
strcat(result, model);
strcat(result, "_");
strcat(result, dlcNames[outfit][1]);
if (type != nullptr)
{
strcat(result, "_");
strcat(result, type);
}
}
void GetFriendName(char* result, const char* model, const char* type)
{
strcpy(result, "chr_");
strcat(result, model);
if (type != nullptr)
strcat(result, type);
strcat(result, "_birthday");
}