about summary refs log tree commit diff stats
path: root/WitnessRandomizer/WitnessRandomizer.h
diff options
context:
space:
mode:
authorjbzdarkid <jbzdarkid@gmail.com>2018-10-21 22:29:59 -0700
committerjbzdarkid <jbzdarkid@gmail.com>2018-10-21 22:29:59 -0700
commit7b9c1ce45064fab605b77794854109ec91ce8f28 (patch)
tree5e545ff30ac3ff2cf26f31fc22b45d2a7069c396 /WitnessRandomizer/WitnessRandomizer.h
parentd5d5868cc4fb6ddff6ee73d9582a629b170ced64 (diff)
downloadwitness-tutorializer-7b9c1ce45064fab605b77794854109ec91ce8f28.tar.gz
witness-tutorializer-7b9c1ce45064fab605b77794854109ec91ce8f28.tar.bz2
witness-tutorializer-7b9c1ce45064fab605b77794854109ec91ce8f28.zip
v0.2
Diffstat (limited to 'WitnessRandomizer/WitnessRandomizer.h')
-rw-r--r--WitnessRandomizer/WitnessRandomizer.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/WitnessRandomizer/WitnessRandomizer.h b/WitnessRandomizer/WitnessRandomizer.h new file mode 100644 index 0000000..4d4684e --- /dev/null +++ b/WitnessRandomizer/WitnessRandomizer.h
@@ -0,0 +1,16 @@
1#pragma once
2
3class WitnessRandomizer {
4public:
5 int RANDOMIZE_TARGETS = 0x1;
6 int RANDOMIZE_DATA = 0x2;
7
8 WitnessRandomizer() = default;
9
10 void Randomize(std::vector<int> panels, int flags);
11
12private:
13 void SwapPanelData(int panel1, int panel2, int finalOffset, int dataSize);
14
15 Memory _memory = Memory("witness64_d3d11.exe");
16}; \ No newline at end of file