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:
Sen66 2018-04-02 02:25:25 +02:00 committed by Nicholas Hastings
parent 1bea3d3b1e
commit cdb21c5293
2 changed files with 3 additions and 0 deletions

View File

@ -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;

View File

@ -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;