Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
TetrisDoc.cpp
Package: eluosifangkuai.rar [view]
Upload User: apollo_111
Upload Date: 2022-08-09
Package Size: 2146k
Code Size: 2k
Category:
OpenGL program
Development Platform:
Visual C++
- // TetrisDoc.cpp : implementation of the CTetrisDoc class
- //
- #include "stdafx.h"
- #include "Tetris.h"
- #include "TetrisDoc.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CTetrisDoc
- IMPLEMENT_DYNCREATE(CTetrisDoc, CDocument)
- BEGIN_MESSAGE_MAP(CTetrisDoc, CDocument)
- //{{AFX_MSG_MAP(CTetrisDoc)
- // 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()
- /////////////////////////////////////////////////////////////////////////////
- // CTetrisDoc construction/destruction
- CTetrisDoc::CTetrisDoc()
- {
- // TODO: add one-time construction code here
- }
- CTetrisDoc::~CTetrisDoc()
- {
- }
- BOOL CTetrisDoc::OnNewDocument()
- {
- if (!CDocument::OnNewDocument())
- return FALSE;
- // TODO: add reinitialization code here
- // (SDI documents will reuse this document)
- return TRUE;
- }
- /////////////////////////////////////////////////////////////////////////////
- // CTetrisDoc serialization
- void CTetrisDoc::Serialize(CArchive& ar)
- {
- if (ar.IsStoring())
- {
- // TODO: add storing code here
- }
- else
- {
- // TODO: add loading code here
- }
- }
- /////////////////////////////////////////////////////////////////////////////
- // CTetrisDoc diagnostics
- #ifdef _DEBUG
- void CTetrisDoc::AssertValid() const
- {
- CDocument::AssertValid();
- }
- void CTetrisDoc::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CTetrisDoc commands