diff options
author | Nicola Mettifogo | 2009-01-07 07:35:11 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2009-01-07 07:35:11 +0000 |
commit | 21fae9d029e1c902c47f59143c1a8f938c694318 (patch) | |
tree | 66cd7707f39f40b0a1bb1d5931a9aa33182a3655 /engines/parallaction/disk_br.cpp | |
parent | ef05ed7a985062edf978472b76b97ead0946b92b (diff) | |
download | scummvm-rg350-21fae9d029e1c902c47f59143c1a8f938c694318.tar.gz scummvm-rg350-21fae9d029e1c902c47f59143c1a8f938c694318.tar.bz2 scummvm-rg350-21fae9d029e1c902c47f59143c1a8f938c694318.zip |
* moved more mask management to BackgroundInfo
* simplified mask management for client code
* reduced the clutter into graphics.h by moving the implementations of BackgroundInfo, MaskBuffer and PathBuffer to graphics.cpp
* preparation for the full implementation of BRA's PathBuffer
svn-id: r35765
Diffstat (limited to 'engines/parallaction/disk_br.cpp')
-rw-r--r-- | engines/parallaction/disk_br.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/parallaction/disk_br.cpp b/engines/parallaction/disk_br.cpp index 45ef34e046..5f2ddcd1b7 100644 --- a/engines/parallaction/disk_br.cpp +++ b/engines/parallaction/disk_br.cpp @@ -339,8 +339,9 @@ void DosDisk_br::loadScenery(BackgroundInfo& info, const char *name, const char } if (mask) { - info.mask.create(info.width, info.height); - loadMask(mask, info.mask); + info._mask = new MaskBuffer; + info._mask->create(info.width, info.height); + loadMask(mask, *info._mask); } if (path) { |