aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_v6.cpp
diff options
context:
space:
mode:
authorArnaud Boutonné2009-09-15 12:15:22 +0000
committerArnaud Boutonné2009-09-15 12:15:22 +0000
commit6a9cc3b1e0675768d15ab43da5468eabd20c3179 (patch)
treef3bfcccd7ef54d7893cf1b543a62c7ac655917ee /engines/gob/inter_v6.cpp
parent28e09b9292270850d56c4cc1dbdd95ce8ead5d14 (diff)
downloadscummvm-rg350-6a9cc3b1e0675768d15ab43da5468eabd20c3179.tar.gz
scummvm-rg350-6a9cc3b1e0675768d15ab43da5468eabd20c3179.tar.bz2
scummvm-rg350-6a9cc3b1e0675768d15ab43da5468eabd20c3179.zip
- Implement _pattern variable
- Add oPlaytoons_putPixel and Playtoons specific spriteOperation (using _pattern) svn-id: r44103
Diffstat (limited to 'engines/gob/inter_v6.cpp')
-rw-r--r--engines/gob/inter_v6.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/gob/inter_v6.cpp b/engines/gob/inter_v6.cpp
index bfa45258fa..c75b3cae9d 100644
--- a/engines/gob/inter_v6.cpp
+++ b/engines/gob/inter_v6.cpp
@@ -410,10 +410,11 @@ bool Inter_v6::o6_fillRect(OpFuncParams &params) {
_vm->_game->_script->evalExpr(0);
_vm->_draw->_backColor = _vm->_game->_script->getResultInt() & 0xFFFF;
- uint16 extraVar = _vm->_game->_script->getResultInt() >> 16;
+
+ _vm->_draw->_pattern = _vm->_game->_script->getResultInt() >> 16;
- if (extraVar != 0)
- warning("Urban Stub: o6_fillRect(), extraVar = %d", extraVar);
+ if (_vm->_draw->_pattern != 0)
+ warning("Urban Stub: o6_fillRect(), _pattern = %d", _vm->_draw->_pattern);
if (_vm->_draw->_spriteRight < 0) {
_vm->_draw->_destSpriteX += _vm->_draw->_spriteRight - 1;