home *** CD-ROM | disk | FTP | other *** search
/ 3D Games - Real-time Rend…ng & Software Technology / 3D Games - Real-time Rendering & Software Technology.iso / flysdk / frontend / flyEditor / flyEditorDoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-08-31  |  2.3 KB  |  86 lines

  1. // flyEditorDoc.h : interface of the CFlyEditorDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. enum 
  6.     TREE_TYPE_GLOBAL=1,
  7.     TREE_TYPE_PLUGINS,
  8.     TREE_TYPE_OBJECTS,
  9.     TREE_TYPE_SOUNDS,
  10.     TREE_TYPE_TEXTURES,
  11.     TREE_TYPE_LIGHTMAPS,
  12.     TREE_TYPE_DLLS,
  13.     TREE_TYPE_STOCK,
  14.     TREE_TYPE_DYNOBJECT
  15. };
  16.  
  17. #if !defined(AFX_FLYEDITORDOC_H__5A2CCB29_B946_11D2_8077_D12CBD47771D__INCLUDED_)
  18. #define AFX_FLYEDITORDOC_H__5A2CCB29_B946_11D2_8077_D12CBD47771D__INCLUDED_
  19.  
  20. #if _MSC_VER > 1000
  21. #pragma once
  22. #endif // _MSC_VER > 1000
  23.  
  24. class CFlyEditorDoc : public CDocument, public flyEngine
  25. {
  26. protected: // create from serialization only
  27.     CFlyEditorDoc();
  28.     DECLARE_DYNCREATE(CFlyEditorDoc)
  29.  
  30. // Attributes
  31. public:
  32.     CImageList tree_il;
  33. // Operations
  34. public:
  35.     void find_active();
  36.  
  37. // Overrides
  38.     // ClassWizard generated virtual function overrides
  39.     //{{AFX_VIRTUAL(CFlyEditorDoc)
  40.     public:
  41.     virtual BOOL OnNewDocument();
  42.     virtual void Serialize(CArchive& ar);
  43.     virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
  44.     virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
  45.     //}}AFX_VIRTUAL
  46.  
  47. // Implementation
  48. public:
  49.     void FillTreeView();
  50.     virtual ~CFlyEditorDoc();
  51. #ifdef _DEBUG
  52.     virtual void AssertValid() const;
  53.     virtual void Dump(CDumpContext& dc) const;
  54. #endif
  55.  
  56. protected:
  57.  
  58. // Generated message map functions
  59. protected:
  60.     //{{AFX_MSG(CFlyEditorDoc)
  61.     afx_msg void OnSimmulate();
  62.     afx_msg void OnUpdateSimmulate(CCmdUI* pCmdUI);
  63.     afx_msg void OnRenderOpengl();
  64.     afx_msg void OnUpdateRenderOpengl(CCmdUI* pCmdUI);
  65.     afx_msg void OnRenderNorender();
  66.     afx_msg void OnUpdateRenderNorender(CCmdUI* pCmdUI);
  67.     afx_msg void OnFileRestart();
  68.     afx_msg void OnUpdateFileRestart(CCmdUI* pCmdUI);
  69.     afx_msg void OnViewObjscene();
  70.     afx_msg void OnUpdateViewObjscene(CCmdUI* pCmdUI);
  71.     afx_msg void OnActivate();
  72.     afx_msg void OnActive();
  73.     afx_msg void OnDestroy();
  74.     afx_msg void OnDeltaposSpin(NMHDR* pNMHDR, LRESULT* pResult);
  75.     //}}AFX_MSG
  76.     DECLARE_MESSAGE_MAP()
  77. };
  78.  
  79. /////////////////////////////////////////////////////////////////////////////
  80.  
  81. //{{AFX_INSERT_LOCATION}}
  82. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  83.  
  84. #endif // !defined(AFX_FLYEDITORDOC_H__5A2CCB29_B946_11D2_8077_D12CBD47771D__INCLUDED_)
  85.