diff options
Diffstat (limited to 'Source/Randomizer.h')
-rw-r--r-- | Source/Randomizer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Randomizer.h b/Source/Randomizer.h index bd8895b..a416c98 100644 --- a/Source/Randomizer.h +++ b/Source/Randomizer.h | |||
@@ -11,7 +11,7 @@ public: | |||
11 | void PreventSnipes(); | 11 | void PreventSnipes(); |
12 | 12 | ||
13 | enum SWAP { | 13 | enum SWAP { |
14 | NONE = 0, | 14 | // NONE = 0, |
15 | TARGETS = 1, | 15 | TARGETS = 1, |
16 | LINES = 2, | 16 | LINES = 2, |
17 | AUDIO_NAMES = 4, | 17 | AUDIO_NAMES = 4, |
@@ -36,7 +36,8 @@ private: | |||
36 | void RandomizeAudioLogs(); | 36 | void RandomizeAudioLogs(); |
37 | 37 | ||
38 | void Randomize(std::vector<int>& panels, int flags); | 38 | void Randomize(std::vector<int>& panels, int flags); |
39 | void RandomizeRange(std::vector<int> &panels, int flags, size_t startIndex, size_t endIndex); | 39 | void Shuffle(std::vector<int>&order, size_t startIndex, size_t endIndex); |
40 | void RandomizeRange(std::vector<int> panels, int flags, size_t startIndex, size_t endIndex); | ||
40 | void SwapPanels(int panel1, int panel2, int flags); | 41 | void SwapPanels(int panel1, int panel2, int flags); |
41 | void ReassignTargets(const std::vector<int>& panels, const std::vector<int>& order, std::vector<int> targets = {}); | 42 | void ReassignTargets(const std::vector<int>& panels, const std::vector<int>& order, std::vector<int> targets = {}); |
42 | void ReassignNames(const std::vector<int>& panels, const std::vector<int>& order); | 43 | void ReassignNames(const std::vector<int>& panels, const std::vector<int>& order); |