BonusStatus.h
上传用户:royluo
上传日期:2007-01-05
资源大小:1584k
文件大小:2k
源码类别:

游戏

开发平台:

Visual C++

  1. /*****************************************************************************
  2. *                                                                             
  3. *   BonusStatus.h
  4. *                                                                             
  5. *   Electrical Engineering Faculty - Software Lab                             
  6. *   Spring semester 1998                                                      
  7. *                                                                             
  8. *   Tanks game                                                                
  9. *                                                                             
  10. *   Module description: Interface of the CBonusStatus class.
  11. *                       
  12. *                                                                             
  13. *   Authors: Eran Yariv - 28484475                                           
  14. *            Moshe Zur  - 24070856                                           
  15. *                                                                            
  16. *                                                                            
  17. *   Date: 23/09/98                                                           
  18. *                                                                            
  19. ******************************************************************************/
  20. #if !defined(AFX_BONUSSTATUS_H__B239E761_E897_11D1_9738_A0C11B38D128__INCLUDED_)
  21. #define AFX_BONUSSTATUS_H__B239E761_E897_11D1_9738_A0C11B38D128__INCLUDED_
  22. #if _MSC_VER >= 1000
  23. #pragma once
  24. #endif // _MSC_VER >= 1000
  25. // BonusStatus.h : header file
  26. //
  27. #include <DIB.h>
  28. #include <GameConsts.h>
  29. /////////////////////////////////////////////////////////////////////////////
  30. // CBonusStatus window
  31. class CBonusStatus : public CButton
  32. {
  33. // Construction
  34. public:
  35.     CBonusStatus();
  36.     void Create ();
  37.     virtual ~CBonusStatus() {}
  38.     void SetAerialSupport (BOOL bOn);
  39.     void SetFastFireRate (BOOL bOn);
  40.     
  41.     CDIB *GetImage ();
  42. private:
  43.     BOOL m_bAerial,
  44.          m_bFastFire,
  45.          m_bChangeDisplay;
  46.     CDIB m_DIB,
  47.          m_DIBBomb,
  48.          m_DIBFastFire;
  49.     UINT m_uFastFireXPos,
  50.          m_uFastFireYPos,
  51.          m_uBombXPos,
  52.          m_uBombYPos;
  53. protected:
  54.     //{{AFX_MSG(CAmmoStatus)
  55.     //}}AFX_MSG
  56.     DECLARE_MESSAGE_MAP()
  57. };
  58. #endif // !defined(AFX_BONUSSTATUS_H__B239E761_E897_11D1_9738_A0C11B38D128__INCLUDED_)