From 21c585b2cea03e5eaa5331b454fcf50cdacfafac Mon Sep 17 00:00:00 2001 From: Christopher Leggett Date: Thu, 21 Jul 2022 13:10:04 -0400 Subject: [PATCH] Removes randomizer_custom_messages, as I relocated its logic elsewhere. --- soh/soh.vcxproj | 1 - .../randomizer/randomizer_custom_messages.cpp | 52 ------------------- 2 files changed, 53 deletions(-) delete mode 100644 soh/soh/Enhancements/randomizer/randomizer_custom_messages.cpp diff --git a/soh/soh.vcxproj b/soh/soh.vcxproj index 974fb25c8..1c1f3784a 100644 --- a/soh/soh.vcxproj +++ b/soh/soh.vcxproj @@ -236,7 +236,6 @@ - diff --git a/soh/soh/Enhancements/randomizer/randomizer_custom_messages.cpp b/soh/soh/Enhancements/randomizer/randomizer_custom_messages.cpp deleted file mode 100644 index 8ac220fca..000000000 --- a/soh/soh/Enhancements/randomizer/randomizer_custom_messages.cpp +++ /dev/null @@ -1,52 +0,0 @@ -#include "randomizer.h" -#include "soh/Enhancements/custom_message/CustomMessage.h" -#include - -#define NOGDI -#define WIN32_LEAN_AND_MEAN - -void Randomizer::CreateCustomMessages() { - CustomMessage* customMessage = CustomMessage::Instance; - customMessage->AddCustomMessageTable(Randomizer::customMessageTableID); - customMessage->CreateGetItemMessage( - Randomizer::customMessageTableID, GI_BOTTLE_WITH_BLUE_FIRE, ITEM_BLUE_FIRE, - { TEXTBOX_TYPE_BLUE, TEXTBOX_POS_BOTTOM, - "You got a %rBottle with Blue &Fire%w! Use it to melt Red Ice!", "", "" }); - customMessage->CreateGetItemMessage( - Randomizer::customMessageTableID, GI_BOTTLE_WITH_BIG_POE, ITEM_BIG_POE, - { TEXTBOX_TYPE_BLUE, TEXTBOX_POS_BOTTOM, - "You got a %rBig Poe in a Bottle%w!&Sell it to the Ghost Shop!", "", "" }); - customMessage->CreateGetItemMessage( - Randomizer::customMessageTableID, GI_BOTTLE_WITH_BLUE_POTION, ITEM_POTION_BLUE, - { TEXTBOX_TYPE_BLUE, TEXTBOX_POS_BOTTOM, - "You got a %rBottle of Blue Potion%w!&Drink it to replenish your&%ghealth%w and %bmagic%w!", "", "" }); - customMessage->CreateGetItemMessage( - Randomizer::customMessageTableID, GI_BOTTLE_WITH_FISH, ITEM_FISH, - { TEXTBOX_TYPE_BLUE, TEXTBOX_POS_BOTTOM, - "You got a %rFish in a Bottle%w!&It looks fresh and delicious!&They say Jabu-Jabu loves them!", "", "" }); - customMessage->CreateGetItemMessage( - Randomizer::customMessageTableID, GI_BOTTLE_WITH_BUGS, ITEM_BUG, - { TEXTBOX_TYPE_BLUE, TEXTBOX_POS_BOTTOM, "You got a %rBug in a Bottle%w!&They love to burrow in&dirt holes!", "", "" }); - customMessage->CreateGetItemMessage( - Randomizer::customMessageTableID, GI_BOTTLE_WITH_FAIRY, ITEM_FAIRY, - { TEXTBOX_TYPE_BLUE, TEXTBOX_POS_BOTTOM, "You got a %rFairy in a Bottle%w!&Use it wisely!", "", "" }); - customMessage->CreateGetItemMessage( - Randomizer::customMessageTableID, GI_BOTTLE_WITH_RED_POTION, ITEM_POTION_RED, - { TEXTBOX_TYPE_BLUE, TEXTBOX_POS_BOTTOM, "You got a %rBottle of Red Potion%w!&Drink it to replenish your&%ghealth%w!", "", "" }); - customMessage->CreateGetItemMessage( - Randomizer::customMessageTableID, GI_BOTTLE_WITH_GREEN_POTION, ITEM_POTION_GREEN, - { TEXTBOX_TYPE_BLUE, TEXTBOX_POS_BOTTOM, - "You got a %rBottle of Green Potion%w!&Drink it to replenish your&%bmagic%w!", "", "" }); - customMessage->CreateGetItemMessage( - Randomizer::customMessageTableID, GI_BOTTLE_WITH_POE, ITEM_POE, - { TEXTBOX_TYPE_BLUE, TEXTBOX_POS_BOTTOM, - "You got a %rPoe in a Bottle%w!&That creepy Ghost Shop might&be interested in this...", "", "" }); -} - -//std::string Randomizer::GetCustomGetItemMessage(GlobalContext* globalCtx, GetItemID giid) { -// if (!gSaveContext.n64ddFlag) { -// return "Not Randomized."; -// } -// -// return CustomMessage::Instance->RetrieveMessage(globalCtx, Randomizer::customMessageTableID, giid); -//} \ No newline at end of file