mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-07 02:28:22 +00:00
Fixed classes for latest csgo update 30/03/2018 (#41)
* Fixed classes for latest csgo update 30/03/2018
Valve added static prop scaling and therefore they added new virtual functiongs to get the VCollide with a scale.
* Revert "Fixed classes for latest csgo update 30/03/2018"
This reverts commit 1bd7589916.
* New functions from csgo update
Added new functions from csgo update. This time in the right order.
This commit is contained in:
parent
1bea3d3b1e
commit
cdb21c5293
@ -133,6 +133,7 @@ public:
|
||||
virtual studiohdr_t *GetStudioHdr( MDLHandle_t handle ) = 0;
|
||||
virtual studiohwdata_t *GetHardwareData( MDLHandle_t handle ) = 0;
|
||||
virtual vcollide_t *GetVCollide( MDLHandle_t handle ) = 0;
|
||||
virtual vcollide_t *GetVCollide( MDLHandle_t handle, float flScale ) = 0;
|
||||
virtual unsigned char *GetAnimBlock( MDLHandle_t handle, int nBlock ) = 0;
|
||||
|
||||
virtual bool HasAnimBlockBeenPreloaded( MDLHandle_t handle, int iAnim) = 0;
|
||||
|
||||
@ -67,6 +67,8 @@ public:
|
||||
virtual const char *GetModelName( const model_t *model ) const = 0;
|
||||
virtual vcollide_t *GetVCollide( const model_t *model ) const = 0;
|
||||
virtual vcollide_t *GetVCollide( int modelindex ) const = 0;
|
||||
virtual vcollide_t *GetVCollide( const model_t *model, float flScale ) const = 0;
|
||||
virtual vcollide_t *GetVCollide( int modelindex, float flScale ) const = 0;
|
||||
virtual void GetModelBounds( const model_t *model, Vector& mins, Vector& maxs ) const = 0;
|
||||
virtual void GetModelRenderBounds( const model_t *model, Vector& mins, Vector& maxs ) const = 0;
|
||||
virtual int GetModelFrameCount( const model_t *model ) const = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user