diff options
author | Nicola Mettifogo | 2008-02-02 09:48:07 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-02-02 09:48:07 +0000 |
commit | 015ad5e4696243a96be383fce5c04350a71cb91f (patch) | |
tree | 6e5efa0bb1a364f8eb11aea7d3d6b0d5e210c24c /engines/parallaction/parser_br.cpp | |
parent | 4227c0f7ce0abf6647e1cd9c64615e55d744fb68 (diff) | |
download | scummvm-rg350-015ad5e4696243a96be383fce5c04350a71cb91f.tar.gz scummvm-rg350-015ad5e4696243a96be383fce5c04350a71cb91f.tar.bz2 scummvm-rg350-015ad5e4696243a96be383fce5c04350a71cb91f.zip |
Some more integration of background code into BackgroundInfo.
svn-id: r30731
Diffstat (limited to 'engines/parallaction/parser_br.cpp')
-rw-r--r-- | engines/parallaction/parser_br.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/parallaction/parser_br.cpp b/engines/parallaction/parser_br.cpp index 8d6d5d9ab0..023edc1460 100644 --- a/engines/parallaction/parser_br.cpp +++ b/engines/parallaction/parser_br.cpp @@ -132,9 +132,9 @@ DECLARE_LOCATION_PARSER(location) { // flip(); // } - _gfx->setBackground(&_backgroundInfo->bg); - _gfx->_palette.clone(_backgroundInfo->palette); - _gfx->setPalette(_backgroundInfo->palette); + _gfx->setBackground(&_backgroundInfo.bg); + _gfx->_palette.clone(_backgroundInfo.palette); + _gfx->setPalette(_backgroundInfo.palette); #endif if (_tokens[nextToken][0] != '\0') { @@ -273,7 +273,7 @@ DECLARE_LOCATION_PARSER(mask) { debugC(7, kDebugParser, "LOCATION_PARSER(mask) "); #if 0 _disk->loadScenery(*_backgroundInfo, NULL, _tokens[1], NULL); - _gfx->setMask(&_backgroundInfo->mask); + _gfx->setMask(&_backgroundInfo.mask); _gfx->_bgLayers[0] = atoi(_tokens[2]); _gfx->_bgLayers[1] = atoi(_tokens[3]); @@ -286,7 +286,7 @@ DECLARE_LOCATION_PARSER(path) { debugC(7, kDebugParser, "LOCATION_PARSER(path) "); #if 0 _disk->loadScenery(*_backgroundInfo, NULL, NULL, _tokens[1]); - _pathBuffer = &_backgroundInfo->path; + _pathBuffer = &_backgroundInfo.path; #endif } |