Complete disaster-recovery snapshot: engine/game source, game data assets, VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive. Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false, no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
81 lines
1.8 KiB
C++
81 lines
1.8 KiB
C++
// LabRatView.cpp : implementation of the CLabRatView class
|
|
//
|
|
|
|
#include "stdafx.h"
|
|
|
|
#include "LabRatview.h"
|
|
|
|
#ifdef _DEBUG
|
|
#define new DEBUG_NEW
|
|
#undef THIS_FILE
|
|
static char THIS_FILE[] = __FILE__;
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CLabRatView
|
|
|
|
IMPLEMENT_DYNCREATE(CLabRatView, CView)
|
|
|
|
BEGIN_MESSAGE_MAP(CLabRatView, CView)
|
|
//{{AFX_MSG_MAP(CLabRatView)
|
|
// 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()
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CLabRatView construction/destruction
|
|
|
|
CLabRatView::CLabRatView()
|
|
{
|
|
// TODO: add construction code here
|
|
|
|
}
|
|
|
|
CLabRatView::~CLabRatView()
|
|
{
|
|
}
|
|
|
|
BOOL CLabRatView::PreCreateWindow(CREATESTRUCT& cs)
|
|
{
|
|
// TODO: Modify the Window class or styles here by modifying
|
|
// the CREATESTRUCT cs
|
|
|
|
return CView::PreCreateWindow(cs);
|
|
}
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CLabRatView drawing
|
|
|
|
void CLabRatView::OnDraw(CDC* /*pDC*/)
|
|
{
|
|
CLabRatDoc* pDoc = GetDocument();
|
|
ASSERT_VALID(pDoc);
|
|
|
|
// TODO: add draw code for native data here
|
|
}
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CLabRatView diagnostics
|
|
|
|
#ifdef _DEBUG
|
|
void CLabRatView::AssertValid() const
|
|
{
|
|
CView::AssertValid();
|
|
}
|
|
|
|
void CLabRatView::Dump(CDumpContext& dc) const
|
|
{
|
|
CView::Dump(dc);
|
|
}
|
|
|
|
CLabRatDoc* CLabRatView::GetDocument() // non-debug version is inline
|
|
{
|
|
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CLabRatDoc)));
|
|
return (CLabRatDoc*)m_pDocument;
|
|
}
|
|
#endif //_DEBUG
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CLabRatView message handlers
|