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.

18 lines
910 B

  1. //////////////////////////////////////////////////////////////////////////
  2. //
  3. // Tool for vtf texture file conversion from PC to Ps3 format
  4. // Allows conversion to be performed on PC prior to running the game
  5. // - Clara McEwen December 2006
  6. //
  7. // Copyright (c) Electronic Arts 2006
  8. //
  9. //////////////////////////////////////////////////////////////////////////
  10. #ifndef CONVERT_PS3_H
  11. #define CONVERT_PS3_H
  12. #include "tier1/UtlBuffer.h"
  13. typedef bool (*CompressFunc_t)( CUtlBuffer &inputBuffer, CUtlBuffer &outputBuffer );
  14. bool ConvertVTFToPS3Format( const char *pDebugName, CUtlBuffer &sourceBuf, CUtlBuffer &targetBuf, CompressFunc_t pCompressFunc);
  15. bool ConvertVTFToPS3Format( const char *pDebugName, CUtlBuffer &sourceBuf, CUtlBuffer &targetBuf, CompressFunc_t pCompressFunc, int textureCap);
  16. bool GetVTFPreloadPs3Data( const char *pDebugName, CUtlBuffer &fileBufferIn, CUtlBuffer &preloadBufferOut );
  17. #endif