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

📄 shieldstatus.h

📁 坦克游戏编程
💻 H
字号:
/*****************************************************************************
*                                                                             
*   ShieldStatus.h
*                                                                             
*   Electrical Engineering Faculty - Software Lab                             
*   Spring semester 1998                                                      
*                                                                             
*   Tanks game                                                                
*                                                                             
*   Module description: Interface of the CShieldStatus class.
*                       
*                                                                             
*   Authors: Eran Yariv - 28484475                                           
*            Moshe Zur  - 24070856                                           
*                                                                            
*                                                                            
*   Date: 23/09/98                                                           
*                                                                            
******************************************************************************/
#if !defined(AFX_SHIELDSTATUS_H__B239E761_E897_11D1_9738_A0C11B38D128__INCLUDED_)
#define AFX_SHIELDSTATUS_H__B239E761_E897_11D1_9738_A0C11B38D128__INCLUDED_

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

#include <DIB.h>
#include <GameConsts.h>

/////////////////////////////////////////////////////////////////////////////
// CShieldStatus window

class CShieldStatus : public CButton
{
// Construction
public:
	CShieldStatus();
	virtual ~CShieldStatus() {}
    void SetLevel (UINT uShieldLevel);
    CDIB *GetImage ();
private:
    UINT m_uPrevShieldLevel,        // 0%..100%
         m_uCurShieldLevel;
    CDIB m_DIB;

protected:
	//{{AFX_MSG(CAmmoStatus)
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};


#endif // !defined(AFX_SHIELDSTATUS_H__B239E761_E897_11D1_9738_A0C11B38D128__INCLUDED_)

⌨️ 快捷键说明

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