diff options
author | Gregory Montoir | 2004-12-31 00:25:18 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-12-31 00:25:18 +0000 |
commit | a44e8248159fc836f9d534872b0d55741f0c803c (patch) | |
tree | 47df2cacddf071f0ff1c8a761b3038acc0d8c7d1 /queen/bankman.h | |
parent | f06348440fd2040cb8bf57849c7e6670db91caf0 (diff) | |
download | scummvm-rg350-a44e8248159fc836f9d534872b0d55741f0c803c.tar.gz scummvm-rg350-a44e8248159fc836f9d534872b0d55741f0c803c.tar.bz2 scummvm-rg350-a44e8248159fc836f9d534872b0d55741f0c803c.zip |
added some comments and re-indented some parts of code
svn-id: r16394
Diffstat (limited to 'queen/bankman.h')
-rw-r--r-- | queen/bankman.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/queen/bankman.h b/queen/bankman.h index f02b59d85f..06c8955502 100644 --- a/queen/bankman.h +++ b/queen/bankman.h @@ -35,14 +35,28 @@ public: BankManager(Resource *res); ~BankManager(); + //! load a bank into the specified slot void load(const char *bankname, uint32 bankslot); + + //! unpack a frame from a loaded bank void unpack(uint32 srcframe, uint32 dstframe, uint32 bankslot); + + //! unpack a frame over an existing one from a loaded bank void overpack(uint32 srcframe, uint32 dstframe, uint32 bankslot); + + //! close a bank void close(uint32 bankslot); + + //! reset this BankManager void flush(); + //! get a reference to unpacked frame BobFrame *fetchFrame(uint32 index); + + //! erase a frame void eraseFrame(uint32 index); + + //! erase all unpacked frames void eraseFrames(bool joe); enum { @@ -58,7 +72,7 @@ private: uint8 *data; }; - //! unbanked bob frames + //! unpacked bob frames BobFrame _frames[MAX_FRAMES_NUMBER]; //! banked bob frames |