SHERLOCK: bit of work on 3DO graphic resources
This commit is contained in:
parent
26ed7954c3
commit
ae64cca8f0
2 changed files with 59 additions and 14 deletions
|
@ -231,12 +231,25 @@ private:
|
|||
*/
|
||||
void load(Common::SeekableReadStream &stream, bool animImages);
|
||||
|
||||
/**
|
||||
* convert pixel RGB values from RGB555 to RGB565
|
||||
*/
|
||||
inline uint16 convertPixel(uint16 pixel3DO);
|
||||
|
||||
/**
|
||||
* Load 3DO cel file
|
||||
*/
|
||||
void load3DOCelFile(Common::SeekableReadStream &stream);
|
||||
|
||||
/**
|
||||
* Load animation graphics file
|
||||
*/
|
||||
void loadAnimationFile(Common::SeekableReadStream &stream, bool animImages);
|
||||
|
||||
/**
|
||||
* Decompress a single frame for the sprite
|
||||
*/
|
||||
void decompressFrame(Common::SeekableReadStream *stream, ImageFrame &frame, const byte *src);
|
||||
|
||||
inline uint16 convertPixel(uint16 pixel3DO);
|
||||
void decompressAnimationFrame(Common::SeekableReadStream *stream, ImageFrame &frame, const byte *src);
|
||||
|
||||
public:
|
||||
ImageFile3DO(const Common::String &name, bool animImages = false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue