Skip to content

Commit fe9e27b

Browse files
committed
added CreateAnimBlendAssocGroup function, also fixed tiny bits of formatting
1 parent d097ada commit fe9e27b

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

Client/sdk/game/CGame.h

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ struct SShaderReplacementStats
117117

118118
class __declspec(novtable) CGame
119119
{
120+
typedef std::unique_ptr < CAnimBlendAssocGroup > AssocGroup_type;
121+
120122
public:
121123
virtual CPools * GetPools()=0;
122124
virtual CPlayerInfo * GetPlayerInfo()=0;
@@ -192,7 +194,7 @@ class __declspec(novtable) CGame
192194
virtual void Reset ( void ) = 0;
193195
virtual void Terminate ( void ) = 0;
194196

195-
virtual BOOL InitLocalPlayer( )=0;
197+
virtual BOOL InitLocalPlayer ( ) = 0;
196198

197199
virtual float GetGravity ( void ) = 0;
198200
virtual void SetGravity ( float fGravity ) = 0;
@@ -203,13 +205,13 @@ class __declspec(novtable) CGame
203205
virtual unsigned long GetMinuteDuration ( void ) = 0;
204206
virtual void SetMinuteDuration ( unsigned long ulDelay ) = 0;
205207

206-
virtual unsigned char GetBlurLevel ( void ) = 0;
207-
virtual void SetBlurLevel ( unsigned char ucLevel ) = 0;
208+
virtual unsigned char GetBlurLevel ( void ) = 0;
209+
virtual void SetBlurLevel ( unsigned char ucLevel ) = 0;
208210

209211
virtual void SetJetpackWeaponEnabled ( eWeaponType weaponType, bool bEnabled );
210212
virtual bool GetJetpackWeaponEnabled ( eWeaponType weaponType );
211213

212-
virtual eGameVersion GetGameVersion ( void ) = 0;
214+
virtual eGameVersion GetGameVersion ( void ) = 0;
213215

214216
virtual bool IsCheatEnabled ( const char* szCheatName ) = 0;
215217
virtual bool SetCheatEnabled ( const char* szCheatName, bool bEnable ) = 0;
@@ -235,7 +237,7 @@ class __declspec(novtable) CGame
235237
virtual bool HasCreditScreenFadedOut ( void ) = 0;
236238
virtual void FlushPendingRestreamIPL ( void ) = 0;
237239
virtual void ResetModelLodDistances ( void ) = 0;
238-
virtual void ResetAlphaTransparencies ( void ) = 0;
240+
virtual void ResetAlphaTransparencies ( void ) = 0;
239241
virtual void DisableVSync ( void ) = 0;
240242

241243
virtual void OnPedContextChange ( CPed* pPedContext ) = 0;
@@ -246,6 +248,8 @@ class __declspec(novtable) CGame
246248
virtual void SetPreWeaponFireHandler ( PreWeaponFireHandler* pPreWeaponFireHandler ) = 0;
247249
virtual void SetPostWeaponFireHandler ( PostWeaponFireHandler* pPostWeaponFireHandler ) = 0;
248250
virtual void SetTaskSimpleBeHitHandler ( TaskSimpleBeHitHandler* pTaskSimpleBeHitHandler ) = 0;
251+
252+
virtual AssocGroup_type CreateAnimBlendAssocGroup ( AssocGroupId animGroup ) = 0;
249253
};
250254

251255
#endif

0 commit comments

Comments
 (0)