diff --git a/CMakeLists.txt b/CMakeLists.txt index 017a53875..ffcc13160 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,7 +53,7 @@ set(MODS Editor Clumsy Noclip - #Hitmen + Hitmen DebugCheckKeyEntityEnabler OnlineTools Player diff --git a/Mods/Hitmen/CMakeLists.txt b/Mods/Hitmen/CMakeLists.txt index df629e91c..fb532e0c3 100644 --- a/Mods/Hitmen/CMakeLists.txt +++ b/Mods/Hitmen/CMakeLists.txt @@ -18,5 +18,5 @@ target_include_directories(Hitmen PRIVATE target_link_libraries(Hitmen PRIVATE ZHMModSDK - #GameNetworkingSockets::static + GameNetworkingSockets::static ) diff --git a/Mods/Hitmen/Src/Hitmen.h b/Mods/Hitmen/Src/Hitmen.h index 0fd6e7fbb..4482e44a4 100644 --- a/Mods/Hitmen/Src/Hitmen.h +++ b/Mods/Hitmen/Src/Hitmen.h @@ -40,9 +40,9 @@ class Hitmen : public IPluginInterface void OnNpcPositions(BinaryStreamReader& p_Reader); private: - DECLARE_PLUGIN_DETOUR(Hitmen, void, OnLoadScene, ZEntitySceneContext*, ZSceneData&); + DECLARE_PLUGIN_DETOUR(Hitmen, bool, OnLoadScene, ZEntitySceneContext*, SSceneInitParameters&); DECLARE_PLUGIN_DETOUR(Hitmen, void, OnClearScene, ZEntitySceneContext* th, bool p_FullyUnloadScene); - DECLARE_PLUGIN_DETOUR(Hitmen, TEntityRef*, GetLocalPlayer, ZPlayerRegistry* th, TEntityRef* out); + // DECLARE_PLUGIN_DETOUR(Hitmen, TEntityRef*, GetLocalPlayer, ZPlayerRegistry* th, TEntityRef* out); private: bool m_Initialized = false; diff --git a/README.md b/README.md index 4960d8769..31c1b8f78 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A modding SDK and mod loader for HITMAN 3. ![build status](https://github.com/OrfeasZ/ZHMModSDK/workflows/Build/badge.svg) -## Description +## Descriptio This is a community-made modding SDK and mod loader for HITMAN 3. Its purpose is to allow users to easily download and use mods, and make the creation of more complex runtime mods easier for developers. diff --git a/vcpkg.json b/vcpkg.json index ddd074549..b7ca50594 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -8,6 +8,7 @@ "lz4", "directx-headers", "protobuf", + "gamenetworkingsockets", "zlib", "libuv", { @@ -41,4 +42,4 @@ "./cmake/vcpkg-ports" ] } -} \ No newline at end of file +}