mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-15 09:33:00 -07:00
Added slider to increase vine/ladder climbing speed (#375)
* Added slider to increase vine/ladder climbing speed * moved to cheats menu and made steps more granular * Fix granularity math * back to the enhancements menu!
This commit is contained in:
parent
f3dda92e78
commit
1feef9d5d6
2 changed files with 2 additions and 1 deletions
|
@ -850,6 +850,7 @@ namespace SohImGui {
|
||||||
{
|
{
|
||||||
EnhancementSliderInt("Text Speed: %dx", "##TEXTSPEED", "gTextSpeed", 1, 5, "");
|
EnhancementSliderInt("Text Speed: %dx", "##TEXTSPEED", "gTextSpeed", 1, 5, "");
|
||||||
EnhancementSliderInt("King Zora Speed: %dx", "##WEEPSPEED", "gMweepSpeed", 1, 5, "");
|
EnhancementSliderInt("King Zora Speed: %dx", "##WEEPSPEED", "gMweepSpeed", 1, 5, "");
|
||||||
|
EnhancementSliderInt("Vine/Ladder Climb speed +%d", "##CLIMBSPEED", "gClimbSpeed", 0, 12, "");
|
||||||
|
|
||||||
EnhancementCheckbox("Skip Text", "gSkipText");
|
EnhancementCheckbox("Skip Text", "gSkipText");
|
||||||
Tooltip("Holding down B skips text");
|
Tooltip("Holding down B skips text");
|
||||||
|
|
|
@ -11626,7 +11626,7 @@ void func_8084BF1C(Player* this, GlobalContext* globalCtx) {
|
||||||
phi_f2 = -1.0f;
|
phi_f2 = -1.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
this->skelAnime.playSpeed = phi_f2 * phi_f0;
|
this->skelAnime.playSpeed = phi_f2 * phi_f0 + phi_f2 * CVar_GetS32("gClimbSpeed", 0);
|
||||||
|
|
||||||
if (this->unk_850 >= 0) {
|
if (this->unk_850 >= 0) {
|
||||||
if ((this->actor.wallPoly != NULL) && (this->actor.wallBgId != BGCHECK_SCENE)) {
|
if ((this->actor.wallPoly != NULL) && (this->actor.wallBgId != BGCHECK_SCENE)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue