diff options
author | Travis Howell | 2006-01-27 00:27:57 +0000 |
---|---|---|
committer | Travis Howell | 2006-01-27 00:27:57 +0000 |
commit | e370d8525419c8b9e47b423384b1169602cc6bb4 (patch) | |
tree | 4eb33a39a72bab1ac5ba299838fc83bc03a5a29c /scumm/scumm.h | |
parent | e9903522196176c24a6adb973355631b7d3938e3 (diff) | |
download | scummvm-rg350-e370d8525419c8b9e47b423384b1169602cc6bb4.tar.gz scummvm-rg350-e370d8525419c8b9e47b423384b1169602cc6bb4.tar.bz2 scummvm-rg350-e370d8525419c8b9e47b423384b1169602cc6bb4.zip |
Make resource management of modified wizImages closer to original games.
Fixes many errors in Backyard Sports titles.
svn-id: r20201
Diffstat (limited to 'scumm/scumm.h')
-rw-r--r-- | scumm/scumm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scumm/scumm.h b/scumm/scumm.h index 157068628a..82278dc595 100644 --- a/scumm/scumm.h +++ b/scumm/scumm.h @@ -327,6 +327,7 @@ public: byte **address[rtNumTypes]; protected: byte *flags[rtNumTypes]; + byte *status[rtNumTypes]; public: byte *roomno[rtNumTypes]; uint32 *roomoffs[rtNumTypes]; @@ -350,6 +351,10 @@ public: void unlock(int type, int i); bool isLocked(int type, int i) const; + void setModified(int type, int i); + void setUnModified(int type, int i); + bool isModified(int type, int i) const; + void setResourceCounter(int type, int index, byte flag); void increaseResourceCounter(); |