zeppelinbig.h 900 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #ifndef __GAME_ZEPPELINBIG_H__
  2. #define __GAME_ZEPPELINBIG_H__
  3. class idZeppelinBig : public idAnimatedEntity
  4. {
  5. public:
  6. CLASS_PROTOTYPE( idZeppelinBig );
  7. void Save( idSaveGame *savefile ) const;
  8. void Restore( idRestoreGame *savefile );
  9. void Think( void );
  10. void Spawn( void );
  11. private:
  12. enum { OFF, ON };
  13. int state;
  14. int nextAttackTime;
  15. int nextVolleyTime;
  16. int volleyCount;
  17. int volleyDelay;
  18. int maxVolley;
  19. int attackDelay;
  20. float initialDelay;
  21. void SpawnBeam(idBeam *beamStart, idBeam *beamEnd, const char *attachJoint);
  22. void AimBeam(const char *jointName, idBeam *beamEnd, idVec3 aimPos);
  23. void Event_zeppelinactivate(int value);
  24. idBeam* beam1Start;
  25. idBeam* beam1End;
  26. idBeam* beam2Start;
  27. idBeam* beam2End;
  28. idLight * light;
  29. };
  30. #endif