about summary refs log tree commit diff stats
path: root/Source/RandomizerCore.h
diff options
context:
space:
mode:
authorjbzdarkid <jbzdarkid@gmail.com>2018-10-29 19:57:02 -0700
committerjbzdarkid <jbzdarkid@gmail.com>2018-10-29 19:57:02 -0700
commit0d728e66b7bde350a6e5d9f0a467bba7a3433f16 (patch)
tree39856a87d48466aab7652f228f5729b43196abf7 /Source/RandomizerCore.h
parenta5d9a2eb991e387909281949c2b1f3395a7740ff (diff)
downloadwitness-tutorializer-0d728e66b7bde350a6e5d9f0a467bba7a3433f16.tar.gz
witness-tutorializer-0d728e66b7bde350a6e5d9f0a467bba7a3433f16.tar.bz2
witness-tutorializer-0d728e66b7bde350a6e5d9f0a467bba7a3433f16.zip
should be working
Diffstat (limited to 'Source/RandomizerCore.h')
-rw-r--r--Source/RandomizerCore.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/RandomizerCore.h b/Source/RandomizerCore.h index 2a8e42e..711cc89 100644 --- a/Source/RandomizerCore.h +++ b/Source/RandomizerCore.h
@@ -8,7 +8,6 @@ __declspec(selectany) int SWAP_NONE = 0x0;
8__declspec(selectany) int SWAP_TARGETS = 0x1; 8__declspec(selectany) int SWAP_TARGETS = 0x1;
9__declspec(selectany) int SWAP_LINES = 0x2; 9__declspec(selectany) int SWAP_LINES = 0x2;
10__declspec(selectany) int SWAP_AUDIO_NAMES = 0x4; 10__declspec(selectany) int SWAP_AUDIO_NAMES = 0x4;
11__declspec(selectany) int SWAP_BACK_DISTANCE = 0x8;
12 11
13class RandomizerCore 12class RandomizerCore
14{ 13{
@@ -16,7 +15,7 @@ public:
16 void Randomize(std::vector<int>& panels, int flags); 15 void Randomize(std::vector<int>& panels, int flags);
17 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);
18 void SwapPanels(int panel1, int panel2, int flags); 17 void SwapPanels(int panel1, int panel2, int flags);
19 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, std::vector<int> targets = {});
20 void ReassignNames(const std::vector<int>& panels, const std::vector<int>& order); 19 void ReassignNames(const std::vector<int>& panels, const std::vector<int>& order);
21 20
22 template <class T> 21 template <class T>
@@ -55,7 +54,6 @@ private:
55#define PUSH_SYMBOL_COLORS 0x208 54#define PUSH_SYMBOL_COLORS 0x208
56#define OUTER_BACKGROUND 0x20C 55#define OUTER_BACKGROUND 0x20C
57#define OUTER_BACKGROUND_MODE 0x21C 56#define OUTER_BACKGROUND_MODE 0x21C
58#define EXTRA_BACK_DISTANCE 0x22C
59#define TRACED_EDGES 0x230 57#define TRACED_EDGES 0x230
60#define AUDIO_PREFIX 0x278 58#define AUDIO_PREFIX 0x278
61#define POWER 0x2A8 59#define POWER 0x2A8
@@ -118,7 +116,6 @@ private:
118#define PUSH_SYMBOL_COLORS 0x200 116#define PUSH_SYMBOL_COLORS 0x200
119#define OUTER_BACKGROUND 0x204 117#define OUTER_BACKGROUND 0x204
120#define OUTER_BACKGROUND_MODE 0x214 118#define OUTER_BACKGROUND_MODE 0x214
121#define EXTRA_BACK_DISTANCE 0x224
122#define TRACED_EDGES 0x228 119#define TRACED_EDGES 0x228
123#define AUDIO_PREFIX 0x270 120#define AUDIO_PREFIX 0x270
124#define POWER 0x2A0 121#define POWER 0x2A0