about summary refs log tree commit diff stats
path: root/WitnessRandomizer/WitnessRandomizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'WitnessRandomizer/WitnessRandomizer.h')
-rw-r--r--WitnessRandomizer/WitnessRandomizer.h15
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
3int SWAP_TARGETS = 0x1;
4int SWAP_PATHWAYS = 0x2;
5int SWAP_STYLE = 0x40;
6int SWAP_COLORS = 0x4;
7int SWAP_TRACED = 0x80;
8
9
10int SWAP_SIZE = 0x8;
11
12
3class WitnessRandomizer { 13class WitnessRandomizer {
4public: 14public:
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
12private: 21private:
13 void SwapPanelData(int panel1, int panel2, int finalOffset, int dataSize); 22 void SwapPanelData(int panel1, int panel2, int finalOffset, int dataSize);