// MainFrm.h : interface of the CMainFrame class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_MAINFRM_H__80816DB7_EAEA_4616_8041_68216EEEF128__INCLUDED_) #define AFX_MAINFRM_H__80816DB7_EAEA_4616_8041_68216EEEF128__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "DlgStart.h" #include "MeshContainerBar.h" #include "SectorViewerBar.h" #include "DlgConvertTexture.h" #include "DlgLightmap.h" #include "DlgMakeWater.h" #include "DlgMakeFall.h" #include "DlgMakePlant.h" #include "DlgCamera.h" #include "DlgGrass.h" #include "DlgMapFileInfo.h" #include "DlgEffect.h" #include "OptimizeMesh.h" #include "DlgWeatherColor.h" #include "DlgBoid.h" class CMainFrame : public CFrameWnd { protected: // create from serialization only CMainFrame(); DECLARE_DYNCREATE(CMainFrame) // Attributes public: int m_nMode; CSectorViewerBar m_SectorViewerBar; CMeshContainerBar m_MeshContainerBar; CDlgConvertTexture *m_dlgConvertTexture; CDlgMakeWater *m_dlgMakeWater; CDlgMakeFall *m_dlgMakeFall; CDlgMakePlant *m_dlgMakePlant; CDlgGrass *m_dlgMakeGrass; BOOL m_bShowDlgLightmap; CDlgLightmap *m_dlgLightmap; CDlgCamera *m_dlgCamera; CDlgEffect *m_dlgEffect; CDlgWeatherColor *m_dlgWeatherColor; CDlgBoid *m_dlgBoid; int m_PickMode; int m_NotMove; CString m_strSaveFilename; // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMainFrame) public: virtual BOOL PreCreateWindow(CREATESTRUCT& cs); virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL); //}}AFX_VIRTUAL // Implementation public: void ContainerLoad(); void ContainerSave(); virtual ~CMainFrame(); void UnPickButton(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif // Generated message map functions public: void PropertySetup(); CDialogBar m_wndSceneEditBar; afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); //{{AFX_MSG(CMainFrame) afx_msg void OnFileNew(); afx_msg void OnFileOpen(); afx_msg void OnAppExit(); afx_msg void OnConverttexture(); afx_msg void OnCheckLightmap(); afx_msg void OnCheckOctree(); afx_msg void OnDestroy(); afx_msg void OnCheckEditterrain(); afx_msg void OnCheckWeathertime(); afx_msg void OnButtonFixweathercolor(); afx_msg void OnButtonMakewater(); afx_msg void OnButtonWaterfall(); afx_msg void OnScenesave(); afx_msg void OnButtonMaketree(); afx_msg void OnButtonWalkmode(); afx_msg void OnCheckPickhouse(); afx_msg void OnCheckPickobect(); afx_msg void OnCheckPicknode(); afx_msg void OnCheckNotmove(); afx_msg void OnVertexoptimaze(); afx_msg void OnSectorSave(); afx_msg void OnSectorLoad(); afx_msg void OnButtonSectormove(); afx_msg void OnSectormove(); afx_msg void OnButtonGeneratesectorshoaw(); afx_msg void OnOldsceneload(); afx_msg void OnButtonSectorview(); afx_msg void OnInhousemapload(); afx_msg void OnInhousemapsave(); afx_msg void OnButtonInfo(); afx_msg void OnButtonCamera(); afx_msg void OnWeather(); afx_msg void OnShowinfo(); afx_msg void OnButtonGrass(); afx_msg void OnSectorloadnowpos(); afx_msg void OnGarbegedel(); afx_msg void OnButtonEffect(); afx_msg void OnCameraview(); afx_msg void OnSmokeparticle(); afx_msg void OnWatermake(); afx_msg void OnSoundmapsave(); afx_msg void OnSoundmapload(); afx_msg void OnButtonBoid(); afx_msg void OnWeathertime(); afx_msg void OnGf3save(); afx_msg void OnGf3load(); afx_msg void OnCheckPickfix(); afx_msg void OnButtonMeshoptimize(); afx_msg void OnResave(); afx_msg void OnAmbiencelist(); afx_msg void OnButtonBsplightmode(); afx_msg void OnEffect(); afx_msg void OnClearall(); afx_msg void OnCheckTrigger(); afx_msg void OnTerraintextureautoinsert(); afx_msg void OnDds(); afx_msg void OnCheckTerrainlightmap(); afx_msg void OnButtonCharacterviewer(); afx_msg void OnButtonCharactermove(); afx_msg void OnCharactercontrol(); afx_msg void OnMakecharacter(); afx_msg void OnButtonChareffect(); afx_msg void OnButtonCameramodechange(); afx_msg void OnEsf(); afx_msg void OnInterfaceEsf(); afx_msg void OnTextesf(); afx_msg void OnTextinteresf(); afx_msg void OnCharactercamera(); afx_msg void OnMouseshow(); afx_msg void OnCharmotion(); afx_msg void OnChareff(); afx_msg void OnBsp(); afx_msg void OnSectorlightgen(); afx_msg void OnCharacterlod(); afx_msg void OnChrdir(); afx_msg void OnChrbumdir(); afx_msg void OnChrenvdir(); afx_msg void OnTerrainfix(); afx_msg void OnButtonReload(); afx_msg void OnButtonMinimap(); afx_msg void OnMenuZ3cload(); afx_msg void OnCameraset(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_MAINFRM_H__80816DB7_EAEA_4616_8041_68216EEEF128__INCLUDED_)