Entry

A tuple of an entry's header and its data. data is either palette or bitmap data. Remarks: After an entry's header is its bitmap, palette, or pixel color data.

alias Entry = Tuple!(EntryHeader, "header", ubyte[], "data")

See Also

  • EntryHeader
  • <a href="https://www.wiki.sc4devotion.com/index.php?title=FSH_Format#Bitmap_or_Palette_Data">Bitmap data</a> (SC4D Encyclopedia)
  • <a href="https://www.wiki.sc4devotion.com/index.php?title=FSH_Format#FSH_Entry_Header">FSH Entry Header</a> (SC4D Encyclopedia)

Meta

Authors

Palettes are generally arrays of 256 colors, each 1 byte. Bitmaps may store their pixel data in one of many ways, either raw bitmap pixel data, or they can make use of Microsoft DXTC compressed formats.