mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
add source-sdk-2013
This commit is contained in:
@@ -258,9 +258,7 @@ bool CreateTargetFile_VCD( const char *pSourceName, const char *pTargetName, boo
|
||||
pChoreoScene->SaveToBinaryBuffer( g_SceneFiles[iScene].compiledBuffer, crcSource, &g_ChoreoStringPool );
|
||||
|
||||
unsigned int compressedSize;
|
||||
unsigned char *pCompressedBuffer = LZMA_OpportunisticCompress( (unsigned char *)g_SceneFiles[iScene].compiledBuffer.Base(),
|
||||
g_SceneFiles[iScene].compiledBuffer.TellMaxPut(),
|
||||
&compressedSize );
|
||||
unsigned char *pCompressedBuffer = LZMA_Compress( (unsigned char *)g_SceneFiles[iScene].compiledBuffer.Base(), g_SceneFiles[iScene].compiledBuffer.TellMaxPut(), &compressedSize );
|
||||
if ( pCompressedBuffer )
|
||||
{
|
||||
// replace the compiled buffer with the compressed version
|
||||
@@ -370,7 +368,7 @@ bool CSceneImage::CreateSceneImageFile( CUtlBuffer &targetBuffer, char const *pc
|
||||
|
||||
if ( !bQuiet )
|
||||
{
|
||||
Msg( "Scenes: String Table: %llu bytes\n", (uint64)(stringOffsets.Count() * sizeof( int )) );
|
||||
Msg( "Scenes: String Table: %d bytes\n", stringOffsets.Count() * sizeof( int ) );
|
||||
Msg( "Scenes: String Pool: %d bytes\n", stringPool.TellMaxPut() );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user