mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-26 11:22:17 -05:00
Fix Gerudo Warrior Clothing (#1752)
* Fix Gerudo Warrior Clothing * Update soh/soh/GameMenuBar.cpp Co-authored-by: briaguya <70942617+briaguya-ai@users.noreply.github.com> Co-authored-by: briaguya <70942617+briaguya-ai@users.noreply.github.com>
This commit is contained in:
parent
7878b8f3e4
commit
42a5f46e5e
@ -298,6 +298,8 @@ namespace GameMenuBar {
|
|||||||
CVar_SetS32("gCrouchStabHammerFix", 0);
|
CVar_SetS32("gCrouchStabHammerFix", 0);
|
||||||
// Fix all crouch stab
|
// Fix all crouch stab
|
||||||
CVar_SetS32("gCrouchStabFix", 0);
|
CVar_SetS32("gCrouchStabFix", 0);
|
||||||
|
// Fix Gerudo Warrior's clothing colors
|
||||||
|
CVar_SetS32("gGerudoWarriorClothingFix", 0);
|
||||||
|
|
||||||
// Red Ganon blood
|
// Red Ganon blood
|
||||||
CVar_SetS32("gRedGanonBlood", 0);
|
CVar_SetS32("gRedGanonBlood", 0);
|
||||||
@ -1078,6 +1080,8 @@ namespace GameMenuBar {
|
|||||||
UIWidgets::PaddedEnhancementCheckbox("Remove power crouch stab", "gCrouchStabFix", true, false);
|
UIWidgets::PaddedEnhancementCheckbox("Remove power crouch stab", "gCrouchStabFix", true, false);
|
||||||
UIWidgets::Tooltip("Make crouch stabbing always do the same damage as a regular slash");
|
UIWidgets::Tooltip("Make crouch stabbing always do the same damage as a regular slash");
|
||||||
}
|
}
|
||||||
|
UIWidgets::PaddedEnhancementCheckbox("Fix Gerudo Warrior's clothing colors", "gGerudoWarriorClothingFix", true, false);
|
||||||
|
UIWidgets::Tooltip("Prevent the Gerudo Warrior's clothes changing color when changing Link's tunic or using bombs in front of her");
|
||||||
|
|
||||||
ImGui::EndMenu();
|
ImGui::EndMenu();
|
||||||
}
|
}
|
||||||
|
@ -249,8 +249,9 @@ s32 EnGe3_OverrideLimbDraw(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList,
|
|||||||
case GELDB_LIMB_HEAD:
|
case GELDB_LIMB_HEAD:
|
||||||
rot->x += this->headRot.y;
|
rot->x += this->headRot.y;
|
||||||
|
|
||||||
// This is a hack to fix the color-changing clothes this Gerudo has on N64 versions
|
|
||||||
default:
|
default:
|
||||||
|
if (CVar_GetS32("gGerudoWarriorClothingFix", 0)) {
|
||||||
|
// This is a hack to fix the color-changing clothes this Gerudo has on N64 versions
|
||||||
OPEN_DISPS(globalCtx->state.gfxCtx);
|
OPEN_DISPS(globalCtx->state.gfxCtx);
|
||||||
switch (limbIndex) {
|
switch (limbIndex) {
|
||||||
case GELDB_LIMB_NECK:
|
case GELDB_LIMB_NECK:
|
||||||
@ -271,6 +272,7 @@ s32 EnGe3_OverrideLimbDraw(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
CLOSE_DISPS(globalCtx->state.gfxCtx);
|
CLOSE_DISPS(globalCtx->state.gfxCtx);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user