mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-26 16:15:19 -07:00
Removes final randomizer message unused stuff
This commit is contained in:
parent
d8ed60892e
commit
f847e438bd
3 changed files with 1 additions and 18 deletions
|
@ -56,10 +56,6 @@ std::set<RandomizerTrick> enabledGlitches;
|
|||
u8 generated;
|
||||
char* seedString;
|
||||
|
||||
const std::string Randomizer::hintMessageTableID = "RandomizerHints";
|
||||
const std::string Randomizer::rupeeMessageTableID = "RandomizerRupees";
|
||||
const std::string Randomizer::NaviRandoMessageTableID = "RandomizerNavi";
|
||||
|
||||
Randomizer::Randomizer() {
|
||||
Rando::StaticData::InitItemTable();
|
||||
Rando::StaticData::InitLocationTable();
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include "soh/Enhancements/randomizer/fishsanity.h"
|
||||
|
||||
#define MAX_SEED_STRING_SIZE 1024
|
||||
#define NUM_TRIFORCE_PIECE_MESSAGES 6
|
||||
|
||||
class Randomizer {
|
||||
private:
|
||||
|
@ -27,12 +26,7 @@ class Randomizer {
|
|||
public:
|
||||
Randomizer();
|
||||
~Randomizer();
|
||||
|
||||
static const std::string getItemMessageTableID;
|
||||
static const std::string hintMessageTableID;
|
||||
static const std::string rupeeMessageTableID;
|
||||
static const std::string NaviRandoMessageTableID;
|
||||
|
||||
|
||||
static Sprite* GetSeedTexture(uint8_t index);
|
||||
bool SpoilerFileExists(const char* spoilerFileName);
|
||||
bool IsTrialRequired(s32 trialFlag);
|
||||
|
|
|
@ -2084,13 +2084,6 @@ extern "C" int CustomMessage_RetrieveIfExists(PlayState* play) {
|
|||
const int maxBufferSize = sizeof(font->msgBuf);
|
||||
CustomMessage messageEntry;
|
||||
s16 actorParams = 0;
|
||||
if (IS_RANDO) {
|
||||
auto ctx = Rando::Context::GetInstance();
|
||||
if (textId == TEXT_FIRE_TEMPLE_GORON_OWE_YOU_BIG_TIME || (textId >= TEXT_FIRE_TEMPLE_GORON_FALLING_DOORS_SECRET && textId <= TEXT_FIRE_TEMPLE_GORON_SOUNDS_DIFFERENT_SECRET)) {
|
||||
u16 choice = Random(0, NUM_GORON_MESSAGES);
|
||||
messageEntry = OTRGlobals::Instance->gRandomizer->GetGoronMessage(choice);
|
||||
}
|
||||
}
|
||||
if (textId == TEXT_GS_NO_FREEZE || textId == TEXT_GS_FREEZE) {
|
||||
if (CVarGetInteger(CVAR_ENHANCEMENT("InjectItemCounts.GoldSkulltula"), 0) != 0) {
|
||||
// The freeze text cannot be manually dismissed and must be auto-dismissed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue