diff options
author | jbzdarkid <jbzdarkid@gmail.com> | 2018-10-29 18:49:30 -0700 |
---|---|---|
committer | jbzdarkid <jbzdarkid@gmail.com> | 2018-10-29 18:49:30 -0700 |
commit | caddad668bd8fe0a2b4fbed410787f7134b8d701 (patch) | |
tree | 4057d766268b27797610818a98a4030e2d339e8f /Source/RandomizerCore.cpp | |
parent | 0e989fe5111ca879584e1594804422b9b4ae0c1a (diff) | |
download | witness-tutorializer-caddad668bd8fe0a2b4fbed410787f7134b8d701.tar.gz witness-tutorializer-caddad668bd8fe0a2b4fbed410787f7134b8d701.tar.bz2 witness-tutorializer-caddad668bd8fe0a2b4fbed410787f7134b8d701.zip |
Fix mountain elevator, fix back distance
Diffstat (limited to 'Source/RandomizerCore.cpp')
-rw-r--r-- | Source/RandomizerCore.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/RandomizerCore.cpp b/Source/RandomizerCore.cpp index 11802f5..c673e2d 100644 --- a/Source/RandomizerCore.cpp +++ b/Source/RandomizerCore.cpp | |||
@@ -30,6 +30,9 @@ void RandomizerCore::SwapPanels(int panel1, int panel2, int flags) { | |||
30 | if (flags & SWAP_AUDIO_NAMES) { | 30 | if (flags & SWAP_AUDIO_NAMES) { |
31 | offsets[AUDIO_LOG_NAME] = sizeof(void*); | 31 | offsets[AUDIO_LOG_NAME] = sizeof(void*); |
32 | } | 32 | } |
33 | if (flags & SWAP_BACK_DISTANCE) { | ||
34 | offsets[EXTRA_BACK_DISTANCE] = sizeof(float); | ||
35 | } | ||
33 | if (flags & SWAP_LINES) { | 36 | if (flags & SWAP_LINES) { |
34 | offsets[PATH_COLOR] = 16; | 37 | offsets[PATH_COLOR] = 16; |
35 | offsets[REFLECTION_PATH_COLOR] = 16; | 38 | offsets[REFLECTION_PATH_COLOR] = 16; |
@@ -52,7 +55,6 @@ void RandomizerCore::SwapPanels(int panel1, int panel2, int flags) { | |||
52 | offsets[PUSH_SYMBOL_COLORS] = sizeof(int); | 55 | offsets[PUSH_SYMBOL_COLORS] = sizeof(int); |
53 | offsets[OUTER_BACKGROUND] = 16; | 56 | offsets[OUTER_BACKGROUND] = 16; |
54 | offsets[OUTER_BACKGROUND_MODE] = sizeof(int); | 57 | offsets[OUTER_BACKGROUND_MODE] = sizeof(int); |
55 | offsets[EXTRA_BACK_DISTANCE] = sizeof(float); | ||
56 | offsets[TRACED_EDGES] = 16; | 58 | offsets[TRACED_EDGES] = 16; |
57 | offsets[AUDIO_PREFIX] = sizeof(void*); | 59 | offsets[AUDIO_PREFIX] = sizeof(void*); |
58 | // offsets[IS_CYLINDER] = sizeof(int); | 60 | // offsets[IS_CYLINDER] = sizeof(int); |