mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-10 21:14:04 +00:00
ran everything though mark's newline stomper.
This was SVN commit r322.
This commit is contained in:
+78
-78
@@ -1,78 +1,78 @@
|
||||
// ScEdDoc.cpp : implementation of the CScEdDoc class
|
||||
//
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "ScEd.h"
|
||||
|
||||
#include "ScEdDoc.h"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CScEdDoc
|
||||
|
||||
IMPLEMENT_DYNCREATE(CScEdDoc, CDocument)
|
||||
|
||||
BEGIN_MESSAGE_MAP(CScEdDoc, CDocument)
|
||||
//{{AFX_MSG_MAP(CScEdDoc)
|
||||
// NOTE - the ClassWizard will add and remove mapping macros here.
|
||||
// DO NOT EDIT what you see in these blocks of generated code!
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CScEdDoc construction/destruction
|
||||
|
||||
CScEdDoc::CScEdDoc()
|
||||
{
|
||||
// TODO: add one-time construction code here
|
||||
m_bAutoDelete = FALSE;
|
||||
}
|
||||
|
||||
CScEdDoc::~CScEdDoc()
|
||||
{
|
||||
}
|
||||
|
||||
BOOL CScEdDoc::OnNewDocument()
|
||||
{
|
||||
if (!CDocument::OnNewDocument())
|
||||
return FALSE;
|
||||
|
||||
// TODO: add reinitialization code here
|
||||
// (SDI documents will reuse this document)
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CScEdDoc serialization
|
||||
|
||||
void CScEdDoc::Serialize(CArchive& ar)
|
||||
{
|
||||
if (ar.IsStoring())
|
||||
{
|
||||
// TODO: add storing code here
|
||||
}
|
||||
else
|
||||
{
|
||||
// TODO: add loading code here
|
||||
}
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CScEdDoc diagnostics
|
||||
|
||||
#ifdef _DEBUG
|
||||
void CScEdDoc::AssertValid() const
|
||||
{
|
||||
CDocument::AssertValid();
|
||||
}
|
||||
|
||||
void CScEdDoc::Dump(CDumpContext& dc) const
|
||||
{
|
||||
CDocument::Dump(dc);
|
||||
}
|
||||
#endif //_DEBUG
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CScEdDoc commands
|
||||
// ScEdDoc.cpp : implementation of the CScEdDoc class
|
||||
//
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "ScEd.h"
|
||||
|
||||
#include "ScEdDoc.h"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CScEdDoc
|
||||
|
||||
IMPLEMENT_DYNCREATE(CScEdDoc, CDocument)
|
||||
|
||||
BEGIN_MESSAGE_MAP(CScEdDoc, CDocument)
|
||||
//{{AFX_MSG_MAP(CScEdDoc)
|
||||
// NOTE - the ClassWizard will add and remove mapping macros here.
|
||||
// DO NOT EDIT what you see in these blocks of generated code!
|
||||
//}}AFX_MSG_MAP
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CScEdDoc construction/destruction
|
||||
|
||||
CScEdDoc::CScEdDoc()
|
||||
{
|
||||
// TODO: add one-time construction code here
|
||||
m_bAutoDelete = FALSE;
|
||||
}
|
||||
|
||||
CScEdDoc::~CScEdDoc()
|
||||
{
|
||||
}
|
||||
|
||||
BOOL CScEdDoc::OnNewDocument()
|
||||
{
|
||||
if (!CDocument::OnNewDocument())
|
||||
return FALSE;
|
||||
|
||||
// TODO: add reinitialization code here
|
||||
// (SDI documents will reuse this document)
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CScEdDoc serialization
|
||||
|
||||
void CScEdDoc::Serialize(CArchive& ar)
|
||||
{
|
||||
if (ar.IsStoring())
|
||||
{
|
||||
// TODO: add storing code here
|
||||
}
|
||||
else
|
||||
{
|
||||
// TODO: add loading code here
|
||||
}
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CScEdDoc diagnostics
|
||||
|
||||
#ifdef _DEBUG
|
||||
void CScEdDoc::AssertValid() const
|
||||
{
|
||||
CDocument::AssertValid();
|
||||
}
|
||||
|
||||
void CScEdDoc::Dump(CDumpContext& dc) const
|
||||
{
|
||||
CDocument::Dump(dc);
|
||||
}
|
||||
#endif //_DEBUG
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CScEdDoc commands
|
||||
|
||||
Reference in New Issue
Block a user