?? cgamerender.h
字號:
#ifndef CGameRender_h
#define CGameRender_h
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <d3d9.h>
#include "CBlockMesh.h"
#include "CBlockPoolMesh.h"
////////////////////////////////////////////////////////////////
//游戲渲染類,將邏輯層繪制出來
////////////////////////////////////////////////////////////////
class CGameRender
{
public:
CGameRender();
~CGameRender();
bool Init( IDirect3DDevice9 *pD );
void Free();
void Draw( IDirect3DDevice9 *pD );
private:
CBlockMesh m_BlockMesh;
CBlockPoolMesh m_BlockPoolMesh;
};
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -