#include <saveload.h>
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 |
Handles the screenshots.
|
overridevirtual |
Returns the file's (virtual) size.
Reimplemented from Gob::TempSpriteHandler.
|
overridevirtual |
Loads (parts of) the file.
Reimplemented from Gob::TempSpriteHandler.
|
overridevirtual |
Saves (parts of) the file.
Reimplemented from Gob::TempSpriteHandler.