Skip to content

Commit

Permalink
naming consistency / region definition
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed May 10, 2020
1 parent c5eb3b7 commit 0c05596
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/Etterna/Globals/MinaCalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ Hand::InitPoints(const Finger& f1, const Finger& f2)
f2[ki_is_rising].size());
}
#pragma endregion utils

#pragma region CalcBodyFunctions
float
Calc::JackLoss(const vector<float>& j, float x)
{
Expand Down Expand Up @@ -584,9 +584,8 @@ Calc::InitializeHands(const vector<NoteInfo>& NoteInfo,
// set hand specific pattern mods
SetAnchorMod(NoteInfo, fv[0], fv[1], hand.doot);
SetSequentialDownscalers(NoteInfo, fv[0], fv[1], music_rate, hand.doot);
WideWindowRollScaler(NoteInfo, fv[0], fv[1], music_rate, hand.doot);
WideWindowJumptrillScaler(
NoteInfo, fv[0], fv[1], music_rate, hand.doot);
WideRangeRollScaler(NoteInfo, fv[0], fv[1], music_rate, hand.doot);
WideRangeJumptrillScaler(NoteInfo, fv[0], fv[1], music_rate, hand.doot);
}

// these are evaluated on all columns so right and left are the same
Expand Down Expand Up @@ -964,6 +963,7 @@ Hand::StamAdjust(float x, int ss, bool debug)
stam_adj_diff[i] = diff[i] * mod;
}
}
#pragma endregion

#pragma region PatternMods
void
Expand Down Expand Up @@ -2068,7 +2068,7 @@ Calc::SetSequentialDownscalers(const vector<NoteInfo>& NoteInfo,
// of jumptrillable roll patterns, this also apparently thinks every js and hs
// pattern in existence is mashable too, probably because they are
void
Calc::WideWindowRollScaler(const vector<NoteInfo>& NoteInfo,
Calc::WideRangeRollScaler(const vector<NoteInfo>& NoteInfo,
unsigned int t1,
unsigned int t2,
float music_rate,
Expand Down
4 changes: 2 additions & 2 deletions src/Etterna/Globals/MinaCalc.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,12 +195,12 @@ class Calc
float music_rate,
std::vector<float> doot[ModCount]);

void WideWindowRollScaler(const std::vector<NoteInfo>& NoteInfo,
void WideRangeRollScaler(const std::vector<NoteInfo>& NoteInfo,
unsigned int t1,
unsigned int t2,
float music_rate,
std::vector<float> doot[ModCount]);
void WideWindowJumptrillScaler(const std::vector<NoteInfo>& NoteInfo,
void WideRangeJumptrillScaler(const std::vector<NoteInfo>& NoteInfo,
unsigned int t1,
unsigned int t2,
float music_rate,
Expand Down

0 comments on commit 0c05596

Please sign in to comment.