Skip to content

Commit

Permalink
Merge pull request #2 from faceslog/add-detours-lib
Browse files Browse the repository at this point in the history
Add detours lib
  • Loading branch information
faceslog authored Jul 25, 2021
2 parents 634c143 + d2c7b36 commit 4f39b27
Show file tree
Hide file tree
Showing 136 changed files with 11 additions and 82,094 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "detours/detours"]
path = detours/detours
url = https://github.com/Nukem9/detours
17 changes: 6 additions & 11 deletions D3D9Hook/D3D9Hook.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,21 @@
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<IncludePath>C:\Users\hugo_\Documents\Dev\GitHub\d9hook\imgui;C:\Program Files %28x86%29\Microsoft DirectX SDK %28June 2010%29\Include;C:\Users\hugo_\Documents\Dev\GitHub\d9hook\detours\detours;$(IncludePath)</IncludePath>
<IncludePath>C:\Users\hugo_\Documents\Dev\GitHub\d9hook\detours\detours\detours\;C:\Users\hugo_\Documents\Dev\GitHub\d9hook\imgui;C:\Program Files %28x86%29\Microsoft DirectX SDK %28June 2010%29\Include</IncludePath>
<LibraryPath>C:\Program Files %28x86%29\Microsoft DirectX SDK %28June 2010%29\Lib\x86;C:\Users\hugo_\Documents\Dev\GitHub\d9hook\detours\x86;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>C:\Users\hugo_\Documents\Dev\GitHub\d9hook\imgui;C:\Program Files %28x86%29\Microsoft DirectX SDK %28June 2010%29\Include;C:\Users\hugo_\Documents\Dev\GitHub\d9hook\detours\detours;$(IncludePath)</IncludePath>
<IncludePath>C:\Users\hugo_\Documents\Dev\GitHub\d9hook\detours\detours\detours\;C:\Users\hugo_\Documents\Dev\GitHub\d9hook\imgui;C:\Program Files %28x86%29\Microsoft DirectX SDK %28June 2010%29\Include</IncludePath>
<LibraryPath>C:\Program Files %28x86%29\Microsoft DirectX SDK %28June 2010%29\Lib\x86;C:\Users\hugo_\Documents\Dev\GitHub\d9hook\detours\x86;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<IncludePath>C:\Users\hugo_\Documents\Dev\GitHub\d9hook\detours\detours\detours\;C:\Users\hugo_\Documents\Dev\GitHub\d9hook\imgui;C:\Program Files %28x86%29\Microsoft DirectX SDK %28June 2010%29\Include</IncludePath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>C:\Users\hugo_\Documents\Dev\GitHub\d9hook\detours\detours\detours\;C:\Users\hugo_\Documents\Dev\GitHub\d9hook\imgui;C:\Program Files %28x86%29\Microsoft DirectX SDK %28June 2010%29\Include</IncludePath>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
Expand Down Expand Up @@ -126,7 +128,7 @@
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;D3D9HOOK_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
</ClCompile>
<Link>
Expand All @@ -143,7 +145,7 @@
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;D3D9HOOK_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
</ClCompile>
<Link>
Expand All @@ -156,7 +158,6 @@
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\imgui\imgui.cpp" />
<ClCompile Include="..\imgui\imgui_demo.cpp" />
<ClCompile Include="..\imgui\imgui_draw.cpp" />
<ClCompile Include="..\imgui\imgui_impl_dx9.cpp" />
<ClCompile Include="..\imgui\imgui_impl_win32.cpp" />
Expand All @@ -170,8 +171,6 @@
<ClInclude Include="..\imgui\imconfig.h" />
<ClInclude Include="..\imgui\imgui.h" />
<ClInclude Include="..\imgui\imgui_impl_dx9.h" />
<ClInclude Include="..\imgui\imgui_impl_metal.h" />
<ClInclude Include="..\imgui\imgui_impl_osx.h" />
<ClInclude Include="..\imgui\imgui_impl_win32.h" />
<ClInclude Include="..\imgui\imgui_internal.h" />
<ClInclude Include="..\imgui\imgui_single_file.h" />
Expand All @@ -181,10 +180,6 @@
<ClInclude Include="..\imgui\imstb_truetype.h" />
<ClInclude Include="ProcManager.h" />
</ItemGroup>
<ItemGroup>
<None Include="..\imgui\imgui_impl_metal.mm" />
<None Include="..\imgui\imgui_impl_osx.mm" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
Expand Down
17 changes: 0 additions & 17 deletions D3D9Hook/D3D9Hook.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
<ClCompile Include="..\imgui\imgui.cpp">
<Filter>imgui</Filter>
</ClCompile>
<ClCompile Include="..\imgui\imgui_demo.cpp">
<Filter>imgui</Filter>
</ClCompile>
<ClCompile Include="..\imgui\imgui_draw.cpp">
<Filter>imgui</Filter>
</ClCompile>
Expand Down Expand Up @@ -74,12 +71,6 @@
<ClInclude Include="..\imgui\imstb_truetype.h">
<Filter>imgui</Filter>
</ClInclude>
<ClInclude Include="..\imgui\imgui_impl_metal.h">
<Filter>imgui</Filter>
</ClInclude>
<ClInclude Include="..\imgui\imgui_impl_osx.h">
<Filter>imgui</Filter>
</ClInclude>
<ClInclude Include="..\imgui\imgui_single_file.h">
<Filter>imgui</Filter>
</ClInclude>
Expand All @@ -90,12 +81,4 @@
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\imgui\imgui_impl_metal.mm">
<Filter>imgui</Filter>
</None>
<None Include="..\imgui\imgui_impl_osx.mm">
<Filter>imgui</Filter>
</None>
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Project > Propreties > Configuration Properties > VC++ Directories:

Inlcude Directories:
- Include the `imgui/` folder
- Include the `detours/detours/` folder (detour lib: `https://github.com/Nukem9/detours`)
- Include the `detours/detours/detours` (yes 3 times detours 😅) folder (detour lib: `https://github.com/Nukem9/detours`)
- Install and Inlcude Microsoft DirectX SDK 2010 Include folder: `https://www.microsoft.com/en-us/download/details.aspx?id=6812`

Library Directories:
Expand Down
21 changes: 0 additions & 21 deletions detours/LICENSE

This file was deleted.

5 changes: 0 additions & 5 deletions detours/README.md

This file was deleted.

1 change: 1 addition & 0 deletions detours/detours
Submodule detours added at cc5a2e
91 changes: 0 additions & 91 deletions detours/detours.sln

This file was deleted.

Loading

0 comments on commit 4f39b27

Please sign in to comment.