diff options
author | Nicola Mettifogo | 2007-11-22 21:51:33 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-11-22 21:51:33 +0000 |
commit | 919c0a2833273d3ae92d0eb3635a479c34e1ced9 (patch) | |
tree | 66cdf8a6d46da4e6a57e7e64351ba43c6671b9cc /engines/parallaction/disk_br.cpp | |
parent | f4946e64008ebebcbba340c7b0d51ad466219e85 (diff) | |
download | scummvm-rg350-919c0a2833273d3ae92d0eb3635a479c34e1ced9.tar.gz scummvm-rg350-919c0a2833273d3ae92d0eb3635a479c34e1ced9.tar.bz2 scummvm-rg350-919c0a2833273d3ae92d0eb3635a479c34e1ced9.zip |
* added adapter from Graphics::Surface to Frames
* changed all Disk routines to return Frames* instead of Graphics::Surface*
* changed displayItemComment to use new gfx routines
* merged code for Examine zones into displayComment
svn-id: r29615
Diffstat (limited to 'engines/parallaction/disk_br.cpp')
-rw-r--r-- | engines/parallaction/disk_br.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/parallaction/disk_br.cpp b/engines/parallaction/disk_br.cpp index c89bc0ddde..aca01e0880 100644 --- a/engines/parallaction/disk_br.cpp +++ b/engines/parallaction/disk_br.cpp @@ -166,13 +166,13 @@ Script* DosDisk_br::loadScript(const char* name) { } // there are no Head resources in Big Red Adventure -Graphics::Surface* DosDisk_br::loadHead(const char* name) { +Frames* DosDisk_br::loadHead(const char* name) { debugC(5, kDebugDisk, "DosDisk_br::loadHead"); return 0; } -Graphics::Surface* DosDisk_br::loadPointer(const char *name) { +Frames* DosDisk_br::loadPointer(const char *name) { debugC(5, kDebugDisk, "DosDisk_br::loadPointer"); char path[PATH_LEN]; @@ -193,7 +193,7 @@ Graphics::Surface* DosDisk_br::loadPointer(const char *name) { surf->create(width, height, 1); stream.read(surf->pixels, width * height); - return surf; + return new SurfaceToFrames(surf); } @@ -220,7 +220,7 @@ void genSlidePath(char *path, const char* name) { sprintf(path, "%s.bmp", name); } -Graphics::Surface* DosDisk_br::loadStatic(const char* name) { +Frames* DosDisk_br::loadStatic(const char* name) { debugC(5, kDebugDisk, "DosDisk_br::loadStatic"); return 0; } |