Worldstone
 All Classes Files Functions Variables Enumerations Enumerator Macros Pages
WorldStone::DCC::DirectionHeader Struct Reference

Represents a direction header. More...

#include <dcc.h>

Public Attributes

uint32_t outsizeCoded
 
bool hasRawPixelEncoding: 1
 Do we have a direction supporting the raw pixel encoding ?
 
bool compressEqualCells: 1
 Do we have a stream for the equal cells optimization ?
 
uint32_t variable0Bits: 4
 Endcoded size in bits of FrameHeader::variable0.
 
uint32_t widthBits: 4
 Endcoded size in bits of FrameHeader::width.
 
uint32_t heightBits: 4
 Endcoded size in bits of FrameHeader::height.
 
uint32_t xOffsetBits: 4
 Endcoded size in bits of FrameHeader::xoffset.
 
uint32_t yOffsetBits: 4
 Endcoded size in bits of FrameHeader::yoffset.
 
uint32_t optionalBytesBits: 4
 Endcoded size in bits of FrameHeader::optionalBytes.
 
uint32_t codedBytesBits: 4
 Endcoded size in bits of FrameHeader::codedBytes.
 

Detailed Description

Represents a direction header.

Some fields encode the size of various FrameHeader members using DCC::bitsWidthTable.

Note
While the struct uses bitfields with the same sizes as the DCC format, it is only for documenation purposes, do not try to fwrite/fread it. (bitfields layout is implementation defined)

Definition at line 73 of file dcc.h.


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