aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
authorMax Horn2005-05-11 13:02:40 +0000
committerMax Horn2005-05-11 13:02:40 +0000
commit90b91f12b2db9f86afa40fafc61cc6e112630936 (patch)
treed6d6e91950a069946d8940a8407f2ce221536cc1 /scumm/gfx.cpp
parent58562a0b7097e0c644406b69966b10441c16ee55 (diff)
downloadscummvm-rg350-90b91f12b2db9f86afa40fafc61cc6e112630936.tar.gz
scummvm-rg350-90b91f12b2db9f86afa40fafc61cc6e112630936.tar.bz2
scummvm-rg350-90b91f12b2db9f86afa40fafc61cc6e112630936.zip
Made Gdi::_transparentColor protected
svn-id: r18049
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 741361a988..46a0f8281b 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -223,7 +223,7 @@ void Gdi::init() {
}
}
-void Gdi::roomChanged(byte *roomptr, uint32 IM00_offs) {
+void Gdi::roomChanged(byte *roomptr, uint32 IM00_offs, byte transparentColor) {
if (_vm->_version == 1) {
if (_vm->_platform == Common::kPlatformNES) {
decodeNESGfx(roomptr);
@@ -241,6 +241,8 @@ void Gdi::roomChanged(byte *roomptr, uint32 IM00_offs) {
} else if (_vm->_version == 2) {
_roomStrips = generateStripTable(roomptr + IM00_offs, _vm->_roomWidth, _vm->_roomHeight, _roomStrips);
}
+
+ _transparentColor = transparentColor;
}