d_console.h

来自「游戏类程序源代码---WinDoom 3D源程序.zip」· C头文件 代码 · 共 32 行

H
32
字号
// d_console.h
// This is the header file for the Doom98 console

#include <windows.h>
#include "d_event.h"


#ifndef __DOOMCON__
#define __DOOMCON__

#define CONSOLE_NAME "M_DOOM"
#define CONSOLE_FLAT "CEIL5_1"
#define CONSOLE_BORD "FLAT18"
#define CONSBORD     2
#define CONSVERS     96
#define CONSMSGS     64

extern BOOL bConsoleActive;

void CO_Ticker(void);
BOOL CO_Responder(event_t* ev);
void CO_Drawer(PBUFFER RenderBuffer); // DQ
//void CO_Drawer();
void CO_Init(void);
void CO_AddConsoleMessage(char *s);
int  CO_StringWidth(char *s);
int  CO_StringPrintable(char *s);
int CO_WriteConsoleLine(int l, char *s, BOOL wrap, PBUFFER RenderBuffer/*DQ*/);

#endif

⌨️ 快捷键说明

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