diff options
author | Nicola Mettifogo | 2008-02-02 22:45:31 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-02-02 22:45:31 +0000 |
commit | 899fdcb3677925a8c1d9b4c9335ae17a2f1cccff (patch) | |
tree | fdf7aeab1c5099d6167e814881070234b76c96a0 /engines/parallaction/exec_br.cpp | |
parent | d8349d66ff6199dcbd6c2412dcdc90a98380ffb4 (diff) | |
download | scummvm-rg350-899fdcb3677925a8c1d9b4c9335ae17a2f1cccff.tar.gz scummvm-rg350-899fdcb3677925a8c1d9b4c9335ae17a2f1cccff.tar.bz2 scummvm-rg350-899fdcb3677925a8c1d9b4c9335ae17a2f1cccff.zip |
Enabled rudimentary location switch in BRA.
svn-id: r30748
Diffstat (limited to 'engines/parallaction/exec_br.cpp')
-rw-r--r-- | engines/parallaction/exec_br.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/parallaction/exec_br.cpp b/engines/parallaction/exec_br.cpp index 69e64f6e5d..567d5ecf79 100644 --- a/engines/parallaction/exec_br.cpp +++ b/engines/parallaction/exec_br.cpp @@ -72,8 +72,7 @@ typedef OpcodeImpl<Parallaction_br> OpcodeV2; void Parallaction_br::setupSubtitles(char *s, char *s2, int y) { debugC(5, kDebugExec, "setupSubtitles(%s, %s, %i)", s, s2, y); - _gfx->freeLabels(); - _subtitle[0] = _subtitle[1] = -1; + clearSubtitles(); if (!scumm_stricmp("clear", s)) { return; @@ -95,10 +94,17 @@ void Parallaction_br::setupSubtitles(char *s, char *s2, int y) { _subtitleLipSync = 0; } +void Parallaction_br::clearSubtitles() { + _gfx->freeLabels(); + _subtitle[0] = _subtitle[1] = -1; +} DECLARE_COMMAND_OPCODE(location) { warning("Parallaction_br::cmdOp_location command not yet implemented"); + + // TODO: handle startPos and startPos2 + scheduleLocationSwitch(_cmdRunCtxt.cmd->u._string); } @@ -545,12 +551,6 @@ void Parallaction_br::jobWaitRemoveLabelJob(void *parm, Job *job) { } - -void Parallaction_br::jobWaitRemoveSubtitleJob(void *parm, Job *job) { - -} - - void Parallaction_br::jobPauseSfx(void *parm, Job *job) { } |