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.

60 lines
1.6 KiB

  1. //-----------------------------------------------------------------------------
  2. // Autogenerated by schema compiler, compiled May 25 2009 11:22:37
  3. // Do not hand-edit or check in this file!!
  4. //-----------------------------------------------------------------------------
  5. #ifndef SHEET_G_H
  6. #define SHEET_G_H
  7. #ifdef COMPILER_MSVC
  8. #pragma once
  9. #endif
  10. #include "resourcefile/schema.h"
  11. #include "rendersystem/schema/texture.g.h"
  12. //-----------------------------------------------------------------------------
  13. // Forward declarations
  14. //-----------------------------------------------------------------------------
  15. struct Sheet_t;
  16. struct SheetSequence_t;
  17. struct SheetSequenceFrame_t;
  18. struct SheetFrameImage_t;
  19. //-----------------------------------------------------------------------------
  20. // Structure definitions
  21. //-----------------------------------------------------------------------------
  22. schema struct Sheet_t
  23. {
  24. CResourceReference< TextureBits_t > m_hTexture;
  25. CResourceArray< SheetSequence_t > m_Sequences;
  26. };
  27. class CSheet; // Forward declaration of associated runtime class
  28. DEFINE_RESOURCE_CLASS_TYPE( Sheet_t, CSheet, RESOURCE_TYPE_SHEET );
  29. typedef const ResourceBinding_t< CSheet > *HSheet;
  30. typedef CStrongHandle< CSheet > HSheetStrong;
  31. #define SHEET_HANDLE_INVALID ( (HSheet)0 )
  32. schema struct SheetSequence_t
  33. {
  34. uint32 m_nId;
  35. bool m_bClamp;
  36. CResourceArray< SheetSequenceFrame_t > m_Frames;
  37. float32 m_flTotalTime;
  38. };
  39. schema struct SheetSequenceFrame_t
  40. {
  41. float32 m_flDisplayTime;
  42. CResourceArray< SheetFrameImage_t > m_Images;
  43. };
  44. schema struct SheetFrameImage_t
  45. {
  46. Vector2D uv[2];
  47. };
  48. #endif // SHEET_G_H