This commit is contained in:
parent
d27fbedb88
commit
b8103ac738
15 changed files with 283 additions and 114 deletions
|
@ -39,7 +39,7 @@ BOOL CMapEditDoc::OnNewDocument()
|
|||
{
|
||||
if (!CDocument::OnNewDocument()) return FALSE;
|
||||
TRACE0("New Doc\n");
|
||||
Core.NewMap();
|
||||
Core.New();
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -61,12 +61,11 @@ void CMapEditDoc::Serialize(CArchive& ar)
|
|||
{
|
||||
if (ar.IsStoring())
|
||||
{
|
||||
// TODO: add storing code here
|
||||
|
||||
Core.Save(ar.GetFile());
|
||||
}
|
||||
else
|
||||
{
|
||||
// TODO: add loading code here
|
||||
Core.Load(ar.GetFile());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -100,6 +99,12 @@ void CMapEditDoc::Render(CMapEditView *View)
|
|||
Core.Render(View);
|
||||
}
|
||||
|
||||
/*********************************************************************************/
|
||||
void CMapEditDoc::UpdateAll(CMapEditView *View)
|
||||
{
|
||||
Core.UpdateAll(View);
|
||||
}
|
||||
|
||||
/*********************************************************************************/
|
||||
void CMapEditDoc::OnStatusCursorXY(CCmdUI *pCmdUI)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue