@@ -270,6 +270,8 @@ CClientGame::CClientGame ( bool bLocalPlay )
270270 g_pMultiplayer->SetPostWorldProcessHandler ( CClientGame::StaticPostWorldProcessHandler );
271271 g_pMultiplayer->SetPreFxRenderHandler ( CClientGame::StaticPreFxRenderHandler );
272272 g_pMultiplayer->SetPreHudRenderHandler ( CClientGame::StaticPreHudRenderHandler );
273+ g_pMultiplayer->SetCAnimBlendAssocHierConstructorHandler ( CClientGame::StaticCAnimBlendAssocHierConstructorHandler );
274+ g_pMultiplayer->SetCAnimBlendAssocDestructorHandler ( CClientGame::StaticCAnimBlendAssocDestructorHandler );
273275 g_pMultiplayer->SetAddAnimationHandler ( CClientGame::StaticAddAnimationHandler );
274276 g_pMultiplayer->SetAddAnimationAndSyncHandler ( CClientGame::StaticAddAnimationAndSyncHandler );
275277 g_pMultiplayer->SetAssocGroupCopyAnimationHandler ( CClientGame::StaticAssocGroupCopyAnimationHandler );
@@ -430,6 +432,8 @@ CClientGame::~CClientGame ( void )
430432 g_pMultiplayer->SetPostWorldProcessHandler ( NULL );
431433 g_pMultiplayer->SetPreFxRenderHandler ( NULL );
432434 g_pMultiplayer->SetPreHudRenderHandler ( NULL );
435+ g_pMultiplayer->SetCAnimBlendAssocHierConstructorHandler ( NULL );
436+ g_pMultiplayer->SetCAnimBlendAssocDestructorHandler ( NULL );
433437 g_pMultiplayer->SetAddAnimationHandler ( NULL );
434438 g_pMultiplayer->SetAddAnimationAndSyncHandler ( NULL );
435439 g_pMultiplayer->SetAssocGroupCopyAnimationHandler ( NULL );
@@ -3697,6 +3701,16 @@ bool CClientGame::StaticChokingHandler ( unsigned char ucWeaponType )
36973701 return g_pClientGame->ChokingHandler ( ucWeaponType );
36983702}
36993703
3704+ void CClientGame::StaticCAnimBlendAssocHierConstructorHandler ( CAnimBlendAssociationSAInterface * pThis, RpClump * pClump, CAnimBlendHierarchySAInterface * pAnimHierarchy )
3705+ {
3706+ g_pClientGame->CAnimBlendAssocHierConstructorHandler ( pThis, pClump, pAnimHierarchy );
3707+ }
3708+
3709+ void CClientGame::StaticCAnimBlendAssocDestructorHandler ( CAnimBlendAssociationSAInterface * pThis )
3710+ {
3711+ g_pClientGame->CAnimBlendAssocDestructorHandler ( pThis );
3712+ }
3713+
37003714CAnimBlendAssociationSAInterface * CClientGame::StaticAddAnimationHandler ( RpClump * pClump, AssocGroupId animGroup, AnimationId animID )
37013715{
37023716 return g_pClientGame->AddAnimationHandler ( pClump, animGroup, animID );
@@ -3999,6 +4013,16 @@ bool CClientGame::ChokingHandler ( unsigned char ucWeaponType )
39994013}
40004014
40014015
4016+ void CClientGame::CAnimBlendAssocHierConstructorHandler ( CAnimBlendAssociationSAInterface * pThis, RpClump * pClump, CAnimBlendHierarchySAInterface * pAnimHierarchy )
4017+ {
4018+ printf (" CClientGame::CAnimBlendAssocHierConstructorHandler called! sAnimID: %d\n " , pThis->sAnimID );
4019+ }
4020+
4021+
4022+ void CClientGame::CAnimBlendAssocDestructorHandler ( CAnimBlendAssociationSAInterface * pThis )
4023+ {
4024+ // printf("CClientGame::CAnimBlendAssocDestructorHandler called! sAnimID: %d\n", pThis->sAnimID);
4025+ }
40024026
40034027
40044028CAnimBlendAssociationSAInterface * CClientGame::AddAnimationHandler ( RpClump * pClump, AssocGroupId animGroup, AnimationId animID )
@@ -4007,19 +4031,22 @@ CAnimBlendAssociationSAInterface * CClientGame::AddAnimationHandler ( RpClump *
40074031 return nullptr ;
40084032}
40094033
4034+
40104035CAnimBlendAssociationSAInterface * CClientGame::AddAnimationAndSyncHandler ( RpClump * pClump, CAnimBlendAssociationSAInterface * pAnimAssocToSyncWith, AssocGroupId animGroup, AnimationId animID )
40114036{
40124037 // printf ( "AddAnimationAndSyncHandler called! pClump, GroupID, AnimID: %p, %d, %d\n", (void*)pClump, animGroup, animID );
40134038 return nullptr ;
40144039}
40154040
4041+
40164042typedef void (__thiscall* hCAnimBlendStaticAssociation_Init)
40174043(
40184044 CAnimBlendStaticAssociationSAInterface * pThis,
40194045 RpClump * Clump,
40204046 CAnimBlendHierarchySAInterface * pAnimBlendHierarchy
40214047);
40224048
4049+
40234050bool CClientGame::AssocGroupCopyAnimationHandler ( CAnimBlendStaticAssociationSAInterface * pOutAnimStaticAssoc, SIFPAnimations ** pOutIFPAnimations, RpClump * pClump, CAnimBlendAssocGroupSAInterface * pAnimAssocGroup, AnimationId animID )
40244051{
40254052 printf (" AssocGroupCopyAnimationHandler called!\n " );
@@ -4059,6 +4086,7 @@ bool CClientGame::AssocGroupCopyAnimationHandler ( CAnimBlendStaticAssociationSA
40594086 return isCustomAnimationToPlay;
40604087}
40614088
4089+
40624090CAnimBlendHierarchySAInterface * CClientGame::BlendAnimationHierarchyHandler ( RpClump * pClump, CAnimBlendHierarchySAInterface * pAnimHierarchy, int flags, float fBlendDelta )
40634091{
40644092 printf (" CClientGame::BlendAnimationHierarchyHandler called | pClump: %p\n " , (void *)pClump);
@@ -4108,6 +4136,7 @@ CAnimBlendHierarchySAInterface * CClientGame::BlendAnimationHierarchyHandler ( R
41084136 return pAnimHierarchy;
41094137}
41104138
4139+
41114140bool CClientGame::ProcessCollisionHandler ( CEntitySAInterface* pThisInterface, CEntitySAInterface* pOtherInterface )
41124141{
41134142 if ( pThisInterface == pOtherInterface )
0 commit comments