summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--Installer/Installer.vdproj6
-rw-r--r--Source/Main.cpp2
-rw-r--r--Source/Memory.h4
-rw-r--r--Source/RandomizerCore.h1
-rw-r--r--Source/Version.h4
5 files changed, 10 insertions, 7 deletions
diff --git a/Installer/Installer.vdproj b/Installer/Installer.vdproj index de7194b..a8ae585 100644 --- a/Installer/Installer.vdproj +++ b/Installer/Installer.vdproj
@@ -162,15 +162,15 @@
162 { 162 {
163 "Name" = "8:Microsoft Visual Studio" 163 "Name" = "8:Microsoft Visual Studio"
164 "ProductName" = "8:Witness Randomizer" 164 "ProductName" = "8:Witness Randomizer"
165 "ProductCode" = "8:{332FC406-9528-47A7-9BCE-6EA315BDB863}" 165 "ProductCode" = "8:{17E1D8DB-4EB6-4165-AFBD-CBEDE030B290}"
166 "PackageCode" = "8:{41851CA8-50AA-4E86-B041-9664C9777480}" 166 "PackageCode" = "8:{BFEA7087-93FF-40C4-B533-F9A4DDD63532}"
167 "UpgradeCode" = "8:{4CB5496B-A47E-41D3-B4A7-677E29AB7513}" 167 "UpgradeCode" = "8:{4CB5496B-A47E-41D3-B4A7-677E29AB7513}"
168 "AspNetVersion" = "8:2.0.50727.0" 168 "AspNetVersion" = "8:2.0.50727.0"
169 "RestartWWWService" = "11:FALSE" 169 "RestartWWWService" = "11:FALSE"
170 "RemovePreviousVersions" = "11:TRUE" 170 "RemovePreviousVersions" = "11:TRUE"
171 "DetectNewerInstalledVersion" = "11:TRUE" 171 "DetectNewerInstalledVersion" = "11:TRUE"
172 "InstallAllUsers" = "11:FALSE" 172 "InstallAllUsers" = "11:FALSE"
173 "ProductVersion" = "8:3.0.3" 173 "ProductVersion" = "8:4.0.0"
174 "Manufacturer" = "8:jbzdarkid" 174 "Manufacturer" = "8:jbzdarkid"
175 "ARPHELPTELEPHONE" = "8:" 175 "ARPHELPTELEPHONE" = "8:"
176 "ARPHELPLINK" = "8:https://www.github.com/jbzdarkid/witness-randomizer/issues" 176 "ARPHELPLINK" = "8:https://www.github.com/jbzdarkid/witness-randomizer/issues"
diff --git a/Source/Main.cpp b/Source/Main.cpp index 8f537f2..ce0e550 100644 --- a/Source/Main.cpp +++ b/Source/Main.cpp
@@ -119,6 +119,7 @@ int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmd
119 WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON, 119 WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON,
120 160, 10, 100, 26, hwnd, (HMENU)IDC_RANDOMIZE, hInstance, NULL); 120 160, 10, 100, 26, hwnd, (HMENU)IDC_RANDOMIZE, hInstance, NULL);
121 121
122#if GLOBALS == 0x5B28C0
122 CreateWindow(L"BUTTON", L"READ", 123 CreateWindow(L"BUTTON", L"READ",
123 WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON, 124 WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON,
124 160, 100, 100, 26, hwnd, (HMENU)IDC_READ, hInstance, NULL); 125 160, 100, 100, 26, hwnd, (HMENU)IDC_READ, hInstance, NULL);
@@ -131,6 +132,7 @@ int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmd
131 CreateWindow(L"BUTTON", L"DUMP", 132 CreateWindow(L"BUTTON", L"DUMP",
132 WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON, 133 WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON,
133 160, 190, 100, 26, hwnd, (HMENU)IDC_DUMP, hInstance, NULL); 134 160, 190, 100, 26, hwnd, (HMENU)IDC_DUMP, hInstance, NULL);
135#endif
134 136
135 CreateWindow(L"BUTTON", L"", 137 CreateWindow(L"BUTTON", L"",
136 WS_VISIBLE | WS_CHILD | BS_CHECKBOX, 138 WS_VISIBLE | WS_CHILD | BS_CHECKBOX,
diff --git a/Source/Memory.h b/Source/Memory.h index 310c971..d2ab50e 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
diff --git a/Source/RandomizerCore.h b/Source/RandomizerCore.h index 82015f1..4cd4b42 100644 --- a/Source/RandomizerCore.h +++ b/Source/RandomizerCore.h
@@ -121,6 +121,7 @@ public:
121#define CYLINDER_Z1 0x2FC 121#define CYLINDER_Z1 0x2FC
122#define CYLINDER_RADIUS 0x300 122#define CYLINDER_RADIUS 0x300
123#define CURSOR_SPEED_SCALE 0x350 123#define CURSOR_SPEED_SCALE 0x350
124#define NEEDS_REDRAW 0x37C
124#define SPECULAR_ADD 0x38C 125#define SPECULAR_ADD 0x38C
125#define SPECULAR_POWER 0x390 126#define SPECULAR_POWER 0x390
126#define PATH_WIDTH_SCALE 0x39C 127#define PATH_WIDTH_SCALE 0x39C
diff --git a/Source/Version.h b/Source/Version.h index 5aac53d..05696d6 100644 --- a/Source/Version.h +++ b/Source/Version.h
@@ -3,9 +3,9 @@
3#define TO_STRING2(s) L#s 3#define TO_STRING2(s) L#s
4#define TO_STRING(s) TO_STRING2(s) 4#define TO_STRING(s) TO_STRING2(s)
5 5
6#define MAJOR 3 6#define MAJOR 4
7#define MINOR 0 7#define MINOR 0
8#define PATCH 3 8#define PATCH 0
9 9
10#define VERSION_STR TO_STRING(MAJOR) L"." TO_STRING(MINOR) L"." TO_STRING(PATCH) 10#define VERSION_STR TO_STRING(MAJOR) L"." TO_STRING(MINOR) L"." TO_STRING(PATCH)
11#define VERSION MAJOR, MINOR, PATCH 11#define VERSION MAJOR, MINOR, PATCH