mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-23 00:28:51 -05: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
@ -850,6 +850,7 @@ namespace SohImGui {
|
||||
{
|
||||
EnhancementSliderInt("Text Speed: %dx", "##TEXTSPEED", "gTextSpeed", 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");
|
||||
Tooltip("Holding down B skips text");
|
||||
|
@ -11626,7 +11626,7 @@ void func_8084BF1C(Player* this, GlobalContext* globalCtx) {
|
||||
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->actor.wallPoly != NULL) && (this->actor.wallBgId != BGCHECK_SCENE)) {
|
||||
|
Loading…
Reference in New Issue
Block a user