Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
85 lines
1.7 KiB
C++
85 lines
1.7 KiB
C++
// WorldCreatorDoc.cpp : implementation of the CWorldCreatorDoc class
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
#include "WorldCreator.h"
|
|
|
|
#include "WorldCreatorDoc.h"
|
|
|
|
#ifdef _DEBUG
|
|
#define new DEBUG_NEW
|
|
#undef THIS_FILE
|
|
static char THIS_FILE[] = __FILE__;
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CWorldCreatorDoc
|
|
|
|
IMPLEMENT_DYNCREATE(CWorldCreatorDoc, CDocument)
|
|
|
|
BEGIN_MESSAGE_MAP(CWorldCreatorDoc, CDocument)
|
|
//{{AFX_MSG_MAP(CWorldCreatorDoc)
|
|
// 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()
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CWorldCreatorDoc construction/destruction
|
|
|
|
CWorldCreatorDoc::CWorldCreatorDoc()
|
|
{
|
|
// TODO: add one-time construction code here
|
|
|
|
}
|
|
|
|
CWorldCreatorDoc::~CWorldCreatorDoc()
|
|
{
|
|
}
|
|
|
|
BOOL CWorldCreatorDoc::OnNewDocument()
|
|
{
|
|
if (!CDocument::OnNewDocument())
|
|
return FALSE;
|
|
|
|
// TODO: add reinitialization code here
|
|
// (SDI documents will reuse this document)
|
|
|
|
return TRUE;
|
|
}
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CWorldCreatorDoc serialization
|
|
|
|
void CWorldCreatorDoc::Serialize(CArchive& ar)
|
|
{
|
|
if (ar.IsStoring())
|
|
{
|
|
// TODO: add storing code here
|
|
}
|
|
else
|
|
{
|
|
// TODO: add loading code here
|
|
}
|
|
}
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CWorldCreatorDoc diagnostics
|
|
|
|
#ifdef _DEBUG
|
|
void CWorldCreatorDoc::AssertValid() const
|
|
{
|
|
CDocument::AssertValid();
|
|
}
|
|
|
|
void CWorldCreatorDoc::Dump(CDumpContext& dc) const
|
|
{
|
|
CDocument::Dump(dc);
|
|
}
|
|
#endif //_DEBUG
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CWorldCreatorDoc commands
|