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++
// EffectEditorDoc.cpp : implementation of the CEffectEditorDoc class
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
#include "EffectEditor.h"
|
|
|
|
#include "EffectEditorDoc.h"
|
|
|
|
#ifdef _DEBUG
|
|
#define new DEBUG_NEW
|
|
#undef THIS_FILE
|
|
static char THIS_FILE[] = __FILE__;
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CEffectEditorDoc
|
|
|
|
IMPLEMENT_DYNCREATE(CEffectEditorDoc, CDocument)
|
|
|
|
BEGIN_MESSAGE_MAP(CEffectEditorDoc, CDocument)
|
|
//{{AFX_MSG_MAP(CEffectEditorDoc)
|
|
// 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()
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CEffectEditorDoc construction/destruction
|
|
|
|
CEffectEditorDoc::CEffectEditorDoc()
|
|
{
|
|
// TODO: add one-time construction code here
|
|
|
|
}
|
|
|
|
CEffectEditorDoc::~CEffectEditorDoc()
|
|
{
|
|
}
|
|
|
|
BOOL CEffectEditorDoc::OnNewDocument()
|
|
{
|
|
if (!CDocument::OnNewDocument())
|
|
return FALSE;
|
|
|
|
// TODO: add reinitialization code here
|
|
// (SDI documents will reuse this document)
|
|
|
|
return TRUE;
|
|
}
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CEffectEditorDoc serialization
|
|
|
|
void CEffectEditorDoc::Serialize(CArchive& ar)
|
|
{
|
|
if (ar.IsStoring())
|
|
{
|
|
// TODO: add storing code here
|
|
}
|
|
else
|
|
{
|
|
// TODO: add loading code here
|
|
}
|
|
}
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CEffectEditorDoc diagnostics
|
|
|
|
#ifdef _DEBUG
|
|
void CEffectEditorDoc::AssertValid() const
|
|
{
|
|
CDocument::AssertValid();
|
|
}
|
|
|
|
void CEffectEditorDoc::Dump(CDumpContext& dc) const
|
|
{
|
|
CDocument::Dump(dc);
|
|
}
|
|
#endif //_DEBUG
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CEffectEditorDoc commands
|