Added "querySaveMetaInfos" to MetaEngine.
-> Allows easy addition of save state specific infos like playtime, save date atc. -> Removed MetaEngine::loadThumbnailFromSlot, superseded by meta infos -> Changed SCUMM / KYRA to implement the newly added functionallity -> Removed hack in KYRAs listSavefiles, which is now handled via meta infos svn-id: r34581
This commit is contained in:
parent
9d96d9d380
commit
259d87a8a6
9 changed files with 170 additions and 76 deletions
|
@ -66,6 +66,11 @@ void Surface::free() {
|
|||
bytesPerPixel = 0;
|
||||
}
|
||||
|
||||
void Surface::copyFrom(const Surface &surf) {
|
||||
create(surf.w, surf.h, surf.bytesPerPixel);
|
||||
memcpy(pixels, surf.pixels, h * pitch);
|
||||
}
|
||||
|
||||
void Surface::hLine(int x, int y, int x2, uint32 color) {
|
||||
// Clipping
|
||||
if (y < 0 || y >= h)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue