gosFX.hpp 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. //===========================================================================//
  2. // File: MLRStuff.hpp //
  3. //---------------------------------------------------------------------------//
  4. // Copyright (C) Microsoft Corporation. All rights reserved. //
  5. //===========================================================================//
  6. #pragma once
  7. #include <Stuff\Stuff.hpp>
  8. namespace gosFX
  9. {
  10. //
  11. //--------------
  12. // gosFX classes
  13. //--------------
  14. //
  15. enum {
  16. EffectClassID = Stuff::FirstgosFXClassID,
  17. ParticleCloudClassID,
  18. PointCloudClassID,
  19. SpinningCloudClassID,
  20. ShardCloudClassID,
  21. PertCloudClassID,
  22. CardCloudClassID,
  23. ShapeCloudClassID,
  24. EffectCloudClassID,
  25. SingletonClassID,
  26. CardClassID,
  27. ShapeClassID,
  28. TubeClassID,
  29. DebrisCloudClassID,
  30. PointLightClassID,
  31. FirstFreegosFXClassID,
  32. };
  33. enum {CurrentGFXVersion = 17};
  34. int
  35. ReadGFXVersion(Stuff::MemoryStream *erf_stream);
  36. void
  37. WriteGFXVersion(Stuff::MemoryStream *erf_stream);
  38. void InitializeClasses();
  39. void TerminateClasses();
  40. extern HGOSHEAP Heap;
  41. extern const Stuff::LinearMatrix4D &Effect_Into_Motion;
  42. extern const Stuff::LinearMatrix4D &Effect_Against_Motion;
  43. DECLARE_TIMER(extern, Animation_Time);
  44. DECLARE_TIMER(extern, Draw_Time);
  45. extern DWORD Point_Count;
  46. extern DWORD Shard_Count;
  47. extern DWORD Pert_Count;
  48. extern DWORD Card_Count;
  49. extern DWORD Shape_Count;
  50. extern DWORD Profile_Count;
  51. }
  52. #include "Fcurve.hpp"