about summary refs log tree commit diff stats
path: root/Source/RandomizerCore.cpp
diff options
context:
space:
mode:
authorjbzdarkid <jbzdarkid@gmail.com>2018-10-28 16:55:57 -0700
committerjbzdarkid <jbzdarkid@gmail.com>2018-10-28 16:55:57 -0700
commit38475fd9c286667a235b6f609ccf2689949202fd (patch)
tree67ef49d8b6e08fcb817140076bf542a499235e9f /Source/RandomizerCore.cpp
parentefad3bdc35f7e18713938b0bba8bb09228aae996 (diff)
downloadwitness-tutorializer-38475fd9c286667a235b6f609ccf2689949202fd.tar.gz
witness-tutorializer-38475fd9c286667a235b6f609ccf2689949202fd.tar.bz2
witness-tutorializer-38475fd9c286667a235b6f609ccf2689949202fd.zip
Add (not working) challenge randomization, hopefully fix treehouse, fix mountain elevator?
Diffstat (limited to 'Source/RandomizerCore.cpp')
-rw-r--r--Source/RandomizerCore.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/RandomizerCore.cpp b/Source/RandomizerCore.cpp index ef0e6e6..d8d8014 100644 --- a/Source/RandomizerCore.cpp +++ b/Source/RandomizerCore.cpp
@@ -105,15 +105,6 @@ void RandomizerCore::ReassignTargets(const std::vector<int>& panels, const std::
105 for (size_t i=0; i<order.size() - 1; i++) { 105 for (size_t i=0; i<order.size() - 1; i++) {
106 // Set the target of order[i] to order[i+1], using the "real" target as determined above. 106 // Set the target of order[i] to order[i+1], using the "real" target as determined above.
107 const int panelTarget = targetToActivatePanel[order[i+1]]; 107 const int panelTarget = targetToActivatePanel[order[i+1]];
108
109 std::stringstream message;
110 message << "i=" << i;
111 message << " order[i]=" << order[i];
112 message << " order[i+1]=" << order[i+1];
113 message << " panels[order[i]]=0x" << std::hex << panels[order[i]];
114 message << " panels[order[i+1]]=0x" << std::hex << panels[order[i+1]];
115 message << " panelTarget=0x" << std::hex << panelTarget << std::endl;
116 OutputDebugStringA(message.str().c_str());
117 WritePanelData<int>(panels[order[i]], TARGET, {panelTarget}); 108 WritePanelData<int>(panels[order[i]], TARGET, {panelTarget});
118 } 109 }
119} 110}