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.

37 lines
1.1 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef SCENEIMAGE_H
  8. #define SCENEIMAGE_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. class ISceneTokenProcessor;
  13. class ISceneCompileStatus
  14. {
  15. public:
  16. virtual void UpdateStatus( char const *pchSceneName, bool bQuiet, int nIndex, int nCount ) = 0;
  17. };
  18. class CUtlBuffer;
  19. class CUtlString;
  20. class ISceneImage
  21. {
  22. public:
  23. virtual bool CreateSceneImageFile( CUtlBuffer &targetBuffer, char const *pchModPath, bool bLittleEndian, bool bQuiet, ISceneCompileStatus *Status ) = 0;
  24. // This will update the scenes.image file, or create a new one if it doesn't exist.
  25. // The caller should pass in the existing .image file in targetBuffer!!!
  26. virtual bool UpdateSceneImageFile( CUtlBuffer &targetBuffer, char const *pchModPath, bool bLittleEndian, bool bQuiet, ISceneCompileStatus *Status, CUtlString *pFilesToUpdate, int nUpdateCount ) = 0;
  27. };
  28. extern ISceneImage *g_pSceneImage;
  29. extern ISceneTokenProcessor *tokenprocessor;
  30. #endif // SCENEIMAGE_H