diff --git a/cl_dll/StudioModelRenderer.h b/cl_dll/StudioModelRenderer.h index 313ef97a..af3f4b24 100644 --- a/cl_dll/StudioModelRenderer.h +++ b/cl_dll/StudioModelRenderer.h @@ -32,9 +32,6 @@ class CStudioModelRenderer virtual int StudioDrawModel ( int flags ); virtual int StudioDrawPlayer ( int flags, struct entity_state_s *pplayer ); -private: - virtual model_t* GetPlayerModel(int player_index); - public: // Local interfaces // @@ -50,12 +47,6 @@ class CStudioModelRenderer // Find final attachment points virtual void StudioCalcAttachments ( void ); - - // Returns whether StudioAdjustViewmodelAttachments needs to be called for the viewmodel - virtual bool NeedAdjustViewmodelAdjustments(); - - // Reprojects attachments of the viewmodel if FOV is changed - virtual void StudioAdjustViewmodelAttachments(Vector &vOrigin); // Save bone matrices and names virtual void StudioSaveBones( void ); @@ -110,6 +101,15 @@ class CStudioModelRenderer // Calculate the viewmodel fov and set the OpenGL projection matrix virtual void SetViewmodelFovProjection ( void ); + // Returns whether StudioAdjustViewmodelAttachments needs to be called for the viewmodel + virtual bool NeedAdjustViewmodelAdjustments(); + + // Reprojects attachments of the viewmodel if FOV is changed + virtual void StudioAdjustViewmodelAttachments(Vector &vOrigin); + +private: + virtual model_t* GetPlayerModel(int player_index); + public: // Client clock