📄 consolecommand.h
字号:
//--------------------------------------------------
// Desc: 控制台命令解释器
// Date: 2007.3.23 /update
// Author: artsylee
//
// Copyright (C) 2007 artsylee
//
//--------------------------------------------------
#ifndef _CONSOLECOMMAND_
#define _CONSOLECOMMAND_
#include <string>
#include <map>
#include "GameConsole.h"
using namespace std;
class CCommand
{
public:
CCommand();
~CCommand();
bool LoadCommand(const char *pFileName);
bool CreateConsole(void);
void OpenConsole(void);
void Update(void);
private:
CGameConsole m_Console;
map<string, int> m_ComMap;
map<string, string> m_ExplainMap;
};
#endif // _CONSOLECOMMAND_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -