ShieldStatus.h
资源名称:tanksrc.zip [点击查看]
上传用户:royluo
上传日期:2007-01-05
资源大小:1584k
文件大小:2k
源码类别:
游戏
开发平台:
Visual C++
- /*****************************************************************************
- *
- * 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_)