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

📄 kouleswin.h

📁 Clear Mine扫雷游戏: 这是一个模拟扫雷游戏的vc编码程序 编码思想: 通过几个数组设定好雷区的位置
💻 H
字号:
#ifndef KOULESWIN_H
#define KOULESWIN_H


#include "DirectDrawWin.h"
#define TIMER 10

class KoulesWin : public DirectDrawWin
{
public:
	int m_fps;
	DWORD m_pc;
	void DrawFPS(CDC * pDC);
	DWORD m_tc;
	KoulesWin();
protected:
	//{{AFX_MSG(KoulesWin)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnAppExit();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	int SelectInitialDisplayMode();
	BOOL CreateCustomSurfaces();
	void DrawScene();
	void RestoreSurfaces();
	BOOL m_key[4];//uslr
private:
};


#endif

⌨️ 快捷键说明

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