mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 22:33:43 -07:00
Merge branch 'ImGuiTooltips' of https://github.com/GreatArgorath/Shipwright into ImGuiTooltips
This commit is contained in:
commit
acce49d37a
3 changed files with 4 additions and 1 deletions
|
@ -696,6 +696,8 @@ namespace SohImGui {
|
||||||
Tooltip("Makes the L and R buttons in the pause menu the same color");
|
Tooltip("Makes the L and R buttons in the pause menu the same color");
|
||||||
EnhancementCheckbox("Fix Dungeon entrances", "gFixDungeonMinimapIcon");
|
EnhancementCheckbox("Fix Dungeon entrances", "gFixDungeonMinimapIcon");
|
||||||
Tooltip("Show dungeon entrances icon only when it should be");
|
Tooltip("Show dungeon entrances icon only when it should be");
|
||||||
|
EnhancementCheckbox("Fix Two Handed idle animations", "gTwoHandedIdle");
|
||||||
|
Tooltip("Makes two handed idle animation play, a seemingly finished animation that was disabled on accident in the original game");
|
||||||
|
|
||||||
EXPERIMENTAL();
|
EXPERIMENTAL();
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,7 @@ void BootCommands_Init()
|
||||||
CVar_RegisterS32("gMinimalUI", 0);
|
CVar_RegisterS32("gMinimalUI", 0);
|
||||||
CVar_RegisterS32("gRumbleEnabled", 0);
|
CVar_RegisterS32("gRumbleEnabled", 0);
|
||||||
CVar_RegisterS32("gUniformLR", 1);
|
CVar_RegisterS32("gUniformLR", 1);
|
||||||
|
CVar_RegisterS32("gTwoHandedIdle", 0);
|
||||||
CVar_RegisterS32("gNewDrops", 0);
|
CVar_RegisterS32("gNewDrops", 0);
|
||||||
CVar_RegisterS32("gVisualAgony", 0);
|
CVar_RegisterS32("gVisualAgony", 0);
|
||||||
CVar_RegisterS32("gLanguages", 0); //0 = English / 1 = German / 2 = French
|
CVar_RegisterS32("gLanguages", 0); //0 = English / 1 = German / 2 = French
|
||||||
|
|
|
@ -6981,7 +6981,7 @@ void func_808409CC(GlobalContext* globalCtx, Player* this) {
|
||||||
if (sp34 < 4) {
|
if (sp34 < 4) {
|
||||||
if (((sp34 != 0) && (sp34 != 3)) || ((this->rightHandType == PLAYER_MODELTYPE_RH_SHIELD) &&
|
if (((sp34 != 0) && (sp34 != 3)) || ((this->rightHandType == PLAYER_MODELTYPE_RH_SHIELD) &&
|
||||||
((sp34 == 3) || Player_GetSwordHeld(this)))) {
|
((sp34 == 3) || Player_GetSwordHeld(this)))) {
|
||||||
if ((sp34 == 0) && Player_HoldsTwoHandedWeapon(this)) {
|
if ((sp34 == 1) && Player_HoldsTwoHandedWeapon(this) && CVar_GetS32("gTwoHandedIdle", 1) == 1) {
|
||||||
sp34 = 4;
|
sp34 = 4;
|
||||||
}
|
}
|
||||||
sp38 = sp34 + 9;
|
sp38 = sp34 + 9;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue