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.
 
 
 
 
 
 

19 lines
910 B

//////////////////////////////////////////////////////////////////////////
//
// Tool for vtf texture file conversion from PC to Ps3 format
// Allows conversion to be performed on PC prior to running the game
// - Clara McEwen December 2006
//
// Copyright (c) Electronic Arts 2006
//
//////////////////////////////////////////////////////////////////////////
#ifndef CONVERT_PS3_H
#define CONVERT_PS3_H
#include "tier1/UtlBuffer.h"
typedef bool (*CompressFunc_t)( CUtlBuffer &inputBuffer, CUtlBuffer &outputBuffer );
bool ConvertVTFToPS3Format( const char *pDebugName, CUtlBuffer &sourceBuf, CUtlBuffer &targetBuf, CompressFunc_t pCompressFunc);
bool ConvertVTFToPS3Format( const char *pDebugName, CUtlBuffer &sourceBuf, CUtlBuffer &targetBuf, CompressFunc_t pCompressFunc, int textureCap);
bool GetVTFPreloadPs3Data( const char *pDebugName, CUtlBuffer &fileBufferIn, CUtlBuffer &preloadBufferOut );
#endif