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

📄 menudifficulty.h

📁 Blood 2全套源码
💻 H
字号:
// MenuDifficulty.h: interface for the CMenuDifficulty class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MENUDIFFICULTY_H__08A492F1_5A47_11D2_BDA0_0060971BDC6D__INCLUDED_)
#define AFX_MENUDIFFICULTY_H__08A492F1_5A47_11D2_BDA0_0060971BDC6D__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#include "MenuBase.h"

class CMenuDifficulty : public CMenuBase  
{
public:
	CMenuDifficulty();
	virtual ~CMenuDifficulty();

	// Build the menu
	void	Build();	
	
	// Access to member variables
	void	SetStoryMode(DBOOL bStory)		{ m_bStoryMode=bStory; m_bNightmares=DFALSE; }
	void	SetNightmaresMode(DBOOL bNight)	{ m_bNightmares=bNight; m_bStoryMode=DFALSE; }
	void	SetCharacter(int nCharacter)	{ m_nCharacter=nCharacter; }

	int		GetCharacter()					{ return m_nCharacter; }

protected:
	DDWORD	OnCommand(DDWORD dwCommand, DDWORD dwParam1, DDWORD dwParam2);

	// Starts the game
	void	StartGame(DWORD dwDifficulty);

protected:
	DBOOL	m_bStoryMode;	// TRUE if we are to start a game in story mode
	DBOOL	m_bNightmares;	// TRUE if we are to start addon game in nightmares mode
	int		m_nCharacter;	// The character which is used in action mode
};

#endif // !defined(AFX_MENUDIFFICULTY_H__08A492F1_5A47_11D2_BDA0_0060971BDC6D__INCLUDED_)

⌨️ 快捷键说明

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