ScummVM API documentation
MutationOfJB::AnimationDecoder Class Reference

Public Member Functions

 AnimationDecoder (const Common::Path &fileName)
 
 AnimationDecoder (const Common::Path &fileName, const Graphics::Surface &outSurface)
 
bool decode (AnimationDecoderCallback *callback)
 
void setPartialMode (int fromFrame, int toFrame, const Common::Rect area=Common::Rect(), uint8 threshold=0xFF)
 

Member Function Documentation

◆ setPartialMode()

void MutationOfJB::AnimationDecoder::setPartialMode ( int  fromFrame,
int  toFrame,
const Common::Rect  area = Common::Rect(),
uint8  threshold = 0xFF 
)

Enables partial decoding mode.

Parameters
fromFrameFrame to start decoding on (inclusive).
toFrameFrame to end decoding on (inclusive).
areaOutput surface will be confined to this area.
thresholdSource pixels with color index above this threshold will not be replaced.

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