about summary refs log tree commit diff stats
path: root/Source
diff options
context:
space:
mode:
authorjbzdarkid <jbzdarkid@gmail.com>2018-11-05 07:25:51 -0800
committerjbzdarkid <jbzdarkid@gmail.com>2018-11-05 07:25:51 -0800
commit5686fa72b21517bb32fc73b1aa2f3022f5c5875a (patch)
treefc900fe9d77af35f9b1b50515b0ab068e69a7a76 /Source
parenta2913485f2b072f0f3c531b9ef2e89ed066ec128 (diff)
downloadwitness-tutorializer-5686fa72b21517bb32fc73b1aa2f3022f5c5875a.tar.gz
witness-tutorializer-5686fa72b21517bb32fc73b1aa2f3022f5c5875a.tar.bz2
witness-tutorializer-5686fa72b21517bb32fc73b1aa2f3022f5c5875a.zip
Bump version, hide extract buttons
Diffstat (limited to 'Source')
-rw-r--r--Source/Main.cpp2
-rw-r--r--Source/Memory.h4
-rw-r--r--Source/RandomizerCore.h1
-rw-r--r--Source/Version.h4
4 files changed, 7 insertions, 4 deletions
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