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

📄 boxmanwnd.h

📁 经典游戏程序设计:visual c++ 上的推箱子源代码
💻 H
字号:
/*++

Copyright (c) AFE(Active-Free-Elegance)

Module Name:

     BoxManWnd.h

Abstract:

The Main Frame Class of the Game.

Author:

    Weijian Luo (Arthur Luo)   15-Jun-2005

	E-mail: skybluehacker@yahoo.com.cn

Revision History:      1.0

--*/
#if !defined(AFX_BOXMANWND_H__7828B348_6D29_4C3B_977D_7285BA9FE7EC__INCLUDED_)
#define AFX_BOXMANWND_H__7828B348_6D29_4C3B_977D_7285BA9FE7EC__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BoxManWnd.h : header file
//

#include "BoxMan.h"

/////////////////////////////////////////////////////////////////////////////
// CBoxManWnd frame

class CBoxManWnd : public CWnd
{
	DECLARE_DYNCREATE(CBoxManWnd)
public:
	CBoxManWnd();           // protected constructor used by dynamic creation

// Attributes
public:
	CBoxMan m_boxMan;           // 
	CMenu*		m_pSubMenu;		// 主菜单记录指针
	BOOL   m_bSound;            //  是否启用声音标记
// Operations
public:
void SetCheckSound(void);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBoxManWnd)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CBoxManWnd();

	// Generated message map functions
	//{{AFX_MSG(CBoxManWnd)
	afx_msg void OnMenuGameExit();
	afx_msg void OnPaint();
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnMenuGameHelp();
	afx_msg void OnMenuGameLevel();
	afx_msg void OnMenuGameMusic();
	afx_msg void OnInitMenu(CMenu* pMenu);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_BOXMANWND_H__7828B348_6D29_4C3B_977D_7285BA9FE7EC__INCLUDED_)

⌨️ 快捷键说明

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