C# Class Files.IFF.SPR

This chunk type holds a number of paletted sprites that share a common color palette and lack z-buffers and alpha buffers. SPR# chunks can be either big-endian or little-endian, which must be determined by comparing the first two bytes to zero (since no version number uses more than two bytes).
Inheritance: IFFChunk
Mostra file Open project: Afr0Games/Project-Dollhouse Class Usage Examples

Public Properties

Property Type Description
Version uint
Version1 ushort

Public Methods

Method Description
SPR ( IFFChunk BaseChunk ) : System
this ( int Key ) : SPRFrame

Gets a specific sprite.

Private Methods

Method Description
GetSprite ( int ID, PALT Palette ) : SPRFrame

Method Details

SPR() public method

public SPR ( IFFChunk BaseChunk ) : System
BaseChunk IFFChunk
return System

this() public method

Gets a specific sprite.
public this ( int Key ) : SPRFrame
Key int The ID of the sprite to get.
return SPRFrame

Property Details

Version public_oe property

public uint Version
return uint

Version1 public_oe property

public ushort Version1
return ushort