diff options
author | jbzdarkid <jbzdarkid@gmail.com> | 2018-10-28 17:31:56 -0700 |
---|---|---|
committer | jbzdarkid <jbzdarkid@gmail.com> | 2018-10-28 17:31:56 -0700 |
commit | 8b88d76b96cd0c2a4dcd9c777c651b204214c63b (patch) | |
tree | f00c9cc89562677e4fb7349b26f685139e70ae0d /Source | |
parent | 9043e8ae6bba632a8c34bcf4bcb76ced20a67452 (diff) | |
download | witness-tutorializer-8b88d76b96cd0c2a4dcd9c777c651b204214c63b.tar.gz witness-tutorializer-8b88d76b96cd0c2a4dcd9c777c651b204214c63b.tar.bz2 witness-tutorializer-8b88d76b96cd0c2a4dcd9c777c651b204214c63b.zip |
Probably fix pillars
Diffstat (limited to 'Source')
-rw-r--r-- | Source/Randomizer.cpp | 1 | ||||
-rw-r--r-- | Source/RandomizerCore.cpp | 1 | ||||
-rw-r--r-- | Source/RandomizerCore.h | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/Source/Randomizer.cpp b/Source/Randomizer.cpp index 6729ae7..f7f176a 100644 --- a/Source/Randomizer.cpp +++ b/Source/Randomizer.cpp | |||
@@ -1,7 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * BUGS: | 2 | * BUGS: |
3 | * Shipwreck vault is solved reversed? | 3 | * Shipwreck vault is solved reversed? |
4 | * Extra_back_distance to make pillar swaps work | ||
5 | * Verify UTM perspective? | 4 | * Verify UTM perspective? |
6 | * FEATURES: | 5 | * FEATURES: |
7 | * Challenge randomization | 6 | * Challenge randomization |
diff --git a/Source/RandomizerCore.cpp b/Source/RandomizerCore.cpp index d8d8014..04bdd11 100644 --- a/Source/RandomizerCore.cpp +++ b/Source/RandomizerCore.cpp | |||
@@ -49,6 +49,7 @@ void RandomizerCore::SwapPanels(int panel1, int panel2, int flags) { | |||
49 | offsets[PUSH_SYMBOL_COLORS] = sizeof(int); | 49 | offsets[PUSH_SYMBOL_COLORS] = sizeof(int); |
50 | offsets[OUTER_BACKGROUND] = 16; | 50 | offsets[OUTER_BACKGROUND] = 16; |
51 | offsets[OUTER_BACKGROUND_MODE] = sizeof(int); | 51 | offsets[OUTER_BACKGROUND_MODE] = sizeof(int); |
52 | offsets[EXTRA_BACK_DISTANCE] = sizeof(float); | ||
52 | offsets[TRACED_EDGES] = 16; | 53 | offsets[TRACED_EDGES] = 16; |
53 | offsets[AUDIO_PREFIX] = sizeof(void*); | 54 | offsets[AUDIO_PREFIX] = sizeof(void*); |
54 | // offsets[IS_CYLINDER] = sizeof(int); | 55 | // offsets[IS_CYLINDER] = sizeof(int); |
diff --git a/Source/RandomizerCore.h b/Source/RandomizerCore.h index 4002611..746306b 100644 --- a/Source/RandomizerCore.h +++ b/Source/RandomizerCore.h | |||
@@ -52,6 +52,7 @@ private: | |||
52 | #define PUSH_SYMBOL_COLORS 0x208 | 52 | #define PUSH_SYMBOL_COLORS 0x208 |
53 | #define OUTER_BACKGROUND 0x20C | 53 | #define OUTER_BACKGROUND 0x20C |
54 | #define OUTER_BACKGROUND_MODE 0x21C | 54 | #define OUTER_BACKGROUND_MODE 0x21C |
55 | #define EXTRA_BACK_DISTANCE 0x22C | ||
55 | #define TRACED_EDGES 0x230 | 56 | #define TRACED_EDGES 0x230 |
56 | #define AUDIO_PREFIX 0x278 | 57 | #define AUDIO_PREFIX 0x278 |
57 | #define POWER 0x2A8 | 58 | #define POWER 0x2A8 |
@@ -113,6 +114,7 @@ private: | |||
113 | #define PUSH_SYMBOL_COLORS 0x200 | 114 | #define PUSH_SYMBOL_COLORS 0x200 |
114 | #define OUTER_BACKGROUND 0x204 | 115 | #define OUTER_BACKGROUND 0x204 |
115 | #define OUTER_BACKGROUND_MODE 0x214 | 116 | #define OUTER_BACKGROUND_MODE 0x214 |
117 | #define EXTRA_BACK_DISTANCE 0x224 | ||
116 | #define TRACED_EDGES 0x228 | 118 | #define TRACED_EDGES 0x228 |
117 | #define AUDIO_PREFIX 0x270 | 119 | #define AUDIO_PREFIX 0x270 |
118 | #define POWER 0x2A0 | 120 | #define POWER 0x2A0 |