mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 03:56:10 +08:00
SDK sync.
This commit is contained in:
@ -51,6 +51,8 @@ public:
|
||||
|
||||
virtual void OnTick();
|
||||
|
||||
virtual void Paint();
|
||||
|
||||
// Sets the current mdl
|
||||
virtual void SetMDL( MDLHandle_t handle, void *pProxyData = NULL );
|
||||
virtual void SetMDL( const char *pMDLName, void *pProxyData = NULL );
|
||||
@ -78,6 +80,7 @@ public:
|
||||
void SetSkin( int nSkin );
|
||||
void SetLookAtCamera( bool bLookAtCamera );
|
||||
void SetIgnoreDoubleClick( bool bState );
|
||||
void SetThumbnailSafeZone( bool bVisible );
|
||||
|
||||
// Bounds.
|
||||
bool GetBoundingBox( Vector &vecBoundsMin, Vector &vecBoundsMax );
|
||||
@ -103,6 +106,8 @@ public:
|
||||
|
||||
protected:
|
||||
|
||||
virtual void SetupRenderState( int nDisplayWidth, int nDisplayHeight ) OVERRIDE;
|
||||
|
||||
struct MDLData_t
|
||||
{
|
||||
CMDL m_MDL;
|
||||
@ -122,7 +127,7 @@ protected:
|
||||
|
||||
private:
|
||||
// paint it!
|
||||
void OnPaint3D();
|
||||
virtual void OnPaint3D();
|
||||
virtual void PrePaint3D( IMatRenderContext *pRenderContext ) { };
|
||||
virtual void PostPaint3D( IMatRenderContext *pRenderContext ) { };
|
||||
virtual void RenderingMergedModel( IMatRenderContext *pRenderContext, CStudioHdr *pStudioHdr, MDLHandle_t mdlHandle, matrix3x4_t *pWorldMatrix ) { };
|
||||
@ -141,6 +146,7 @@ private:
|
||||
bool m_bWireFrame : 1;
|
||||
bool m_bLookAtCamera : 1;
|
||||
bool m_bIgnoreDoubleClick : 1;
|
||||
bool m_bThumbnailSafeZone : 1;
|
||||
|
||||
float m_PoseParameters[ MAXSTUDIOPOSEPARAM ];
|
||||
};
|
||||
|
@ -101,6 +101,7 @@ private:
|
||||
|
||||
void WriteBackbackVMTFiles( const char *assetName );
|
||||
void GenerateBackpackIcons( void );
|
||||
CUtlString GetOutputFileSuffix();
|
||||
|
||||
MESSAGE_FUNC_PARAMS( OnCheckButtonChecked, "CheckButtonChecked", kv );
|
||||
MESSAGE_FUNC_PARAMS( OnItemSelected, "ItemSelected", kv );
|
||||
|
@ -131,8 +131,9 @@ protected:
|
||||
|
||||
bool m_bRenderToTexture;
|
||||
|
||||
virtual void SetupRenderState( int nDisplayWidth, int nDisplayHeight );
|
||||
|
||||
private:
|
||||
void SetupRenderState( int nDisplayWidth, int nDisplayHeight );
|
||||
void CreateDefaultLights();
|
||||
void DestroyLights();
|
||||
|
||||
|
Reference in New Issue
Block a user