Skip to content

Commit

Permalink
miller v1.1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
angryzor committed Nov 11, 2024
1 parent 49c32a9 commit f8e8491
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v0.1.54
## Shadow Generations
* Update for Shadow Generations v1.1.0.1.


# v0.1.53
## Shadow Generations
* Ported "teleport player".
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.28)
# DevTools
project(devtools VERSION 0.1.53
project(devtools VERSION 0.1.54
DESCRIPTION "Hedgehog Engine 2 DevTools"
LANGUAGES CXX)

Expand Down
10 changes: 5 additions & 5 deletions src/ui/Context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ constexpr size_t displaySwapDeviceResizeBuffersAddr = 0x1410FB090;
constexpr size_t displaySwapDevicePresentAddr = 0x1410FAEE0;
#endif
#ifdef DEVTOOLS_TARGET_SDK_miller
constexpr size_t appResetAddr = 0x1467BAE20;
constexpr size_t appShutdownAddr = 0x1522F3600;
constexpr size_t wndProcAddr = 0x140A27340;
constexpr size_t displaySwapDeviceResizeBuffersAddr = 0x140ED9E00;
constexpr size_t displaySwapDevicePresentAddr = 0x140ED9C30;
constexpr size_t appResetAddr = 0x14006E410;
constexpr size_t appShutdownAddr = 0x14FFD9BA0;
constexpr size_t wndProcAddr = 0x140A27610;
constexpr size_t displaySwapDeviceResizeBuffersAddr = 0x140EDA0D0;
constexpr size_t displaySwapDevicePresentAddr = 0x140ED9F00;
#endif

HOOK(uint64_t, __fastcall, GameApplication_Reset, appResetAddr, hh::game::GameApplication* self) {
Expand Down
6 changes: 3 additions & 3 deletions src/ui/input/miller/Input.cpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#include <ui/input/Input.h>

HOOK(void, __fastcall, KeyboardUpdate, 0x140C1C390, hh::hid::Keyboard* self, float unkParam)
HOOK(void, __fastcall, KeyboardUpdate, 0x140C1C660, hh::hid::Keyboard* self, float unkParam)
{
if (!ShouldCaptureKeyboardInputs()) {
originalKeyboardUpdate(self, unkParam);
}
}

HOOK(void, __fastcall, MouseUpdate, 0x140C0BAD0, hh::hid::MouseWin32* self, float unkParam)
HOOK(void, __fastcall, MouseUpdate, 0x140C0BDA0, hh::hid::MouseWin32* self, float unkParam)
{
static bool capturing{};
if (ShouldCaptureMouseInputs()) {
Expand Down Expand Up @@ -39,7 +39,7 @@ HOOK(void, __fastcall, MouseUpdate, 0x140C0BAD0, hh::hid::MouseWin32* self, floa
// return originalPointingGetTarget(self, resstr, inputId);
//}

HOOK(void, __fastcall, BindMaps, 0x140A08700, hh::game::GameManager* gameManager, hh::hid::InputMapSettings* inputSettings) {
HOOK(void, __fastcall, BindMaps, 0x140A089D0, hh::game::GameManager* gameManager, hh::hid::InputMapSettings* inputSettings) {
AddDevToolsInputBindings(inputSettings);
originalBindMaps(gameManager, inputSettings);
}
Expand Down

0 comments on commit f8e8491

Please sign in to comment.