diff options
Diffstat (limited to 'WitnessRandomizer/WitnessRandomizer.h')
-rw-r--r-- | WitnessRandomizer/WitnessRandomizer.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/WitnessRandomizer/WitnessRandomizer.h b/WitnessRandomizer/WitnessRandomizer.h index 4d4684e..26affa3 100644 --- a/WitnessRandomizer/WitnessRandomizer.h +++ b/WitnessRandomizer/WitnessRandomizer.h | |||
@@ -1,13 +1,22 @@ | |||
1 | #pragma once | 1 | #pragma once |
2 | 2 | ||
3 | int SWAP_TARGETS = 0x1; | ||
4 | int SWAP_PATHWAYS = 0x2; | ||
5 | int SWAP_STYLE = 0x40; | ||
6 | int SWAP_COLORS = 0x4; | ||
7 | int SWAP_TRACED = 0x80; | ||
8 | |||
9 | |||
10 | int SWAP_SIZE = 0x8; | ||
11 | |||
12 | |||
3 | class WitnessRandomizer { | 13 | class WitnessRandomizer { |
4 | public: | 14 | public: |
5 | int RANDOMIZE_TARGETS = 0x1; | 15 | |
6 | int RANDOMIZE_DATA = 0x2; | ||
7 | |||
8 | WitnessRandomizer() = default; | 16 | WitnessRandomizer() = default; |
9 | 17 | ||
10 | void Randomize(std::vector<int> panels, int flags); | 18 | void Randomize(std::vector<int> panels, int flags); |
19 | void SwapPanels(int panel1, int panel2, int flags); | ||
11 | 20 | ||
12 | private: | 21 | private: |
13 | void SwapPanelData(int panel1, int panel2, int finalOffset, int dataSize); | 22 | void SwapPanelData(int panel1, int panel2, int finalOffset, int dataSize); |