ScummVM API documentation
Pelrock::ResourceManager Class Reference

Public Member Functions

void mergeRleBlocks (Common::SeekableReadStream *stream, uint32 offset, int numBlocks, byte *outputBuffer)
 
void loadSettingsMenu ()
 
void loadCursors ()
 
void loadInteractionIcons ()
 
void loadAlfredAnims ()
 
void loadOtherSpecialAnim (uint32 offset, bool rleCompressed, byte *&buffer, size_t &bufferSize)
 
void loadAlfredSpecialAnim (int numAnim, bool reverse=false)
 
void clearSpecialAnim ()
 
void loadInventoryItems ()
 
void loadHardcodedText ()
 
void getPaletteForRoom28 (byte *palette)
 
Common::Array< Common::StringArrayloadComputerText ()
 
void getExtraScreen (int screenIndex, byte *screenBuf, byte *palette)
 
Common::Array< Common::StringArraygetCredits ()
 
Common::Array< Common::Array< Common::String > > processTextData (byte *data, size_t size, bool decode=false)
 
Sticker getSticker (int stickerIndex)
 
byte * loadStickerPixels (const Sticker &sticker)
 
InventoryObject getIconForObject (byte index)
 
byte * loadExtra ()
 

Public Attributes

byte * alfredIdle [4]
 
byte ** alfredWalkFrames [4]
 
byte ** alfredCrawlFrames [4]
 
byte ** alfredTalkFrames [4]
 
byte ** alfredInteractFrames [4]
 
byte ** alfredCombFrames [2]
 
byte * _cursorMasks [5]
 
byte * _verbIcons [9]
 
byte * _popUpBalloon = nullptr
 
Common::Array< Common::StringArray_ingameTexts
 
Common::String _left
 
Common::String _right
 
Common::String _conversationTerminator
 
AlfredSpecialAnim_currentSpecialAnim = nullptr
 
bool _isSpecialAnimFinished = false
 

Static Public Attributes

static const AlfredSpecialAnimOffset alfredSpecialAnims []
 

Member Function Documentation

◆ loadAlfredAnims()

void Pelrock::ResourceManager::loadAlfredAnims ( )

Loads standard Alfred animations

◆ loadOtherSpecialAnim()

void Pelrock::ResourceManager::loadOtherSpecialAnim ( uint32  offset,
bool  rleCompressed,
byte *&  buffer,
size_t &  bufferSize 
)

Loads some other special anims for NPCs

◆ loadAlfredSpecialAnim()

void Pelrock::ResourceManager::loadAlfredSpecialAnim ( int  numAnim,
bool  reverse = false 
)

Loads one of the pre-defined Special anims for alfred.


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