From 7b9c1ce45064fab605b77794854109ec91ce8f28 Mon Sep 17 00:00:00 2001 From: jbzdarkid Date: Sun, 21 Oct 2018 22:29:59 -0700 Subject: v0.2 --- WitnessRandomizer/WitnessRandomizer.cpp | Bin 2468 -> 8272 bytes WitnessRandomizer/WitnessRandomizer.h | 16 ++++++++++++++++ WitnessRandomizer/WitnessRandomizer.vcxproj | 1 + WitnessRandomizer/WitnessRandomizer.vcxproj.filters | 3 +++ 4 files changed, 20 insertions(+) create mode 100644 WitnessRandomizer/WitnessRandomizer.h (limited to 'WitnessRandomizer') diff --git a/WitnessRandomizer/WitnessRandomizer.cpp b/WitnessRandomizer/WitnessRandomizer.cpp index 6d00a26..cd60a2b 100644 Binary files a/WitnessRandomizer/WitnessRandomizer.cpp and b/WitnessRandomizer/WitnessRandomizer.cpp differ 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 @@ +#pragma once + +class WitnessRandomizer { +public: + int RANDOMIZE_TARGETS = 0x1; + int RANDOMIZE_DATA = 0x2; + + WitnessRandomizer() = default; + + void Randomize(std::vector panels, int flags); + +private: + void SwapPanelData(int panel1, int panel2, int finalOffset, int dataSize); + + Memory _memory = Memory("witness64_d3d11.exe"); +}; \ No newline at end of file diff --git a/WitnessRandomizer/WitnessRandomizer.vcxproj b/WitnessRandomizer/WitnessRandomizer.vcxproj index efcd38c..41387cf 100644 --- a/WitnessRandomizer/WitnessRandomizer.vcxproj +++ b/WitnessRandomizer/WitnessRandomizer.vcxproj @@ -153,6 +153,7 @@ + diff --git a/WitnessRandomizer/WitnessRandomizer.vcxproj.filters b/WitnessRandomizer/WitnessRandomizer.vcxproj.filters index dc08442..e83b7d3 100644 --- a/WitnessRandomizer/WitnessRandomizer.vcxproj.filters +++ b/WitnessRandomizer/WitnessRandomizer.vcxproj.filters @@ -21,6 +21,9 @@ Header Files + + Header Files + -- cgit 1.4.1