Skip to content

Commit

Permalink
Added a time saver option to allow players to instantly put items away (
Browse files Browse the repository at this point in the history
HarbourMasters#600)

* Added a time saver option to allow players to instantly put items away

Expanded the range of damage multiplication to 80 (20 hearts of damage for each quarter heart) so players can play a sudden death challenge

* The damage sliders are now comboboxes
Damage multiplication is now exponential instead of incremental

The FPS slider is now a text input

* Splitting into solely being a quick putaway PR

* Removed some leftover code from the split
  • Loading branch information
1SDANi authored and Kenix3 committed Oct 18, 2022
1 parent db962ae commit d4ccb44
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion libultraship/ImGuiImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,8 @@ namespace SohImGui {
Tooltip("The default response to Kaepora Gaebora is\nalways that you understood what he said");
EnhancementCheckbox("Fast Ocarina Playback", "gFastOcarinaPlayback");
Tooltip("Skip the part where the Ocarina playback is called when you play\na song");

EnhancementCheckbox("Instant Putaway", "gInstantPutaway");
Tooltip("Allow Link to put items away without having to wait around");
ImGui::EndMenu();
}

Expand Down Expand Up @@ -1249,6 +1250,15 @@ namespace SohImGui {

if (ImGui::SliderInt("##FPSInterpolation", &val, 20, 250, "", ImGuiSliderFlags_AlwaysClamp))
{
if (val > 250)
{
val = 250;
}
else if (val < 20)
{
val = 20;
}

CVar_SetS32(fps_cvar, val);
needs_save = true;
}
Expand Down

0 comments on commit d4ccb44

Please sign in to comment.