diff options
author | Nicola Mettifogo | 2007-03-04 15:09:45 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-03-04 15:09:45 +0000 |
commit | 20da7f80f1765bc4b2adb685cde76377ccbb0350 (patch) | |
tree | 030f0f9420187c207e46a8ce523fdb60e4d65e2c /engines/parallaction/disk.h | |
parent | 1c00cc5dc56329debd2d3e3538155f097e96756c (diff) | |
download | scummvm-rg350-20da7f80f1765bc4b2adb685cde76377ccbb0350.tar.gz scummvm-rg350-20da7f80f1765bc4b2adb685cde76377ccbb0350.tar.bz2 scummvm-rg350-20da7f80f1765bc4b2adb685cde76377ccbb0350.zip |
made loadScript and loadLocation benefit from Script's ability to dispose of its input buffer
svn-id: r25976
Diffstat (limited to 'engines/parallaction/disk.h')
-rw-r--r-- | engines/parallaction/disk.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/parallaction/disk.h b/engines/parallaction/disk.h index 3ab56dfcc4..66c4c6598a 100644 --- a/engines/parallaction/disk.h +++ b/engines/parallaction/disk.h @@ -39,6 +39,7 @@ namespace Parallaction { class Parallaction; class Graphics; +class Script; class Archive : public Common::SeekableReadStream { @@ -98,8 +99,8 @@ public: void selectArchive(const char *name); - void loadLocation(const char *name, char* script); - void loadScript(const char* name, char *script); + Script* loadLocation(const char *name); + Script* loadScript(const char* name); void loadTalk(const char *name, Cnv *cnv); void loadObjects(const char *name, Cnv *cnv); void loadPointer(StaticCnv* cnv); |