diff options
author | Nicola Mettifogo | 2007-09-02 19:00:22 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-09-02 19:00:22 +0000 |
commit | b819ae3e788061722913773cc69fd7d6916e6e4c (patch) | |
tree | 6218fb1236fc2e0f88d1318d7476577290c98152 /engines/parallaction/parallaction_br.cpp | |
parent | 21e4f4f1760e204de6e8d0a413f8e8f8987dd083 (diff) | |
download | scummvm-rg350-b819ae3e788061722913773cc69fd7d6916e6e4c.tar.gz scummvm-rg350-b819ae3e788061722913773cc69fd7d6916e6e4c.tar.bz2 scummvm-rg350-b819ae3e788061722913773cc69fd7d6916e6e4c.zip |
More support for subtitles in BRA.
svn-id: r28829
Diffstat (limited to 'engines/parallaction/parallaction_br.cpp')
-rw-r--r-- | engines/parallaction/parallaction_br.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/engines/parallaction/parallaction_br.cpp b/engines/parallaction/parallaction_br.cpp index c2b84337db..f2b9626ead 100644 --- a/engines/parallaction/parallaction_br.cpp +++ b/engines/parallaction/parallaction_br.cpp @@ -81,6 +81,7 @@ int Parallaction_br::init() { _activeZone2 = 0; + initJobs(); initResources(); initFonts(); initCursors(); @@ -358,7 +359,7 @@ void Parallaction_br::changeCharacter(const char *name) { } void Parallaction_br::initJobs() { -/* + static const JobFn jobs[] = { &Parallaction_br::jobDisplayAnimations, &Parallaction_br::jobEraseAnimations, @@ -366,12 +367,12 @@ void Parallaction_br::initJobs() { &Parallaction_br::jobRemovePickedItem, &Parallaction_br::jobRunScripts, &Parallaction_br::jobWalk, - &Parallaction_br::jobDrawLabel, + &Parallaction_br::jobDisplayLabel, &Parallaction_br::jobEraseLabel, &Parallaction_br::jobWaitRemoveLabelJob, &Parallaction_br::jobToggleDoor, - &Parallaction_br::jobClearSubtitle, - &Parallaction_br::jobDrawSubtitle, + &Parallaction_br::jobEraseSubtitle, + &Parallaction_br::jobDisplaySubtitle, &Parallaction_br::jobWaitRemoveSubtitleJob, &Parallaction_br::jobPauseSfx, &Parallaction_br::jobStopFollower, @@ -379,13 +380,10 @@ void Parallaction_br::initJobs() { }; _jobsFn = jobs; -*/ - } JobOpcode* Parallaction_br::createJobOpcode(uint functionId, Job *job) { - //return new OpcodeImpl2<Parallaction_br>(this, _jobsFn[functionId], job); - return 0; + return new OpcodeImpl2<Parallaction_br>(this, _jobsFn[functionId], job); } } // namespace Parallaction |