ScummVM API documentation
Video::FourXM::RawDeltaReader Struct Reference

Public Member Functions

 RawDeltaReader (const byte *ptr, uint32 len)
 
 RawDeltaReader (const byte *ptr, uint32 len, uint32 streamBase, uint32 pairOff, uint32 byteOff, uint32 signedByteOff, uint32 nibbleOff, uint32 controlOff)
 
bool valid () const
 
uint32 readControl2 ()
 
uint16 readPair ()
 
byte readByteIndex ()
 
int8 readSignedByte ()
 
uint32 readNibble ()
 

Public Attributes

const byte * data = nullptr
 
uint32 size = 0
 
uint32 mode = 0
 
uint32 wordBitsLeft = 16
 
uint32 wordIndex = 1
 
uint32 controlWord = 0
 
uint32 pairIndex = 0
 
uint32 byteIndex = 0
 
uint32 nibbleBitsLeft = 8
 
uint32 nibbleWordIndex = 1
 
uint32 nibbleWord = 0
 
uint32 pairOffset = 0
 
uint32 byteOffset = 0
 
uint32 signedByteOffset = 0
 
uint32 nibbleOffset = 0
 
uint32 signedByteIndex = 0
 
bool separateSignedByteStream = false
 

The documentation for this struct was generated from the following file: