Skip to content

Commit

Permalink
Compile errors fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dystopm committed Jul 16, 2023
1 parent 2990bfc commit 872bd17
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions regamedll/dlls/API/CAPI_Impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -698,8 +698,8 @@ typedef IHookChainClassImpl<edict_t *, CBasePlayer> CReGameHook_CBasePlayer_EntS
typedef IHookChainRegistryClassImpl<edict_t *, CBasePlayer> CReGameHookRegistry_CBasePlayer_EntSelectSpawnPoint;

// CBasePlayerWeapon::KickBack hook
typedef IHookChainClassImpl<int, CBasePlayerWeapon, float, float, float, float, float, float, int> CReGameHook_CBasePlayerWeapon_KickBack;
typedef IHookChainRegistryClassImpl<int, CBasePlayerWeapon, float, float, float, float, float, float, int> CReGameHookRegistry_CBasePlayerWeapon_KickBack;
typedef IHookChainClassImpl<void, CBasePlayerWeapon, float, float, float, float, float, float, int> CReGameHook_CBasePlayerWeapon_KickBack;
typedef IHookChainRegistryClassImpl<void, CBasePlayerWeapon, float, float, float, float, float, float, int> CReGameHookRegistry_CBasePlayerWeapon_KickBack;

// CBasePlayerWeapon::SendWeaponAnim hook
typedef IHookChainClassImpl<void, CBasePlayerWeapon, int, int> CReGameHook_CBasePlayerWeapon_SendWeaponAnim;
Expand Down
8 changes: 4 additions & 4 deletions regamedll/pm_shared/pm_shared.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 10 additions & 10 deletions regamedll/public/regamedll/regamedll_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -557,28 +557,28 @@ typedef IHookChain<void, entvars_t *, entvars_t *> IReGameHook_ApplyMultiDamage;
typedef IHookChainRegistry<void, entvars_t *, entvars_t *> IReGameHookRegistry_ApplyMultiDamage;

// CHalfLifeMultiplay::TeamFull hook
typedef IHookChainClass<BOOL, class CHalfLifeMultiplay, int> IReGameHook_CSGameRules_TeamFull;
typedef IHookChainRegistryClass<BOOL, class CHalfLifeMultiplay, int> IReGameHookRegistry_CSGameRules_TeamFull;
typedef IHookChain<BOOL, int> IReGameHook_CSGameRules_TeamFull;
typedef IHookChainRegistry<BOOL, int> IReGameHookRegistry_CSGameRules_TeamFull;

// CHalfLifeMultiplay::TeamStacked hook
typedef IHookChainClass<BOOL, class CHalfLifeMultiplay, int, int> IReGameHook_CSGameRules_TeamStacked;
typedef IHookChainRegistryClass<BOOL, class CHalfLifeMultiplay, int, int> IReGameHookRegistry_CSGameRules_TeamStacked;
typedef IHookChain<BOOL, int, int> IReGameHook_CSGameRules_TeamStacked;
typedef IHookChainRegistry<BOOL, int, int> IReGameHookRegistry_CSGameRules_TeamStacked;

// CHalfLifeMultiplay::PlayerGotWeapon hook
typedef IHookChainClass<void, class CHalfLifeMultiplay, CBasePlayer *, CBasePlayerItem *> IReGameHook_CSGameRules_PlayerGotWeapon;
typedef IHookChainRegistryClass<void, class CHalfLifeMultiplay, CBasePlayer *, CBasePlayerItem *> IReGameHookRegistry_CSGameRules_PlayerGotWeapon;
typedef IHookChain<void, CBasePlayer *, CBasePlayerItem *> IReGameHook_CSGameRules_PlayerGotWeapon;
typedef IHookChainRegistry<void, CBasePlayer *, CBasePlayerItem *> IReGameHookRegistry_CSGameRules_PlayerGotWeapon;

// CBotManager::OnEvent hook
typedef IHookChainClass<void, CBotManager, GameEventType, CBaseEntity *, CBaseEntity *> IReGameHook_CBotManager_OnEvent;
typedef IHookChainRegistryClass<void, CBotManager, GameEventType, CBaseEntity*, CBaseEntity*> IReGameHookRegistry_CBotManager_OnEvent;
typedef IHookChain<void, GameEventType, CBaseEntity *, CBaseEntity *> IReGameHook_CBotManager_OnEvent;
typedef IHookChainRegistry<void, GameEventType, CBaseEntity*, CBaseEntity*> IReGameHookRegistry_CBotManager_OnEvent;

// CBasePlayer::EntSelectSpawnPoint hook
typedef IHookChainClass<edict_t *, CBasePlayer> IReGameHook_CBasePlayer_EntSelectSpawnPoint;
typedef IHookChainRegistryClass<edict_t *, CBasePlayer> IReGameHookRegistry_CBasePlayer_EntSelectSpawnPoint;

// CBasePlayerWeapon::KickBack hook
typedef IHookChainClass<int, CBasePlayerWeapon, float, float, float, float, float, float, int> IReGameHook_CBasePlayerWeapon_KickBack;
typedef IHookChainRegistryClass<int, CBasePlayerWeapon, float, float, float, float, float, float, int> IReGameHookRegistry_CBasePlayerWeapon_KickBack;
typedef IHookChainClass<void, CBasePlayerWeapon, float, float, float, float, float, float, int> IReGameHook_CBasePlayerWeapon_KickBack;
typedef IHookChainRegistryClass<void, CBasePlayerWeapon, float, float, float, float, float, float, int> IReGameHookRegistry_CBasePlayerWeapon_KickBack;

// CBasePlayerWeapon::SendWeaponAnim hook
typedef IHookChainClass<void, CBasePlayerWeapon, int, int> IReGameHook_CBasePlayerWeapon_SendWeaponAnim;
Expand Down

0 comments on commit 872bd17

Please sign in to comment.