about summary refs log tree commit diff stats
path: root/Source
diff options
context:
space:
mode:
authorjbzdarkid <jbzdarkid@gmail.com>2018-11-17 14:02:28 -0800
committerjbzdarkid <jbzdarkid@gmail.com>2018-11-17 14:02:28 -0800
commit1501b173c058f11e53507532ad583a6ac9c061cc (patch)
tree3066f68055fd6bcf73d9686a4980b041d74f28d6 /Source
parent1f85741c8d12d9b1fbd55b29f334de572f9eea9b (diff)
downloadwitness-tutorializer-1501b173c058f11e53507532ad583a6ac9c061cc.tar.gz
witness-tutorializer-1501b173c058f11e53507532ad583a6ac9c061cc.tar.bz2
witness-tutorializer-1501b173c058f11e53507532ad583a6ac9c061cc.zip
4.0.5
Diffstat (limited to 'Source')
-rw-r--r--Source/Memory.h6
-rw-r--r--Source/Randomizer.cpp2
-rw-r--r--Source/Source.vcxproj1
3 files changed, 7 insertions, 2 deletions
diff --git a/Source/Memory.h b/Source/Memory.h index d14d58d..23f6388 100644 --- a/Source/Memory.h +++ b/Source/Memory.h
@@ -3,8 +3,8 @@
3#include <map> 3#include <map>
4#include <windows.h> 4#include <windows.h>
5 5
6#define GLOBALS 0x5B28C0 6// #define GLOBALS 0x5B28C0
7// #define GLOBALS 0x62A080 7#define GLOBALS 0x62A080
8 8
9// https://github.com/erayarslan/WriteProcessMemory-Example 9// https://github.com/erayarslan/WriteProcessMemory-Example
10// http://stackoverflow.com/q/32798185 10// http://stackoverflow.com/q/32798185
@@ -75,4 +75,6 @@ private:
75 std::map<uintptr_t, uintptr_t> _computedAddresses; 75 std::map<uintptr_t, uintptr_t> _computedAddresses;
76 uintptr_t _baseAddress = 0; 76 uintptr_t _baseAddress = 0;
77 HANDLE _handle = nullptr; 77 HANDLE _handle = nullptr;
78
79 friend class Temp;
78}; \ No newline at end of file 80}; \ No newline at end of file
diff --git a/Source/Randomizer.cpp b/Source/Randomizer.cpp index a21b928..6f9c12b 100644 --- a/Source/Randomizer.cpp +++ b/Source/Randomizer.cpp
@@ -8,6 +8,8 @@
8 * Randomize audio logs -- Hard, seem to be unloaded some times? 8 * Randomize audio logs -- Hard, seem to be unloaded some times?
9 * Swap sounds in jungle (along with panels) -- maybe impossible 9 * Swap sounds in jungle (along with panels) -- maybe impossible
10 * Make orange 7 (all of oranges?) hard. Like big = hard. (See: HARD_MODE) 10 * Make orange 7 (all of oranges?) hard. Like big = hard. (See: HARD_MODE)
11 * Add a setting for "disable wonkavator and hotel", so that 100% runs are possible
12 * Try to stabilize challenge/doors RNG
11*/ 13*/
12#include "Memory.h" 14#include "Memory.h"
13#include "Randomizer.h" 15#include "Randomizer.h"
diff --git a/Source/Source.vcxproj b/Source/Source.vcxproj index 545753d..85ce6e1 100644 --- a/Source/Source.vcxproj +++ b/Source/Source.vcxproj
@@ -147,6 +147,7 @@
147 <ConformanceMode>true</ConformanceMode> 147 <ConformanceMode>true</ConformanceMode>
148 <LanguageStandard>stdcpp17</LanguageStandard> 148 <LanguageStandard>stdcpp17</LanguageStandard>
149 <TreatWarningAsError>true</TreatWarningAsError> 149 <TreatWarningAsError>true</TreatWarningAsError>
150 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
150 </ClCompile> 151 </ClCompile>
151 <Link> 152 <Link>
152 <SubSystem>Windows</SubSystem> 153 <SubSystem>Windows</SubSystem>