From 872bd17ce1512e00016b894abbb894c5abe02623 Mon Sep 17 00:00:00 2001 From: dystopm Date: Sat, 15 Jul 2023 23:10:22 -0400 Subject: [PATCH] Compile errors fix --- regamedll/dlls/API/CAPI_Impl.h | 4 ++-- regamedll/pm_shared/pm_shared.h | 8 ++++---- regamedll/public/regamedll/regamedll_api.h | 20 ++++++++++---------- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/regamedll/dlls/API/CAPI_Impl.h b/regamedll/dlls/API/CAPI_Impl.h index 8c8bbf118..2ca0f9368 100644 --- a/regamedll/dlls/API/CAPI_Impl.h +++ b/regamedll/dlls/API/CAPI_Impl.h @@ -698,8 +698,8 @@ typedef IHookChainClassImpl CReGameHook_CBasePlayer_EntS typedef IHookChainRegistryClassImpl CReGameHookRegistry_CBasePlayer_EntSelectSpawnPoint; // CBasePlayerWeapon::KickBack hook -typedef IHookChainClassImpl CReGameHook_CBasePlayerWeapon_KickBack; -typedef IHookChainRegistryClassImpl CReGameHookRegistry_CBasePlayerWeapon_KickBack; +typedef IHookChainClassImpl CReGameHook_CBasePlayerWeapon_KickBack; +typedef IHookChainRegistryClassImpl CReGameHookRegistry_CBasePlayerWeapon_KickBack; // CBasePlayerWeapon::SendWeaponAnim hook typedef IHookChainClassImpl CReGameHook_CBasePlayerWeapon_SendWeaponAnim; diff --git a/regamedll/pm_shared/pm_shared.h b/regamedll/pm_shared/pm_shared.h index b34921bdc..f4d80a83b 100644 --- a/regamedll/pm_shared/pm_shared.h +++ b/regamedll/pm_shared/pm_shared.h @@ -85,10 +85,10 @@ void PM_Move_OrigFunc(struct playermove_s *ppmove, int server); void PM_AirMove_OrigFunc(int playerIndex = 0); void PM_UpdateStepSound_OrigFunc(); void PM_LadderMove_OrigFunc(physent_t *pLadder); -void PM_CheckWaterJump_Orig(); -void PM_Jump_Orig(); -void PM_Duck_Orig(); -void PM_UnDuck_Orig(); +void PM_CheckWaterJump_OrigFunc(); +void PM_Jump_OrigFunc(); +void PM_Duck_OrigFunc(); +void PM_UnDuck_OrigFunc(); #else void PM_AirMove(int playerIndex = 0); #endif diff --git a/regamedll/public/regamedll/regamedll_api.h b/regamedll/public/regamedll/regamedll_api.h index 4c06ab7e0..9bff07002 100644 --- a/regamedll/public/regamedll/regamedll_api.h +++ b/regamedll/public/regamedll/regamedll_api.h @@ -557,28 +557,28 @@ typedef IHookChain IReGameHook_ApplyMultiDamage; typedef IHookChainRegistry IReGameHookRegistry_ApplyMultiDamage; // CHalfLifeMultiplay::TeamFull hook -typedef IHookChainClass IReGameHook_CSGameRules_TeamFull; -typedef IHookChainRegistryClass IReGameHookRegistry_CSGameRules_TeamFull; +typedef IHookChain IReGameHook_CSGameRules_TeamFull; +typedef IHookChainRegistry IReGameHookRegistry_CSGameRules_TeamFull; // CHalfLifeMultiplay::TeamStacked hook -typedef IHookChainClass IReGameHook_CSGameRules_TeamStacked; -typedef IHookChainRegistryClass IReGameHookRegistry_CSGameRules_TeamStacked; +typedef IHookChain IReGameHook_CSGameRules_TeamStacked; +typedef IHookChainRegistry IReGameHookRegistry_CSGameRules_TeamStacked; // CHalfLifeMultiplay::PlayerGotWeapon hook -typedef IHookChainClass IReGameHook_CSGameRules_PlayerGotWeapon; -typedef IHookChainRegistryClass IReGameHookRegistry_CSGameRules_PlayerGotWeapon; +typedef IHookChain IReGameHook_CSGameRules_PlayerGotWeapon; +typedef IHookChainRegistry IReGameHookRegistry_CSGameRules_PlayerGotWeapon; // CBotManager::OnEvent hook -typedef IHookChainClass IReGameHook_CBotManager_OnEvent; -typedef IHookChainRegistryClass IReGameHookRegistry_CBotManager_OnEvent; +typedef IHookChain IReGameHook_CBotManager_OnEvent; +typedef IHookChainRegistry IReGameHookRegistry_CBotManager_OnEvent; // CBasePlayer::EntSelectSpawnPoint hook typedef IHookChainClass IReGameHook_CBasePlayer_EntSelectSpawnPoint; typedef IHookChainRegistryClass IReGameHookRegistry_CBasePlayer_EntSelectSpawnPoint; // CBasePlayerWeapon::KickBack hook -typedef IHookChainClass IReGameHook_CBasePlayerWeapon_KickBack; -typedef IHookChainRegistryClass IReGameHookRegistry_CBasePlayerWeapon_KickBack; +typedef IHookChainClass IReGameHook_CBasePlayerWeapon_KickBack; +typedef IHookChainRegistryClass IReGameHookRegistry_CBasePlayerWeapon_KickBack; // CBasePlayerWeapon::SendWeaponAnim hook typedef IHookChainClass IReGameHook_CBasePlayerWeapon_SendWeaponAnim;