diff options
author | Nicola Mettifogo | 2007-11-18 21:16:27 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-11-18 21:16:27 +0000 |
commit | 7731af9833dbc01e5ae66bbce4b3e364e414b99a (patch) | |
tree | 072ea99cf3af17602d49eb9f3e3f4c750a9d0e19 /engines/parallaction/parallaction_ns.cpp | |
parent | 7d984d1a67a43e14e3fc32e9c1bbe91b3157b792 (diff) | |
download | scummvm-rg350-7731af9833dbc01e5ae66bbce4b3e364e414b99a.tar.gz scummvm-rg350-7731af9833dbc01e5ae66bbce4b3e364e414b99a.tar.bz2 scummvm-rg350-7731af9833dbc01e5ae66bbce4b3e364e414b99a.zip |
Partly decoupled rendering from game data update. Graphics routines to draw/erase animations and labels are now invoked explicitly instead of being handled in the job list.
svn-id: r29561
Diffstat (limited to 'engines/parallaction/parallaction_ns.cpp')
-rw-r--r-- | engines/parallaction/parallaction_ns.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/parallaction/parallaction_ns.cpp b/engines/parallaction/parallaction_ns.cpp index 162e9c46c7..e56db61691 100644 --- a/engines/parallaction/parallaction_ns.cpp +++ b/engines/parallaction/parallaction_ns.cpp @@ -256,9 +256,9 @@ int Parallaction_ns::go() { changeLocation(_location._name); - addJob(kJobEraseAnimations, (void*)1, kPriority20); +// addJob(kJobEraseAnimations, (void*)1, kPriority20); _jRunScripts = addJob(kJobRunScripts, 0, kPriority15); - addJob(kJobDisplayAnimations, 0, kPriority3); +// addJob(kJobDisplayAnimations, 0, kPriority3); runGame(); @@ -444,17 +444,17 @@ void Parallaction_ns::changeCharacter(const char *name) { void Parallaction_ns::initJobs() { static const JobFn jobs[] = { - &Parallaction_ns::jobDisplayAnimations, - &Parallaction_ns::jobEraseAnimations, + 0, + 0, &Parallaction_ns::jobDisplayDroppedItem, &Parallaction_ns::jobRemovePickedItem, &Parallaction_ns::jobRunScripts, &Parallaction_ns::jobWalk, - &Parallaction_ns::jobDisplayLabel, - &Parallaction_ns::jobEraseLabel, - &Parallaction_ns::jobWaitRemoveJob, + 0, + 0, + 0, &Parallaction_ns::jobToggleDoor, - &Parallaction_ns::jobShowInventory, + 0, &Parallaction_ns::jobHideInventory }; |