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 --- Installer/Installer.vdproj | 6 +++--- Source/Main.cpp | 2 ++ Source/Memory.h | 4 ++-- Source/RandomizerCore.h | 1 + Source/Version.h | 4 ++-- 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 @@ { "Name" = "8:Microsoft Visual Studio" "ProductName" = "8:Witness Randomizer" - "ProductCode" = "8:{332FC406-9528-47A7-9BCE-6EA315BDB863}" - "PackageCode" = "8:{41851CA8-50AA-4E86-B041-9664C9777480}" + "ProductCode" = "8:{17E1D8DB-4EB6-4165-AFBD-CBEDE030B290}" + "PackageCode" = "8:{BFEA7087-93FF-40C4-B533-F9A4DDD63532}" "UpgradeCode" = "8:{4CB5496B-A47E-41D3-B4A7-677E29AB7513}" "AspNetVersion" = "8:2.0.50727.0" "RestartWWWService" = "11:FALSE" "RemovePreviousVersions" = "11:TRUE" "DetectNewerInstalledVersion" = "11:TRUE" "InstallAllUsers" = "11:FALSE" - "ProductVersion" = "8:3.0.3" + "ProductVersion" = "8:4.0.0" "Manufacturer" = "8:jbzdarkid" "ARPHELPTELEPHONE" = "8:" "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 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