diff --git a/public/datacache/imdlcache.h b/public/datacache/imdlcache.h index 9511a2a8..ba7fcc66 100644 --- a/public/datacache/imdlcache.h +++ b/public/datacache/imdlcache.h @@ -132,6 +132,7 @@ public: // Gets at the various data associated with a MDL virtual studiohdr_t *GetStudioHdr( MDLHandle_t handle ) = 0; virtual studiohwdata_t *GetHardwareData( MDLHandle_t handle ) = 0; + virtual vcollide_t *GetVCollideScaled( MDLHandle_t handle, float flScale ) = 0; virtual vcollide_t *GetVCollide( MDLHandle_t handle ) = 0; virtual unsigned char *GetAnimBlock( MDLHandle_t handle, int nBlock ) = 0; diff --git a/public/engine/ivmodelinfo.h b/public/engine/ivmodelinfo.h index 11b918dd..2ba2e542 100644 --- a/public/engine/ivmodelinfo.h +++ b/public/engine/ivmodelinfo.h @@ -65,8 +65,10 @@ public: // Returns name of model virtual const char *GetModelName( const model_t *model ) const = 0; - virtual vcollide_t *GetVCollide( const model_t *model ) const = 0; + virtual vcollide_t *GetVCollideScaled( int modelindex, float flScale ) const = 0; + virtual vcollide_t *GetVCollideScaled( const model_t *model, float flScale ) const = 0; virtual vcollide_t *GetVCollide( int modelindex ) const = 0; + virtual vcollide_t *GetVCollide( const model_t *model ) 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;