directxapp.cpp

来自「VC+DirectX写的飞机小游戏」· C++ 代码 · 共 38 行

CPP
38
字号
// DirectXApp.cpp: implementation of the DirectXApp class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "DirectXr.h"
#include "DirectXApp.h"
#include "DirectXFrame.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
DirectXApp DirectX;
DirectXApp::DirectXApp()
{

}

DirectXApp::~DirectXApp()
{

}

DirectXApp::InitInstance()
{
	m_pMainWnd = new DirectXFrame;
	m_pMainWnd->ShowWindow( m_nCmdShow );
	m_pMainWnd->UpdateWindow();
	return true;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?