Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ set(MODS
Editor
Clumsy
Noclip
#Hitmen
Hitmen
DebugCheckKeyEntityEnabler
OnlineTools
Player
Expand Down
2 changes: 1 addition & 1 deletion Mods/Hitmen/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ target_include_directories(Hitmen PRIVATE

target_link_libraries(Hitmen PRIVATE
ZHMModSDK
#GameNetworkingSockets::static
GameNetworkingSockets::static
)
4 changes: 2 additions & 2 deletions Mods/Hitmen/Src/Hitmen.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<ZHitman5>*, GetLocalPlayer, ZPlayerRegistry* th, TEntityRef<ZHitman5>* out);
// DECLARE_PLUGIN_DETOUR(Hitmen, TEntityRef<ZHitman5>*, GetLocalPlayer, ZPlayerRegistry* th, TEntityRef<ZHitman5>* out);

private:
bool m_Initialized = false;
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 2 additions & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"lz4",
"directx-headers",
"protobuf",
"gamenetworkingsockets",
"zlib",
"libuv",
{
Expand Down Expand Up @@ -41,4 +42,4 @@
"./cmake/vcpkg-ports"
]
}
}
}
Loading