Skip to content

Refactor slider-aim variable names and comments#36481

Open
Givikap120 wants to merge 4 commits intoppy:pp-devfrom
Givikap120:refactor-slider-variables
Open

Refactor slider-aim variable names and comments#36481
Givikap120 wants to merge 4 commits intoppy:pp-devfrom
Givikap120:refactor-slider-variables

Conversation

@Givikap120
Copy link
Contributor

Changes:

  • LazyTravelDistance and LazyTravelTime were renamed to BaseTravelDistance and BaseTravelTime because normal TravelDistance and TravelTime are "Lazy" as well, but they don't have "Lazy" in the name, what can cause confusion.
  • TravelDistance and TravelTime now reuse the comment from their "Lazy" (now "Base") analogs, but with clarification what exactly was changed: TravelDistance includes repeat slider bonus, when TravelTime is scaled by clockrate and capped to 25ms.
  • MinimalJumpTime was renamed to the LazyJumpTime, and comment was adjusted accordingly. As this time has nothing to do with MinimalJumpDistance. Instead - it's the time to do LazyJumpDistance, so essentially just AdjustedDeltaTime - TravelTime.
  • The very long and confusing comment from MinimalJumpDistance was removed and replaced with more technical one that explains what exactly it's doing and how it's different from LazyJumpDistance.

@peppy peppy added code quality Fixes code quality. Not visible to the end user. area:difficulty labels Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:difficulty code quality Fixes code quality. Not visible to the end user. size/M

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants