mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-24 14:51:46 -05:00
remove fast file select stuff
This commit is contained in:
parent
9476e56911
commit
7550f302d0
@ -52,14 +52,6 @@ typedef enum {
|
|||||||
ENEMY_RANDOMIZER_RANDOM_SEEDED,
|
ENEMY_RANDOMIZER_RANDOM_SEEDED,
|
||||||
} EnemyRandomizerMode;
|
} EnemyRandomizerMode;
|
||||||
|
|
||||||
typedef enum {
|
|
||||||
FASTFILE_1,
|
|
||||||
FASTFILE_2,
|
|
||||||
FASTFILE_3,
|
|
||||||
FASTFILE_MAP_SELECT,
|
|
||||||
FASTFILE_FILE_SELECT
|
|
||||||
} FastFileSelectTarget;
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
AUTOSAVE_OFF,
|
AUTOSAVE_OFF,
|
||||||
AUTOSAVE_LOCATION_AND_MAJOR_ITEMS,
|
AUTOSAVE_LOCATION_AND_MAJOR_ITEMS,
|
||||||
|
@ -65,7 +65,6 @@ namespace SohGui {
|
|||||||
static const char* subSubPowers[7] = { allPowers[0], allPowers[1], allPowers[2], allPowers[3], allPowers[4], allPowers[5], allPowers[6] };
|
static const char* subSubPowers[7] = { allPowers[0], allPowers[1], allPowers[2], allPowers[3], allPowers[4], allPowers[5], allPowers[6] };
|
||||||
static const char* zFightingOptions[3] = { "Disabled", "Consistent Vanish", "No Vanish" };
|
static const char* zFightingOptions[3] = { "Disabled", "Consistent Vanish", "No Vanish" };
|
||||||
static const char* autosaveLabels[6] = { "Off", "New Location + Major Item", "New Location + Any Item", "New Location", "Major Item", "Any Item" };
|
static const char* autosaveLabels[6] = { "Off", "New Location + Major Item", "New Location + Any Item", "New Location", "Major Item", "Any Item" };
|
||||||
static const char* FastFileSelect[5] = { "File N.1", "File N.2", "File N.3", "Zelda Map Select (require OoT Debug Mode)", "File select" };
|
|
||||||
static const char* bonkDamageValues[8] = {
|
static const char* bonkDamageValues[8] = {
|
||||||
"No Damage",
|
"No Damage",
|
||||||
"0.25 Heart",
|
"0.25 Heart",
|
||||||
|
@ -106,7 +106,6 @@ static const char* imguiScaleOptions[4] = { "Small", "Normal", "Large", "X-Large
|
|||||||
static const char* autosaveLabels[6] = { "Off", "New Location + Major Item", "New Location + Any Item", "New Location", "Major Item", "Any Item" };
|
static const char* autosaveLabels[6] = { "Off", "New Location + Major Item", "New Location + Any Item", "New Location", "Major Item", "Any Item" };
|
||||||
static const char* bootSequenceLabels[3] = { "Default", "Authentic", "File Select" };
|
static const char* bootSequenceLabels[3] = { "Default", "Authentic", "File Select" };
|
||||||
static const char* DebugSaveFileModes[3] = { "Off", "Vanilla", "Maxed" };
|
static const char* DebugSaveFileModes[3] = { "Off", "Vanilla", "Maxed" };
|
||||||
static const char* FastFileSelect[5] = { "File N.1", "File N.2", "File N.3", "Zelda Map Select (require OoT Debug Mode)", "File select" };
|
|
||||||
static const char* DekuStickCheat[3] = { "Normal", "Unbreakable", "Unbreakable + Always on Fire" };
|
static const char* DekuStickCheat[3] = { "Normal", "Unbreakable", "Unbreakable + Always on Fire" };
|
||||||
static const char* bonkDamageValues[8] = {
|
static const char* bonkDamageValues[8] = {
|
||||||
"No Damage",
|
"No Damage",
|
||||||
@ -2012,12 +2011,6 @@ void DrawDeveloperToolsMenu() {
|
|||||||
}
|
}
|
||||||
UIWidgets::PaddedEnhancementCheckbox("OoT Skulltula Debug", CVAR_DEVELOPER_TOOLS("SkulltulaDebugEnabled"), true, false);
|
UIWidgets::PaddedEnhancementCheckbox("OoT Skulltula Debug", CVAR_DEVELOPER_TOOLS("SkulltulaDebugEnabled"), true, false);
|
||||||
UIWidgets::Tooltip("Enables Skulltula Debug, when moving the cursor in the menu above various map icons (boss key, compass, map screen locations, etc) will set the GS bits in that area.\nUSE WITH CAUTION AS IT DOES NOT UPDATE THE GS COUNT.");
|
UIWidgets::Tooltip("Enables Skulltula Debug, when moving the cursor in the menu above various map icons (boss key, compass, map screen locations, etc) will set the GS bits in that area.\nUSE WITH CAUTION AS IT DOES NOT UPDATE THE GS COUNT.");
|
||||||
UIWidgets::PaddedEnhancementCheckbox("Fast File Select", CVAR_DEVELOPER_TOOLS("SkipLogoTitle"), true, false);
|
|
||||||
UIWidgets::Tooltip("Load the game to the selected menu or file\n\"Zelda Map Select\" require debug mode else you will fallback to File choose menu\nUsing a file number that don't have save will create a save file only if you toggle on \"Create a new save if none ?\" else it will bring you to the File choose menu");
|
|
||||||
if (CVarGetInteger(CVAR_DEVELOPER_TOOLS("SkipLogoTitle"), 0)) {
|
|
||||||
ImGui::Text("Loading:");
|
|
||||||
UIWidgets::EnhancementCombobox(CVAR_DEVELOPER_TOOLS("SaveFileID"), FastFileSelect, 0);
|
|
||||||
};
|
|
||||||
UIWidgets::PaddedEnhancementCheckbox("Better Debug Warp Screen", CVAR_DEVELOPER_TOOLS("BetterDebugWarpScreen"), true, false);
|
UIWidgets::PaddedEnhancementCheckbox("Better Debug Warp Screen", CVAR_DEVELOPER_TOOLS("BetterDebugWarpScreen"), true, false);
|
||||||
UIWidgets::Tooltip("Optimized debug warp screen, with the added ability to chose entrances and time of day");
|
UIWidgets::Tooltip("Optimized debug warp screen, with the added ability to chose entrances and time of day");
|
||||||
UIWidgets::PaddedEnhancementCheckbox("Debug Warp Screen Translation", CVAR_DEVELOPER_TOOLS("DebugWarpScreenTranslation"), true, false, false, "", UIWidgets::CheckboxGraphics::Cross, true);
|
UIWidgets::PaddedEnhancementCheckbox("Debug Warp Screen Translation", CVAR_DEVELOPER_TOOLS("DebugWarpScreenTranslation"), true, false, false, "", UIWidgets::CheckboxGraphics::Cross, true);
|
||||||
|
@ -752,8 +752,6 @@ static s16 sUnused = 106;
|
|||||||
|
|
||||||
static s16 sScreenFillAlpha = 255;
|
static s16 sScreenFillAlpha = 255;
|
||||||
|
|
||||||
static u8 isFastFileIdIncompatible = 0;
|
|
||||||
|
|
||||||
static Gfx sScreenFillSetupDL[] = {
|
static Gfx sScreenFillSetupDL[] = {
|
||||||
gsDPPipeSync(),
|
gsDPPipeSync(),
|
||||||
gsSPClearGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BOTH | G_FOG | G_LIGHTING | G_TEXTURE_GEN |
|
gsSPClearGeometryMode(G_ZBUFFER | G_SHADE | G_CULL_BOTH | G_FOG | G_LIGHTING | G_TEXTURE_GEN |
|
||||||
@ -3354,20 +3352,6 @@ void FileChoose_Main(GameState* thisx) {
|
|||||||
gSaveContext.skyboxTime += 0x10;
|
gSaveContext.skyboxTime += 0x10;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (CVarGetInteger(CVAR_DEVELOPER_TOOLS("SkipLogoTitle"), 0) && CVarGetInteger(CVAR_DEVELOPER_TOOLS("SaveFileID"), FASTFILE_1) <= FASTFILE_3 && !isFastFileIdIncompatible) {
|
|
||||||
if (Save_Exist(CVarGetInteger(CVAR_DEVELOPER_TOOLS("SaveFileID"), FASTFILE_1)) && FileChoose_IsSaveCompatible(Save_GetSaveMetaInfo(CVarGetInteger(CVAR_DEVELOPER_TOOLS("SaveFileID"), FASTFILE_1)))) {
|
|
||||||
this->buttonIndex = CVarGetInteger(CVAR_DEVELOPER_TOOLS("SaveFileID"), FASTFILE_1);
|
|
||||||
this->menuMode = FS_MENU_MODE_SELECT;
|
|
||||||
this->selectMode = SM_LOAD_GAME;
|
|
||||||
} else {
|
|
||||||
isFastFileIdIncompatible = 1;
|
|
||||||
}
|
|
||||||
} else if (CVarGetInteger(CVAR_DEVELOPER_TOOLS("SkipLogoTitle"), 0) && CVarGetInteger(CVAR_DEVELOPER_TOOLS("SaveFileID"), FASTFILE_1) == FASTFILE_MAP_SELECT) {
|
|
||||||
this->buttonIndex = 0xFF;
|
|
||||||
this->menuMode = FS_MENU_MODE_SELECT;
|
|
||||||
this->selectMode = SM_LOAD_GAME;
|
|
||||||
}
|
|
||||||
|
|
||||||
OPEN_DISPS(this->state.gfxCtx);
|
OPEN_DISPS(this->state.gfxCtx);
|
||||||
|
|
||||||
this->n64ddFlag = 0;
|
this->n64ddFlag = 0;
|
||||||
@ -3726,7 +3710,6 @@ void FileChoose_Init(GameState* thisx) {
|
|||||||
this->questType[0] = MIN_QUEST;
|
this->questType[0] = MIN_QUEST;
|
||||||
this->questType[1] = MIN_QUEST;
|
this->questType[1] = MIN_QUEST;
|
||||||
this->questType[2] = MIN_QUEST;
|
this->questType[2] = MIN_QUEST;
|
||||||
isFastFileIdIncompatible = 0;
|
|
||||||
CVarSetInteger(CVAR_GENERAL("OnFileSelectNameEntry"), 0);
|
CVarSetInteger(CVAR_GENERAL("OnFileSelectNameEntry"), 0);
|
||||||
|
|
||||||
SREG(30) = 1;
|
SREG(30) = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user