diff options
author | Travis Howell | 2007-06-16 11:13:36 +0000 |
---|---|---|
committer | Travis Howell | 2007-06-16 11:13:36 +0000 |
commit | 987aaa6d81bf4aff816d5fc0ea69cf02262547bb (patch) | |
tree | e2f13686cb1a028cc50f4100f0c026528b321540 /engines/parallaction/disk.h | |
parent | ae3a2b70fb3ca2298688a48af513db5e771660e2 (diff) | |
download | scummvm-rg350-987aaa6d81bf4aff816d5fc0ea69cf02262547bb.tar.gz scummvm-rg350-987aaa6d81bf4aff816d5fc0ea69cf02262547bb.tar.bz2 scummvm-rg350-987aaa6d81bf4aff816d5fc0ea69cf02262547bb.zip |
Reduce code duplication.
svn-id: r27459
Diffstat (limited to 'engines/parallaction/disk.h')
-rw-r--r-- | engines/parallaction/disk.h | 32 |
1 files changed, 5 insertions, 27 deletions
diff --git a/engines/parallaction/disk.h b/engines/parallaction/disk.h index 2fab860158..bfef6d81df 100644 --- a/engines/parallaction/disk.h +++ b/engines/parallaction/disk.h @@ -176,42 +176,20 @@ public: Script* loadLocation(const char *name); Script* loadScript(const char* name); - StaticCnv* loadPointer(); - StaticCnv* loadStatic(const char* name); - void loadScenery(const char* background, const char* mask); - Common::ReadStream* loadMusic(const char* name); - Common::ReadStream* loadSound(const char* name); -}; - -class AmigaDemoDisk : public AmigaDisk { - -public: - AmigaDemoDisk(Parallaction *vm); - Cnv* loadTalk(const char *name); Cnv* loadObjects(const char *name); + StaticCnv* loadPointer(); StaticCnv* loadHead(const char* name); - Cnv* loadFrames(const char* name); - void loadSlide(const char *filename); - Table* loadTable(const char* name); Font* loadFont(const char* name); -}; - -class AmigaFullDisk : public AmigaDisk { - -public: - AmigaFullDisk(Parallaction *vm); - - Cnv* loadTalk(const char *name); - Cnv* loadObjects(const char *name); - StaticCnv* loadHead(const char* name); + StaticCnv* loadStatic(const char* name); Cnv* loadFrames(const char* name); void loadSlide(const char *filename); + void loadScenery(const char* background, const char* mask); Table* loadTable(const char* name); - Font* loadFont(const char* name); + Common::ReadStream* loadMusic(const char* name); + Common::ReadStream* loadSound(const char* name); }; - } // namespace Parallaction |