explosion.h 733 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef _ExplosionGeo_h_
  2. #define _ExplosionGeo_h_
  3. //////////////////////////////////////////////////////////////////////////////
  4. //
  5. // ExplosionGeo header
  6. //
  7. //////////////////////////////////////////////////////////////////////////////
  8. class ExplosionGeo : public Geo {
  9. protected:
  10. ExplosionGeo(Number* ptime) :
  11. Geo(ptime)
  12. {
  13. }
  14. public:
  15. virtual void AddExplosion(
  16. const Vector& vecPosition,
  17. const Vector& vecForward,
  18. const Vector& vecRight,
  19. const Vector& vecVelocity,
  20. float radiusExplosion,
  21. float radiusShockWave,
  22. const Color& color,
  23. int countDecals,
  24. TVector<TRef<AnimatedImage> > vimage,
  25. Image* pimageShockWave
  26. ) = 0;
  27. };
  28. TRef<ExplosionGeo> CreateExplosionGeo(Number* ptime);
  29. #endif