diff options
author | jbzdarkid <jbzdarkid@gmail.com> | 2018-10-27 01:27:29 -0700 |
---|---|---|
committer | jbzdarkid <jbzdarkid@gmail.com> | 2018-10-27 01:27:29 -0700 |
commit | 1f2077485e580b3b1d582298281ac6272df18d8d (patch) | |
tree | 6d1b151934137a34aa13c9bc6485581a540fc4a2 /WitnessRandomizer/WitnessRandomizer.h | |
parent | 223f7244fccfc67685fcefe889ea49414e32b715 (diff) | |
download | witness-tutorializer-1f2077485e580b3b1d582298281ac6272df18d8d.tar.gz witness-tutorializer-1f2077485e580b3b1d582298281ac6272df18d8d.tar.bz2 witness-tutorializer-1f2077485e580b3b1d582298281ac6272df18d8d.zip |
/W3 clean, add .msi installer project
Diffstat (limited to 'WitnessRandomizer/WitnessRandomizer.h')
-rw-r--r-- | WitnessRandomizer/WitnessRandomizer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/WitnessRandomizer/WitnessRandomizer.h b/WitnessRandomizer/WitnessRandomizer.h index 0e88cee..3d748d1 100644 --- a/WitnessRandomizer/WitnessRandomizer.h +++ b/WitnessRandomizer/WitnessRandomizer.h | |||
@@ -12,13 +12,13 @@ class WitnessRandomizer { | |||
12 | public: | 12 | public: |
13 | WitnessRandomizer(); | 13 | WitnessRandomizer(); |
14 | 14 | ||
15 | void Randomize(std::vector<int> &panels, int flags); | 15 | void Randomize(const std::vector<int>& panels, int flags); |
16 | void RandomizeRange(std::vector<int> &panels, int flags, size_t startIndex, size_t endIndex); | 16 | void RandomizeRange(std::vector<int> panels, int flags, size_t startIndex, size_t endIndex); |
17 | void SwapPanels(int panel1, int panel2, int flags); | 17 | void SwapPanels(int panel1, int panel2, int flags); |
18 | void ReassignTargets(const std::vector<int>& panels, const std::vector<int>& order); | 18 | void ReassignTargets(const std::vector<int>& panels, const std::vector<int>& order); |
19 | 19 | ||
20 | template <class T> | 20 | template <class T> |
21 | std::vector<T> ReadPanelData(int panel, int offset, int size) { | 21 | std::vector<T> ReadPanelData(int panel, int offset, size_t size) { |
22 | return _memory.ReadData<T>({GLOBALS, 0x18, panel*8, offset}, size); | 22 | return _memory.ReadData<T>({GLOBALS, 0x18, panel*8, offset}, size); |
23 | } | 23 | } |
24 | 24 | ||