⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 d_console.h

📁 DOOM游戏的源码,研究DOS下游戏设计
💻 H
字号:
// 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     95
#define CONSMSGS     64

extern BOOL bConsoleActive;

void CO_Ticker(void);
BOOL CO_Responder(event_t* ev);
void CO_Drawer(void);
void CO_Init(void);
void CO_AddConsoleMessage(char *s);
int  CO_StringWidth(char *s);
int  CO_StringPrintable(char *s);
void CO_WriteConsoleLine(int i, char *s, BOOL wrap);

#endif

⌨️ 快捷键说明

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