From 1f2077485e580b3b1d582298281ac6272df18d8d Mon Sep 17 00:00:00 2001 From: jbzdarkid Date: Sat, 27 Oct 2018 01:27:29 -0700 Subject: /W3 clean, add .msi installer project --- WitnessRandomizer/WitnessRandomizer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'WitnessRandomizer/WitnessRandomizer.h') 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 { public: WitnessRandomizer(); - void Randomize(std::vector &panels, int flags); - void RandomizeRange(std::vector &panels, int flags, size_t startIndex, size_t endIndex); + void Randomize(const std::vector& panels, int flags); + void RandomizeRange(std::vector panels, int flags, size_t startIndex, size_t endIndex); void SwapPanels(int panel1, int panel2, int flags); void ReassignTargets(const std::vector& panels, const std::vector& order); template - std::vector ReadPanelData(int panel, int offset, int size) { + std::vector ReadPanelData(int panel, int offset, size_t size) { return _memory.ReadData({GLOBALS, 0x18, panel*8, offset}, size); } -- cgit 1.4.1