// Z3DEditorGeneralChrModel.h: interface for the CZ3DEditorGeneralChrModel class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_Z3DEDITORGENERALCHRMODEL_H__643AA9D3_98A5_47A7_9FD5_DB2E4CA1969F__INCLUDED_) #define AFX_Z3DEDITORGENERALCHRMODEL_H__643AA9D3_98A5_47A7_9FD5_DB2E4CA1969F__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "Z3DGeneralChrModel.h" #include "Z3DRenderable.h" class CZ3DGeneralChrModelSkeleton : public CZ3DRenderable { public: CZ3DGeneralChrModelSkeleton(); ~CZ3DGeneralChrModelSkeleton(); bool Create( CZ3DGCMDS* pGCMDS, CZ3DSkeletonObject* pSkeleton ); void Render(); void SecondRender() {} protected: D3DVERTEX* m_pVertices; long m_lVertexCount; WORD* m_pIndices; long m_lIndexCount; CZ3DSkeletonObject* m_rpSkeleton; }; class CZ3DEditorGeneralChrModel : public CZ3DGeneralChrModel { public: CZ3DEditorGeneralChrModel(); virtual ~CZ3DEditorGeneralChrModel(); bool Init( const char* szGCMDSname ); protected: CZ3DGeneralChrModelSkeleton m_SkelRender; }; #endif // !defined(AFX_Z3DEDITORGENERALCHRMODEL_H__643AA9D3_98A5_47A7_9FD5_DB2E4CA1969F__INCLUDED_)