Skip to content

Commit

Permalink
submodule update
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirteenAG committed Mar 6, 2024
1 parent 99ed894 commit 74150b7
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
[submodule "external/FusionDxHook"]
path = external/FusionDxHook
url = https://github.com/ThirteenAG/FusionDxHook
[submodule "external/injector"]
path = external/injector
url = https://github.com/ThirteenAG/injector
2 changes: 1 addition & 1 deletion external/FusionDxHook
10 changes: 6 additions & 4 deletions premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ workspace "XboxRainDroplets"
files { "source/resources/Versioninfo.rc" }
files { "source/resources/Dropmask.rc" }
files { "external/hooking/Hooking.Patterns.h", "external/hooking/Hooking.Patterns.cpp" }
files { "external/injector/safetyhook/safetyhook.hpp", "external/injector/safetyhook/safetyhook.cpp" }
files { "external/injector/safetyhook/Zydis.h", "external/injector/safetyhook/Zydis.c" }
includedirs { "external/hooking" }
includedirs { "external/injector/include" }
includedirs { "external/injector/safetyhook" }
includedirs { "external/FusionDxHook/includes" }
includedirs { "external/FusionDxHook/includes/safetyhook" }
includedirs { "external/sire" }
files { "external/FusionDxHook/includes/safetyhook/*.*" }
files { "external/sire/sire.h" }
local dxsdk = os.getenv "DXSDK_DIR"
if dxsdk then
Expand Down Expand Up @@ -139,17 +140,18 @@ workspace "XboxRainDropletsWrapper"
files { "source/resources/Versioninfo.rc" }
files { "source/resources/Dropmask.rc" }
files { "external/hooking/Hooking.Patterns.h", "external/hooking/Hooking.Patterns.cpp" }
files { "external/injector/safetyhook/safetyhook.hpp", "external/injector/safetyhook/safetyhook.cpp" }
files { "external/injector/safetyhook/Zydis.h", "external/injector/safetyhook/Zydis.c" }
includedirs { "source" }
includedirs { "external" }
includedirs { "external/hooking" }
includedirs { "external/injector/include" }
includedirs { "external/injector/safetyhook" }
includedirs { "external/FusionDxHook/includes" }
includedirs { "external/FusionDxHook/includes/safetyhook" }
includedirs { "external/sire" }
includedirs { "source/dxsdk/dx8" }
libdirs { "source/dxsdk/dx8" }

files { "external/FusionDxHook/includes/safetyhook/*.*" }
files { "external/sire/sire.h" }


Expand Down
3 changes: 0 additions & 3 deletions source/MaxPayne3.XboxRainDroplets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
#include <injector\hooking.hpp>
#include <injector\calling.hpp>
#include <injector\utility.hpp>
#ifdef _M_IX86
#include <injector\assembly.hpp>
#endif

#include "xrd11.h"
#define FUSIONDXHOOK_INCLUDE_D3D9 1
Expand All @@ -15,7 +13,6 @@
#define DELAYED_BIND 2000ms
#include "FusionDxHook.h"


//static auto ppDevice = *hook::get_pattern<uint32_t>("68 ? ? ? ? 68 ? ? ? ? 8B D7 83 CA 10", 1);
uint32_t jmpaddr;
void __declspec(naked) sub_12D4470()
Expand Down
2 changes: 0 additions & 2 deletions source/xrd.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ typedef IDirect3DIndexBuffer9 IDirect3DIndexBuffer;
#include <injector\hooking.hpp>
#include <injector\calling.hpp>
#include <injector\utility.hpp>
#ifdef _M_IX86
#include <injector\assembly.hpp>
#endif
#include <filesystem>
#include <algorithm>
#include <thread>
Expand Down

0 comments on commit 74150b7

Please sign in to comment.