From 5686fa72b21517bb32fc73b1aa2f3022f5c5875a Mon Sep 17 00:00:00 2001 From: jbzdarkid Date: Mon, 5 Nov 2018 07:25:51 -0800 Subject: Bump version, hide extract buttons --- Source/Main.cpp | 2 ++ Source/Memory.h | 4 ++-- Source/RandomizerCore.h | 1 + Source/Version.h | 4 ++-- 4 files changed, 7 insertions(+), 4 deletions(-) (limited to 'Source') 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 WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON, 160, 10, 100, 26, hwnd, (HMENU)IDC_RANDOMIZE, hInstance, NULL); +#if GLOBALS == 0x5B28C0 CreateWindow(L"BUTTON", L"READ", WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON, 160, 100, 100, 26, hwnd, (HMENU)IDC_READ, hInstance, NULL); @@ -131,6 +132,7 @@ int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmd CreateWindow(L"BUTTON", L"DUMP", WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON, 160, 190, 100, 26, hwnd, (HMENU)IDC_DUMP, hInstance, NULL); +#endif CreateWindow(L"BUTTON", L"", 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 @@ #include #include -#define GLOBALS 0x5B28C0 -//#define GLOBALS 0x62A080 +// #define GLOBALS 0x5B28C0 +#define GLOBALS 0x62A080 // https://github.com/erayarslan/WriteProcessMemory-Example // 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: #define CYLINDER_Z1 0x2FC #define CYLINDER_RADIUS 0x300 #define CURSOR_SPEED_SCALE 0x350 +#define NEEDS_REDRAW 0x37C #define SPECULAR_ADD 0x38C #define SPECULAR_POWER 0x390 #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 @@ #define TO_STRING2(s) L#s #define TO_STRING(s) TO_STRING2(s) -#define MAJOR 3 +#define MAJOR 4 #define MINOR 0 -#define PATCH 3 +#define PATCH 0 #define VERSION_STR TO_STRING(MAJOR) L"." TO_STRING(MINOR) L"." TO_STRING(PATCH) #define VERSION MAJOR, MINOR, PATCH -- cgit 1.4.1