From 8558e7234b5614a7b6e91286f0fc0a693923b54e Mon Sep 17 00:00:00 2001 From: briaguya Date: Mon, 30 May 2022 17:08:18 -0400 Subject: [PATCH] more cleaning --- soh/soh/Enhancements/randomizer.h | 1 - soh/soh/OTRGlobals.cpp | 4 ---- soh/soh/OTRGlobals.h | 1 - 3 files changed, 6 deletions(-) diff --git a/soh/soh/Enhancements/randomizer.h b/soh/soh/Enhancements/randomizer.h index 57d1faa72..6df2dcb3f 100644 --- a/soh/soh/Enhancements/randomizer.h +++ b/soh/soh/Enhancements/randomizer.h @@ -21,7 +21,6 @@ class Randomizer { s16 GetItemModelFromId(s16 itemId); void LoadItemLocations(const char* spoilerFileName); void ParseItemLocations(const char* spoilerFileName); - ItemID GetItemidFromGetitemid(GetItemID getItemId); GetItemID GetRandomizedItemIdFromKnownCheck(RandomizerCheck randomizerCheck, GetItemID ogId); GetItemID GetRandomizedItemId(GetItemID ogId, s16 actorId, s16 actorParams, s16 sceneNum); }; diff --git a/soh/soh/OTRGlobals.cpp b/soh/soh/OTRGlobals.cpp index 30df1264b..02a039da7 100644 --- a/soh/soh/OTRGlobals.cpp +++ b/soh/soh/OTRGlobals.cpp @@ -1043,7 +1043,3 @@ extern "C" s32 GetRandomizedItemId(GetItemID ogId, s16 actorId, s16 actorParams, extern "C" s32 GetRandomizedItemIdFromKnownCheck(RandomizerCheck randomizerCheck, GetItemID ogId) { return OTRGlobals::Instance->gRandomizer->GetRandomizedItemIdFromKnownCheck(randomizerCheck, ogId); } - -extern "C" ItemID GetItemidFromGetitemid(GetItemID getItemId) { - return OTRGlobals::Instance->gRandomizer->GetItemidFromGetitemid(getItemId); -} \ No newline at end of file diff --git a/soh/soh/OTRGlobals.h b/soh/soh/OTRGlobals.h index 5e3c20f04..c541cd92d 100644 --- a/soh/soh/OTRGlobals.h +++ b/soh/soh/OTRGlobals.h @@ -78,7 +78,6 @@ void LoadItemLocations(const char* spoilerFileName); void ParseItemLocations(const char* spoilerfilename); ItemID GetItemIdFromGetItem(GetItemID getItemId); s16 GetItemModelFromId(s16 itemId); -ItemID GetItemidFromGetitemid(GetItemID getItemId); s32 GetRandomizedItemId(GetItemID ogId, s16 actorId, s16 actorParams, s16 sceneNum); s32 GetRandomizedItemIdFromKnownCheck(RandomizerCheck randomizerCheck, GetItemID ogId); #endif