config.h
来自「类似小蜜蜂的游戏,但是已经3D化了,斑竹给我开通吧,我已经上传了5个了.」· C头文件 代码 · 共 45 行
H
45 行
#ifndef __CONFIG_H__
#define __CONFIG_H__
// Structures: ****************************************************************
typedef struct
{
int Number;
DEVMODE *pDevMode;
} DISPLAY_MODE_INFO;
///////////////////////////////////////////////////////////////////////////////
// Classes: *******************************************************************
typedef class
{
public:
BOOL bFirstRun;
BOOL bError;
BOOL bFullScreen;
BOOL bSound;
BOOL bMusic;
BOOL bDrawBounding;
BOOL bShowFPS;
DWORD dwMode;
char byLight; // 0 = none, 1 = flat, 2 = smooth
int iColorDepthFilter;
int iWindowWidth, iWindowHeight;
int iModeIndex;
DEVMODE DevMode;
int iScreenPixels, iScreenSize;
void Check(void);
HRESULT Load(char *);
HRESULT Save(char *);
} AS_CONFIG;
///////////////////////////////////////////////////////////////////////////////
// Variables: *****************************************************************
extern AS_CONFIG *_ASConfig;
extern DISPLAY_MODE_INFO DisplayModeInfo;
///////////////////////////////////////////////////////////////////////////////
// Functions: *****************************************************************
extern LRESULT CALLBACK ConfigProc(HWND, UINT, WPARAM, LPARAM);
///////////////////////////////////////////////////////////////////////////////
#endif // __CONFIG_H__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?