Team Fortress 2 Source Code as on 22/4/2020
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.

43 lines
1.2 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Dme version of a body groups. Each body group contains a list
  4. // of LOD lists which are the various options to switch in for that part
  5. // of the body
  6. //
  7. //===========================================================================//
  8. #ifndef DMEBODYGROUP_H
  9. #define DMEBODYGROUP_H
  10. #ifdef _WIN32
  11. #pragma once
  12. #endif
  13. #include "datamodel/dmelement.h"
  14. #include "datamodel/dmattributevar.h"
  15. //-----------------------------------------------------------------------------
  16. // Forward Declarations
  17. //-----------------------------------------------------------------------------
  18. class CDmeBodyPart;
  19. class CDmeLODList;
  20. //-----------------------------------------------------------------------------
  21. // A class representing a body group. Each element of the body parts array
  22. // is an option that can be switched into that part of the body.
  23. //-----------------------------------------------------------------------------
  24. class CDmeBodyGroup : public CDmElement
  25. {
  26. DEFINE_ELEMENT( CDmeBodyGroup, CDmElement );
  27. public:
  28. // Finds a body part by name
  29. CDmeLODList *FindBodyPart( const char *pName );
  30. CDmaElementArray< CDmeBodyPart > m_BodyParts;
  31. };
  32. #endif // DMEBODYGROUP_H