diff options
author | strangerke | 2011-02-18 08:11:55 +0100 |
---|---|---|
committer | strangerke | 2011-02-18 08:11:55 +0100 |
commit | 399b59a583b0ac92941cfe7756712d80970e47ee (patch) | |
tree | 93183f3ba97340c8fb70a4a3ebdbd2671a2ac80a /engines/hugo/schedule.h | |
parent | 41a5fc8476620d138227c369e2a2767e6e04f6d7 (diff) | |
download | scummvm-rg350-399b59a583b0ac92941cfe7756712d80970e47ee.tar.gz scummvm-rg350-399b59a583b0ac92941cfe7756712d80970e47ee.tar.bz2 scummvm-rg350-399b59a583b0ac92941cfe7756712d80970e47ee.zip |
HUGO: Avoid duplicated code in functions related to HUGO.DAT
Diffstat (limited to 'engines/hugo/schedule.h')
-rw-r--r-- | engines/hugo/schedule.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/hugo/schedule.h b/engines/hugo/schedule.h index e2169a0aa9..c7a6003ddf 100644 --- a/engines/hugo/schedule.h +++ b/engines/hugo/schedule.h @@ -466,11 +466,12 @@ public: void insertActionList(const uint16 actIndex); void loadActListArr(Common::ReadStream &in); void loadAlNewscrIndex(Common::ReadStream &in); - void loadPoints(Common::ReadStream &in); - void loadScreenAct(Common::ReadStream &in); + void loadPoints(Common::SeekableReadStream &in); + void loadScreenAct(Common::SeekableReadStream &in); void newScreen(const int screenIndex); void processBonus(const int bonusIndex); void processMaze(const int x1, const int x2, const int y1, const int y2); + void readAct(Common::ReadStream &in, act &curAct); void restoreSchedulerData(Common::ReadStream *in); void restoreScreen(const int screenIndex); void saveSchedulerData(Common::WriteStream *out); |