This commit is contained in:
romkazvo
2023-08-07 19:29:24 +08:00
commit 34d6c5d489
4832 changed files with 1389451 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
//////////////////////////////////////////////////////////////////////
//
// Crytek Source code
// Copyright (c) Crytek 2001-2004
//
//////////////////////////////////////////////////////////////////////
#ifndef BITSTREAM_COMPRESSED_H
#define BITSTREAM_COMPRESSED_H
#include "bitstream_base.h" // CBitStream_Base
class CBitStream_Compressed :public CBitStream_Base
{
public:
//! constructor
CBitStream_Compressed();
//! destructor
virtual ~CBitStream_Compressed();
// interface IBitSubStream -----------------------------------------------
virtual bool WriteBitStream( CStream &stm, const uint32 Value, const eBitStreamHint eHint );
virtual bool ReadBitStream( CStream &stm, uint32 &Value, const eBitStreamHint eHint );
virtual bool WriteBitStream( CStream &stm, const int32 Value, const eBitStreamHint eHint );
virtual bool ReadBitStream( CStream &stm, int32 &Value, const eBitStreamHint eHint );
virtual bool WriteBitStream( CStream &stm, const float Value, const eBitStreamHint eHint );
virtual bool ReadBitStream( CStream &stm, float &Value, const eBitStreamHint eHint );
virtual bool WriteBitStream( CStream &stm, const Vec3 &Value, const eBitStreamHint eHint );
virtual bool ReadBitStream( CStream &stm, Vec3 &Value, const eBitStreamHint eHint );
virtual bool WriteBitStream( CStream &stm, const uint16 Value, const eBitStreamHint eHint );
virtual bool ReadBitStream( CStream &stm, uint16 &Value, const eBitStreamHint eHint );
};
#endif // BITSTREAM_COMPRESSED_H