home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / XenonSource.exe / xenon / includes / wingtip.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-07-19  |  926 b   |  45 lines

  1. //-------------------------------------------------------------
  2. //
  3. // Class:    CWingtip
  4. //
  5. // Author:    John M Phillips
  6. //
  7. // Started:    06/05/00
  8. //
  9. // Base:    CUpgrade
  10. //
  11. // Derived:    None
  12. //
  13. //-------------------------------------------------------------
  14.  
  15. #ifndef _INCLUDE_WINGTIP_H
  16. #define _INCLUDE_WINGTIP_H
  17.  
  18. #include "upgrade.h"
  19.  
  20. //-------------------------------------------------------------
  21.  
  22. const int WINGTIP_FRAMES = 8;
  23. const int WINGTIP_DIVE_OFFSET = 8;
  24. const int WINGTIP_DIVE_FRAMES = 3;
  25. const int WINGTIP_CLOAK_FRAME = 11;
  26.  
  27. //-------------------------------------------------------------
  28.  
  29. class CWingtip : public CUpgrade
  30. {
  31.     public:
  32.         CWingtip();
  33.         virtual ~CWingtip();
  34.         const ActorInfo& getActorInfo() { return ActorInfoList[INFO_WINGTIP]; };
  35.  
  36.         bool activate();
  37.  
  38.         bool update(Controls *controls);
  39.  
  40. };
  41.  
  42. //-------------------------------------------------------------
  43.  
  44. #endif
  45.