home *** CD-ROM | disk | FTP | other *** search
/ Xentax forum attachments archive / xentax.7z / 8090 / ModelEdit.7z / ExportD3D_Dlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-03-08  |  1.4 KB  |  57 lines

  1. #ifndef EXPORTD3D_DLG
  2. #define EXPORTD3D_DLG
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // ExportD3D_Dlg.h : header file
  8.  
  9. /////////////////////////////////////////////////////////////////////////////
  10. // ExportD3D_Dlg dialog
  11. class CExportD3D_Dlg : public CFileDialog
  12. {
  13.     DECLARE_DYNAMIC(CExportD3D_Dlg)
  14.  
  15. public:
  16.  
  17.     enum EAnimCompressionType { NONE = 0 , RELEVANT = 1, RELEVANT_16bit = 2 , REL_PV16 = 3};
  18.  
  19.     CExportD3D_Dlg(BOOL bOpenFileDialog, // TRUE for FileOpen, FALSE for FileSaveAs
  20.         LPCTSTR lpszDefExt = NULL,
  21.         LPCTSTR lpszFileName = NULL,
  22.         DWORD dwFlags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,
  23.         LPCTSTR lpszFilter = NULL,
  24.         CWnd* pParentWnd = NULL);
  25.  
  26.     bool    m_bDoneWithUpdate;
  27.     CString    m_szFileName;
  28.     bool    m_bUseMatrixPalettes;
  29.     bool    m_bMaxBonesPerVert;
  30.     bool    m_bMaxBonesPerTri;
  31.     bool    m_bExcludeGeometry;
  32.     bool    m_bPauseAfterCompile;
  33.     uint32    m_iMaxBonesPerVert;
  34.     uint32    m_iMaxBonesPerTri;
  35.     float    m_fMinBoneWeight;
  36.     EAnimCompressionType m_CompressionType;
  37.  
  38.     bool    m_bStreamOptionsPosition;
  39.     bool    m_bStreamOptionsNormal;
  40.     bool    m_bStreamOptionsColor;
  41.     bool    m_bStreamOptionsTangent;
  42.     bool    m_bStreamOptionsUV1;
  43.     bool    m_bStreamOptionsUV2;
  44.     bool    m_bStreamOptionsUV3;
  45.     bool    m_bStreamOptionsUV4;
  46.     
  47.     virtual void OnInitDone( );    
  48.  
  49. protected:
  50.     //{{AFX_MSG(ExportD3D_Dlg)
  51.     afx_msg void OnDataChange();
  52.     //}}AFX_MSG
  53.     DECLARE_MESSAGE_MAP()
  54. };
  55.  
  56. #endif
  57.