ScummVM API documentation
Gob::SaveLoad_Inca2::ScreenshotHandler Class Reference

#include <saveload.h>

Inheritance diagram for Gob::SaveLoad_Inca2::ScreenshotHandler:
Gob::TempSpriteHandler Gob::SaveHandler

Public Member Functions

 ScreenshotHandler (GobEngine *vm, GameHandler *gameHandler)
 
int32 getSize () override
 
bool load (int16 dataVar, int32 size, int32 offset) override
 
bool save (int16 dataVar, int32 size, int32 offset) override
 
- Public Member Functions inherited from Gob::TempSpriteHandler
 TempSpriteHandler (GobEngine *vm)
 
bool loadToRaw (byte *ptr, int32 size, int32 offset) override
 
bool saveFromRaw (const byte *ptr, int32 size, int32 offset) override
 
bool create (uint32 width, uint32 height, bool trueColor)
 
bool createFromSprite (int16 dataVar, int32 size, int32 offset)
 
- Public Member Functions inherited from Gob::SaveHandler
 SaveHandler (GobEngine *vm)
 
virtual bool deleteFile ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Gob::SaveHandler
static uint32 getVarSize (GobEngine *vm)
 
- Protected Member Functions inherited from Gob::TempSpriteHandler
SurfacePtr createSprite (int16 dataVar, int32 size, int32 offset)
 
- Static Protected Member Functions inherited from Gob::TempSpriteHandler
static bool isDummy (int32 size)
 
static bool isSprite (int32 size)
 
static int getIndex (int32 size)
 
static bool usesPalette (int32 size)
 
- Protected Attributes inherited from Gob::TempSpriteHandler
SavePartSprite_sprite
 
- Protected Attributes inherited from Gob::SaveHandler
GobEngine_vm
 

Detailed Description

Handles the screenshots.

Member Function Documentation

◆ getSize()

int32 Gob::SaveLoad_Inca2::ScreenshotHandler::getSize ( )
overridevirtual

Returns the file's (virtual) size.

Reimplemented from Gob::TempSpriteHandler.

◆ load()

bool Gob::SaveLoad_Inca2::ScreenshotHandler::load ( int16  dataVar,
int32  size,
int32  offset 
)
overridevirtual

Loads (parts of) the file.

Reimplemented from Gob::TempSpriteHandler.

◆ save()

bool Gob::SaveLoad_Inca2::ScreenshotHandler::save ( int16  dataVar,
int32  size,
int32  offset 
)
overridevirtual

Saves (parts of) the file.

Reimplemented from Gob::TempSpriteHandler.


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