📄 common.cpp
字号:
//--------------------------------------------------
// Desc: Common process
// Author: artsylee/2006.8.6
//--------------------------------------------------
#include "../stdafx.h"
#include "Common.h"
#include "Input.h"
#include "Font.h"
CInput g_Input; // 有效期: Application(Init-?)
stInputInfo g_stInputInfo; // 有效期: Application(MainLoop)
GFont g_Font; // 有效期: Application(Init-?)
LPDIRECT3DDEVICE9 g_pD3DDevice = NULL; // 有效期: Application(Init-Destory)
CTextureManager* g_pTextureManager = NULL; // 有效期: Application(Init-Destory)
CFrameManager*g_pFrameManager = NULL; // 有效期: Application(Init-Destory)
CGraphics* g_pGraphics = NULL; // 有效期: Application(Init-Destory)
GUIManager* g_pGUIManager = NULL; // 有效期: Application(Init-Destory)
CGameApp* g_pGameApp = NULL; // 有效期: Application(构造-析构)
/*
g_pLog在Log.cpp中定义
// 有效期: Application(Init-Destory)
g_pMessageManager在Message.cpp中定义
// 有效期: Application(Init-Destory)
*/
bool g_bMultiSample = false;
//--------------------------------------------------
// end of this file
//--------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -