diff options
author | Nicola Mettifogo | 2008-02-02 21:22:05 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-02-02 21:22:05 +0000 |
commit | d8349d66ff6199dcbd6c2412dcdc90a98380ffb4 (patch) | |
tree | 7acbc91265563975a1f7a59ed433d344e0faf154 /engines/parallaction/parser_br.cpp | |
parent | 22ead25049f7c6a9af627ee1763851cfd7b9e03d (diff) | |
download | scummvm-rg350-d8349d66ff6199dcbd6c2412dcdc90a98380ffb4.tar.gz scummvm-rg350-d8349d66ff6199dcbd6c2412dcdc90a98380ffb4.tar.bz2 scummvm-rg350-d8349d66ff6199dcbd6c2412dcdc90a98380ffb4.zip |
Subtitles are now displayed in the intro for BRA, though in wrong color (and I don't know why).
svn-id: r30747
Diffstat (limited to 'engines/parallaction/parser_br.cpp')
-rw-r--r-- | engines/parallaction/parser_br.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/parallaction/parser_br.cpp b/engines/parallaction/parser_br.cpp index c0d218b010..7f53ee2918 100644 --- a/engines/parallaction/parser_br.cpp +++ b/engines/parallaction/parser_br.cpp @@ -494,7 +494,7 @@ DECLARE_COMMAND_PARSER(text) { _locParseCtxt.cmd->u._zeta0 = atoi(_tokens[1]); _locParseCtxt.nextToken++; } else { - _locParseCtxt.cmd->u._zeta0 = 0; + _locParseCtxt.cmd->u._zeta0 = -1; } _locParseCtxt.cmd->u._string = strdup(_tokens[_locParseCtxt.nextToken]); @@ -947,6 +947,13 @@ void Parallaction_br::parseLocation(const char* filename) { free(_locParseCtxt.maskName); free(_locParseCtxt.pathName); + AnimationList::iterator it = _animations.begin(); + for ( ; it != _animations.end(); it++) { + if (((*it)->_scriptName) && ((*it)->_program == 0)) { + loadProgram(*it, (*it)->_scriptName); + } + } + // drawZones(); return; |