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

📄 bfield.h

📁 讲mfc的书
💻 H
字号:
// bfield.h : main header file for the BFIELD application
//

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"       // main symbols

/////////////////////////////////////////////////////////////////////////////
// CBfieldApp:
// See bfield.cpp for the implementation of this class
//

class CBfieldApp : public CWinApp
{
public:
	CBfieldApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBfieldApp)
	public:
	virtual BOOL InitInstance();
	virtual int DoMessageBox(LPCTSTR lpszPrompt, UINT nType, UINT nIDPrompt);
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CBfieldApp)
	afx_msg void OnAppAbout();
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#define SETUP_MODE 0
#define PLAY_MODE 1

#define PLACED_CP 1
#define PLACED_HOW 2
#define PLACED_MIS 4
#define PLACED_TANK 8
#define PLACED_APC 16

#define LEN_CP 5
#define LEN_HOW 4
#define LEN_MIS 3
#define LEN_TANK 3
#define LEN_APC 2

#define DIR_NORTH 0
#define DIR_SOUTH 1
#define DIR_WEST 2
#define DIR_EAST 3

#define CMD_CLICK 1
#define CMD_REPLY 2
#define CMD_RESIGN 3
/////////////////////////////////////////////////////////////////////////////

⌨️ 快捷键说明

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