mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-15 14:05:06 -05:00
Moved name variables out of InsertRupeeName()
This commit is contained in:
parent
e8c25fe528
commit
e2633c9be1
@ -28,6 +28,27 @@ const std::string Randomizer::hintMessageTableID = "RandomizerHints";
|
|||||||
const std::string Randomizer::scrubMessageTableID = "RandomizerScrubs";
|
const std::string Randomizer::scrubMessageTableID = "RandomizerScrubs";
|
||||||
const std::string Randomizer::rupeeMessageTableID = "RandomizerRupees";
|
const std::string Randomizer::rupeeMessageTableID = "RandomizerRupees";
|
||||||
|
|
||||||
|
static const char* englishRupeeNames[44] = {
|
||||||
|
"Rupees", "Bitcoin", "Bananas", "Cornflakes", "Gummybears", "Floopies", "Dollars", "Lemmings",
|
||||||
|
"Emeralds", "Bucks", "Rubles", "Diamonds", "Moons", "Stars", "Mana", "Doll Hairs",
|
||||||
|
"Dogecoin", "Mushrooms", "Experience", "Friends", "Coins", "Rings", "Gil", "Pokédollars",
|
||||||
|
"Bells", "Orbs", "Bottle Caps", "Simoleons", "Pokémon", "Toys", "Smackaroos", "Zorkmids",
|
||||||
|
"Zenny", "Bones", "Souls", "Studs", "Munny", "Rubies", "Gald", "Gold",
|
||||||
|
"Shillings", "Pounds", "Glimmer", "Potch"
|
||||||
|
};
|
||||||
|
|
||||||
|
static const char* germanRupeeNames[1] = {
|
||||||
|
"Rubine"
|
||||||
|
};
|
||||||
|
|
||||||
|
static const char* frenchRupeeNames[36] = {
|
||||||
|
"Rubis", "Bitcoin", "Bananes", "Euros", "Dollars", "Émeraudes", "Joyaux", "Diamants",
|
||||||
|
"Balles", "Pokémon", "Pièces", "Lunes", "Étoiles", "Dogecoin", "Anneaux", "Radis",
|
||||||
|
"Pokédollars", "Zennies", "Pépètes", "Mailles", "Éthers", "Clochettes", "Capsules", "Gils",
|
||||||
|
"Champignons", "Blés", "Halos", "Munnies", "Orens", "Florens", "Crédits", "Galds",
|
||||||
|
"Bling", "Orbes", "Baguettes", "Croissants"
|
||||||
|
};
|
||||||
|
|
||||||
Randomizer::Randomizer() {
|
Randomizer::Randomizer() {
|
||||||
Sprite bowSprite = { dgFairyBowIconTex, 32, 32, G_IM_FMT_RGBA, G_IM_SIZ_32b, 0 };
|
Sprite bowSprite = { dgFairyBowIconTex, 32, 32, G_IM_FMT_RGBA, G_IM_SIZ_32b, 0 };
|
||||||
gSeedTextures[0] = bowSprite;
|
gSeedTextures[0] = bowSprite;
|
||||||
@ -4650,22 +4671,6 @@ void CreateRupeeMessages() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::string Randomizer::InsertRupeeName(std::string message, int language) {
|
std::string Randomizer::InsertRupeeName(std::string message, int language) {
|
||||||
const char* englishRupeeNames[44] = {
|
|
||||||
"Rupees", "Bitcoin", "Bananas", "Cornflakes", "Gummybears", "Floopies", "Dollars", "Lemmings",
|
|
||||||
"Emeralds", "Bucks", "Rubles", "Diamonds", "Moons", "Stars", "Mana", "Doll Hairs",
|
|
||||||
"Dogecoin", "Mushrooms", "Experience", "Friends", "Coins", "Rings", "Gil", "Pokédollars",
|
|
||||||
"Bells", "Orbs", "Bottle Caps", "Simoleons", "Pokémon", "Toys", "Smackaroos", "Zorkmids",
|
|
||||||
"Zenny", "Bones", "Souls", "Studs", "Munny", "Rubies", "Gald", "Gold",
|
|
||||||
"Shillings", "Pounds", "Glimmer", "Potch"
|
|
||||||
};
|
|
||||||
const char* germanRupeeNames[1] = { "Rubine" };
|
|
||||||
const char* frenchRupeeNames[36] = {
|
|
||||||
"Rubis", "Bitcoin", "Bananes", "Euros", "Dollars", "Émeraudes", "Joyaux", "Diamants",
|
|
||||||
"Balles", "Pokémon", "Pièces", "Lunes", "Étoiles", "Dogecoin", "Anneaux", "Radis",
|
|
||||||
"Pokédollars", "Zennies", "Pépètes", "Mailles", "Éthers", "Clochettes", "Capsules", "Gils",
|
|
||||||
"Champignons", "Blés", "Halos", "Munnies", "Orens", "Florens", "Crédits", "Galds",
|
|
||||||
"Bling", "Orbes", "Baguettes", "Croissants"
|
|
||||||
};
|
|
||||||
int randomIndex;
|
int randomIndex;
|
||||||
std::string replaceWith;
|
std::string replaceWith;
|
||||||
switch (language) {
|
switch (language) {
|
||||||
|
Loading…
Reference in New Issue
Block a user