summary refs log tree commit diff stats
path: root/Source/Randomizer.cpp
diff options
context:
space:
mode:
authorjbzdarkid <jbzdarkid@gmail.com>2018-10-29 21:17:06 -0700
committerjbzdarkid <jbzdarkid@gmail.com>2018-10-29 21:17:06 -0700
commitfb44d4fab15b3adf4422b75806c18c58ccb63811 (patch)
tree5cf2d2efbf66c3c9fe2904df50a3c3c4fe4d8ccb /Source/Randomizer.cpp
parent74a1dc1ae47e54059de03cefb1b8cd192d7b9b6b (diff)
downloadwitness-tutorializer-fb44d4fab15b3adf4422b75806c18c58ccb63811.tar.gz
witness-tutorializer-fb44d4fab15b3adf4422b75806c18c58ccb63811.tar.bz2
witness-tutorializer-fb44d4fab15b3adf4422b75806c18c58ccb63811.zip
update notes
Diffstat (limited to 'Source/Randomizer.cpp')
-rw-r--r--Source/Randomizer.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/Source/Randomizer.cpp b/Source/Randomizer.cpp index c539bba..d3487cd 100644 --- a/Source/Randomizer.cpp +++ b/Source/Randomizer.cpp
@@ -4,17 +4,13 @@
4 * Swamp <-> symmetry has non-invisible background 4 * Swamp <-> symmetry has non-invisible background
5 * Tutorial sounds don't always play 5 * Tutorial sounds don't always play
6 * FEATURES: 6 * FEATURES:
7 * Speed up some of the slow things (like swamp)
8 * Prevent re-randomization (?) 7 * Prevent re-randomization (?)
9 * Clear "Randomized" state on NG (?) -- Or on a short delay 8 * Clear "Randomized" state on NG (?) -- Or on a short delay
10 * Randomize audio logs -- Hard, seem to be unloaded some times? 9 * Randomize audio logs -- Hard, seem to be unloaded some times?
11 * Swap sounds in jungle (along with panels) -- maybe impossible 10 * Swap sounds in jungle (along with panels) -- maybe impossible
12 * Make orange 7 (all of oranges?) hard. Like big = hard. 11 * Make orange 7 (all of oranges?) hard. Like big = hard.
13 * Start the game if it isn't running? 12 * Start the game if it isn't running?
14 * SETTINGS: 13 * Stop swapping colors in desert
15 * Speeds of certain things
16 * Speedrunner mode
17 * Increase odds of mountain oranges garbage on other panels
18*/ 14*/
19#include "Memory.h" 15#include "Memory.h"
20#include "Randomizer.h" 16#include "Randomizer.h"
@@ -61,11 +57,11 @@ void Randomizer::Randomize()
61 57
62void Randomizer::AdjustSpeed() { 58void Randomizer::AdjustSpeed() {
63 // Desert Surface Final Control 59 // Desert Surface Final Control
64 _core.WritePanelData<float>(0x09F95, OPEN_RATE, {0.04}); // 4x 60 _core.WritePanelData<float>(0x09F95, OPEN_RATE, {0.04f}); // 4x
65 // Swamp Sliding Bridge 61 // Swamp Sliding Bridge
66 _core.WritePanelData<float>(0x0061A, OPEN_RATE, {0.1}); // 4x 62 _core.WritePanelData<float>(0x0061A, OPEN_RATE, {0.1f}); // 4x
67 // Mountain 2 Elevator 63 // Mountain 2 Elevator
68 _core.WritePanelData<float>(0x09EEC, OPEN_RATE, {0.1}); // 4x 64 _core.WritePanelData<float>(0x09EEC, OPEN_RATE, {0.1f}); // 4x
69} 65}
70 66
71void Randomizer::RandomizeTutorial() { 67void Randomizer::RandomizeTutorial() {