aboutsummaryrefslogtreecommitdiff
path: root/sp/src/common/studiobyteswap.h
diff options
context:
space:
mode:
Diffstat (limited to 'sp/src/common/studiobyteswap.h')
-rw-r--r--sp/src/common/studiobyteswap.h74
1 files changed, 37 insertions, 37 deletions
diff --git a/sp/src/common/studiobyteswap.h b/sp/src/common/studiobyteswap.h
index 20e8d47b..3bec9eaf 100644
--- a/sp/src/common/studiobyteswap.h
+++ b/sp/src/common/studiobyteswap.h
@@ -1,38 +1,38 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose: StudioMDL byteswapping functions.
-//
-// $NoKeywords: $
-//=============================================================================
-#ifndef STUDIOBYTESWAP_H
-#define STUDIOBYTESWAP_H
-
-#if defined(_WIN32)
-#pragma once
-#endif
-
-#include "byteswap.h"
-struct studiohdr_t;
-class IPhysicsCollision;
-
-namespace StudioByteSwap
-{
-typedef bool (*CompressFunc_t)( const void *pInput, int inputSize, void **pOutput, int *pOutputSize );
-
-//void SetTargetBigEndian( bool bigEndian );
-void ActivateByteSwapping( bool bActivate );
-void SourceIsNative( bool bActivate );
-void SetVerbose( bool bVerbose );
-void SetCollisionInterface( IPhysicsCollision *pPhysicsCollision );
-
-int ByteswapStudioFile( const char *pFilename, void *pOutBase, const void *pFileBase, int fileSize, studiohdr_t *pHdr, CompressFunc_t pCompressFunc = NULL );
-int ByteswapPHY( void *pOutBase, const void *pFileBase, int fileSize );
-int ByteswapANI( studiohdr_t* pHdr, void *pOutBase, const void *pFileBase, int filesize );
-int ByteswapVVD( void *pOutBase, const void *pFileBase, int fileSize );
-int ByteswapVTX( void *pOutBase, const void *pFileBase, int fileSize );
-int ByteswapMDL( void *pOutBase, const void *pFileBase, int fileSize );
-
-#define BYTESWAP_ALIGNMENT_PADDING 4096
-}
-
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose: StudioMDL byteswapping functions.
+//
+// $NoKeywords: $
+//=============================================================================
+#ifndef STUDIOBYTESWAP_H
+#define STUDIOBYTESWAP_H
+
+#if defined(_WIN32)
+#pragma once
+#endif
+
+#include "byteswap.h"
+struct studiohdr_t;
+class IPhysicsCollision;
+
+namespace StudioByteSwap
+{
+typedef bool (*CompressFunc_t)( const void *pInput, int inputSize, void **pOutput, int *pOutputSize );
+
+//void SetTargetBigEndian( bool bigEndian );
+void ActivateByteSwapping( bool bActivate );
+void SourceIsNative( bool bActivate );
+void SetVerbose( bool bVerbose );
+void SetCollisionInterface( IPhysicsCollision *pPhysicsCollision );
+
+int ByteswapStudioFile( const char *pFilename, void *pOutBase, const void *pFileBase, int fileSize, studiohdr_t *pHdr, CompressFunc_t pCompressFunc = NULL );
+int ByteswapPHY( void *pOutBase, const void *pFileBase, int fileSize );
+int ByteswapANI( studiohdr_t* pHdr, void *pOutBase, const void *pFileBase, int filesize );
+int ByteswapVVD( void *pOutBase, const void *pFileBase, int fileSize );
+int ByteswapVTX( void *pOutBase, const void *pFileBase, int fileSize );
+int ByteswapMDL( void *pOutBase, const void *pFileBase, int fileSize );
+
+#define BYTESWAP_ALIGNMENT_PADDING 4096
+}
+
#endif // STUDIOBYTESWAP_H \ No newline at end of file