This commit is contained in:
parent
7f8167ec20
commit
b49c9271c1
19 changed files with 2158 additions and 0 deletions
63
Utils/MapEdit/MapEdit.h
Normal file
63
Utils/MapEdit/MapEdit.h
Normal file
|
@ -0,0 +1,63 @@
|
|||
// MapEdit.h : main header file for the MAPEDIT application
|
||||
//
|
||||
|
||||
#if !defined(AFX_MAPEDIT_H__CFB33904_F24D_45E4_B777_DA7AC0133F3C__INCLUDED_)
|
||||
#define AFX_MAPEDIT_H__CFB33904_F24D_45E4_B777_DA7AC0133F3C__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
|
||||
#ifndef __AFXWIN_H__
|
||||
#error include 'stdafx.h' before including this file for PCH
|
||||
#endif
|
||||
|
||||
#include "resource.h" // main symbols
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CMapEditApp:
|
||||
// See MapEdit.cpp for the implementation of this class
|
||||
//
|
||||
class CMapEditDoc;
|
||||
class CMapEditApp : public CWinApp
|
||||
{
|
||||
public:
|
||||
CMapEditApp();
|
||||
|
||||
void SetCurrent(CMapEditDoc *Cur)
|
||||
{
|
||||
CurrentDoc=Cur;
|
||||
}
|
||||
|
||||
CMapEditDoc *GetCurrent()
|
||||
{
|
||||
return(CurrentDoc);
|
||||
}
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CMapEditApp)
|
||||
public:
|
||||
virtual BOOL InitInstance();
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
//{{AFX_MSG(CMapEditApp)
|
||||
afx_msg void OnAppAbout();
|
||||
// NOTE - the ClassWizard will add and remove member functions here.
|
||||
// DO NOT EDIT what you see in these blocks of generated code !
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
private:
|
||||
|
||||
CMapEditDoc *CurrentDoc;
|
||||
};
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
extern CMapEditApp theApp;
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_MAPEDIT_H__CFB33904_F24D_45E4_B777_DA7AC0133F3C__INCLUDED_)
|
Loading…
Add table
Add a link
Reference in a new issue