From f255be24d96352c43ec5197cf1bfd6a5a7bb47be Mon Sep 17 00:00:00 2001 From: jbzdarkid Date: Mon, 22 Oct 2018 19:53:18 -0700 Subject: Updates to the list of offsets -- being more explicit now --- WitnessRandomizer/WitnessRandomizer.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'WitnessRandomizer/WitnessRandomizer.h') 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 @@ #pragma once +int SWAP_TARGETS = 0x1; +int SWAP_PATHWAYS = 0x2; +int SWAP_STYLE = 0x40; +int SWAP_COLORS = 0x4; +int SWAP_TRACED = 0x80; + + +int SWAP_SIZE = 0x8; + + class WitnessRandomizer { public: - int RANDOMIZE_TARGETS = 0x1; - int RANDOMIZE_DATA = 0x2; - + WitnessRandomizer() = default; void Randomize(std::vector panels, int flags); + void SwapPanels(int panel1, int panel2, int flags); private: void SwapPanelData(int panel1, int panel2, int finalOffset, int dataSize); -- cgit 1.4.1