aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/parser_br.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2008-01-28 17:28:16 +0000
committerNicola Mettifogo2008-01-28 17:28:16 +0000
commit56eed45317dd643528b3980ff7f899fbf0be7bc4 (patch)
treea8bb8cc0e0ff47815d85ca37ad1e04bb8db1661a /engines/parallaction/parser_br.cpp
parent3c2c16c705b41e0186cd203bc303a0902bf3059e (diff)
downloadscummvm-rg350-56eed45317dd643528b3980ff7f899fbf0be7bc4.tar.gz
scummvm-rg350-56eed45317dd643528b3980ff7f899fbf0be7bc4.tar.bz2
scummvm-rg350-56eed45317dd643528b3980ff7f899fbf0be7bc4.zip
Move low level background management into Gfx.
svn-id: r30681
Diffstat (limited to 'engines/parallaction/parser_br.cpp')
-rw-r--r--engines/parallaction/parser_br.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/engines/parallaction/parser_br.cpp b/engines/parallaction/parser_br.cpp
index 9b42b043af..8d6d5d9ab0 100644
--- a/engines/parallaction/parser_br.cpp
+++ b/engines/parallaction/parser_br.cpp
@@ -125,7 +125,7 @@ DECLARE_LOCATION_PARSER(location) {
} else {
nextToken = 2;
}
-
+#if 0
_disk->loadScenery(*_backgroundInfo, _location._name, NULL, NULL);
// if (flip) {
@@ -135,7 +135,7 @@ DECLARE_LOCATION_PARSER(location) {
_gfx->setBackground(&_backgroundInfo->bg);
_gfx->_palette.clone(_backgroundInfo->palette);
_gfx->setPalette(_backgroundInfo->palette);
-
+#endif
if (_tokens[nextToken][0] != '\0') {
_char._ani._left = atoi(_tokens[nextToken]);
@@ -271,21 +271,23 @@ DECLARE_LOCATION_PARSER(null) {
DECLARE_LOCATION_PARSER(mask) {
debugC(7, kDebugParser, "LOCATION_PARSER(mask) ");
-
+#if 0
_disk->loadScenery(*_backgroundInfo, NULL, _tokens[1], NULL);
_gfx->setMask(&_backgroundInfo->mask);
_gfx->_bgLayers[0] = atoi(_tokens[2]);
_gfx->_bgLayers[1] = atoi(_tokens[3]);
_gfx->_bgLayers[2] = atoi(_tokens[4]);
+#endif
}
DECLARE_LOCATION_PARSER(path) {
debugC(7, kDebugParser, "LOCATION_PARSER(path) ");
-
+#if 0
_disk->loadScenery(*_backgroundInfo, NULL, NULL, _tokens[1]);
_pathBuffer = &_backgroundInfo->path;
+#endif
}