console.h
来自「hl2 source code. Do not use it illegal.」· C头文件 代码 · 共 24 行
H
24 行
#ifndef HK_BASE_CONSOLE_H
#define HK_BASE_CONSOLE_H
class hk_Console
{
public:
virtual void printf( const char *format_string, ...);
virtual void exit(int );
virtual void flush();
static hk_Console* get_instance();
protected:
static hk_Console* m_console;
static hk_Console m_default_console_buffer;
//: just to avoid a call to malloc
};
#define hkprintf hk_Console::get_instance()->printf
#endif /* HK_BASE_CONSOLE_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?