Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.3 KiB

  1. //====== Copyright � 1996-2004, Valve Corporation, All rights reserved. =====//
  2. //
  3. // Dme version of a list of lods
  4. //
  5. //===========================================================================//
  6. #ifndef DMELODLIST_H
  7. #define DMELODLIST_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "mdlobjects/dmebodypart.h"
  12. //-----------------------------------------------------------------------------
  13. // Forward Declarations
  14. //-----------------------------------------------------------------------------
  15. class CDmeLOD;
  16. class CDmeEyeball;
  17. //-----------------------------------------------------------------------------
  18. // A class representing a list of LODs
  19. //-----------------------------------------------------------------------------
  20. class CDmeLODList : public CDmeBodyPart
  21. {
  22. DEFINE_ELEMENT( CDmeLODList, CDmeBodyPart );
  23. public:
  24. // Returns the number of LODs in this body part, can be 0
  25. virtual int LODCount() const;
  26. // Returns the root LOD. This is the one with the switch metric 0
  27. virtual CDmeLOD *GetRootLOD();
  28. // Returns the shadow LOD
  29. virtual CDmeLOD *GetShadowLOD();
  30. // NOTE: It may be possible to eliminate the skeleton here
  31. // and assume the LOD always uses the root skeleton.
  32. CDmaElementArray< CDmeLOD > m_LODs;
  33. // Eyeballs
  34. CDmaElementArray< CDmeEyeball > m_EyeballList;
  35. };
  36. #endif // DMELODLIST_H