about summary refs log tree commit diff stats
path: root/Source/Randomizer.cpp
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2021-08-25 13:21:38 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2021-08-25 13:21:38 -0400
commit5dbaea1fe06d95f15ec75568291d981144a072ce (patch)
treee5cf0d0f381c7a40839fb76104cfab0525b68bae /Source/Randomizer.cpp
parentc5650b69369bc08ac23a75f6bf49646f77afa37d (diff)
downloadwitness-tutorializer-5dbaea1fe06d95f15ec75568291d981144a072ce.tar.gz
witness-tutorializer-5dbaea1fe06d95f15ec75568291d981144a072ce.tar.bz2
witness-tutorializer-5dbaea1fe06d95f15ec75568291d981144a072ce.zip
Added random doors and most of Challenge
The pedestal (maze map) will probably never work because it's special. Trying to affect the sets of 3 or the shuffled four currently crashes the game because there's special logic that governs them. I may look into fixing those.
Diffstat (limited to 'Source/Randomizer.cpp')
-rw-r--r--Source/Randomizer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Randomizer.cpp b/Source/Randomizer.cpp index 26c3416..47bb8c3 100644 --- a/Source/Randomizer.cpp +++ b/Source/Randomizer.cpp
@@ -211,8 +211,7 @@ void Randomizer::Tutorialise(int panel1, int tutorialStraight) {
211 _memory->CopyEntityData<byte>(tutorialStraight, panel1, GRID_SIZE_X, sizeof(int)); 211 _memory->CopyEntityData<byte>(tutorialStraight, panel1, GRID_SIZE_X, sizeof(int));
212 _memory->CopyEntityData<byte>(tutorialStraight, panel1, GRID_SIZE_Y, sizeof(int)); 212 _memory->CopyEntityData<byte>(tutorialStraight, panel1, GRID_SIZE_Y, sizeof(int));
213 _memory->CopyEntityData<byte>(tutorialStraight, panel1, STYLE_FLAGS, sizeof(int)); 213 _memory->CopyEntityData<byte>(tutorialStraight, panel1, STYLE_FLAGS, sizeof(int));
214 214 _memory->WritePanelData<byte>(panel1, RANDOMISE_ON_POWER_ON, { 0 });
215
216 215
217 216
218 //arrays.push_back(AUDIO_PREFIX); 217 //arrays.push_back(AUDIO_PREFIX);