diff options
author | Nicola Mettifogo | 2007-03-24 21:18:08 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-03-24 21:18:08 +0000 |
commit | 7b9c74acae0543fedaf01c96c2720f244434c38e (patch) | |
tree | 69e6fb9d4082891527559acb79d0439ba702328d /engines/parallaction/disk.h | |
parent | 3034cb127329da8de756cee5a48e927206e396fb (diff) | |
download | scummvm-rg350-7b9c74acae0543fedaf01c96c2720f244434c38e.tar.gz scummvm-rg350-7b9c74acae0543fedaf01c96c2720f244434c38e.tar.bz2 scummvm-rg350-7b9c74acae0543fedaf01c96c2720f244434c38e.zip |
Added new class Table, and updated Disk accordingly. Tables can be populated after their creation or wrapped around existing arrays. Thus, the old functions (initTable, freeTable and searchTable) have been removed.
svn-id: r26295
Diffstat (limited to 'engines/parallaction/disk.h')
-rw-r--r-- | engines/parallaction/disk.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/parallaction/disk.h b/engines/parallaction/disk.h index 552a68b907..5d2473e4fb 100644 --- a/engines/parallaction/disk.h +++ b/engines/parallaction/disk.h @@ -35,6 +35,7 @@ namespace Parallaction { #define MAX_ARCHIVE_ENTRIES 384 +class Table; class Parallaction; class Gfx; class Script; @@ -101,7 +102,7 @@ public: virtual Cnv* loadFrames(const char* name) = 0; virtual void loadSlide(const char *filename) = 0; virtual void loadScenery(const char* background, const char* mask) = 0; - + virtual Table* loadTable(const char* name) = 0; }; @@ -136,6 +137,7 @@ public: Cnv* loadFrames(const char* name); void loadSlide(const char *filename); void loadScenery(const char* background, const char* mask); + Table* loadTable(const char* name); }; class AmigaDisk : public Disk { @@ -155,6 +157,7 @@ public: Cnv* loadFrames(const char* name); void loadSlide(const char *filename); void loadScenery(const char* background, const char* mask); + Table* loadTable(const char* name); }; } // namespace Parallaction |