aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/mads_views.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2010-06-27 05:17:40 +0000
committerPaul Gilbert2010-06-27 05:17:40 +0000
commitc922af06c2d209de13349d9938388242238fc744 (patch)
tree6aa5aeccd2f028a513640760dc7b3075649dd716 /engines/m4/mads_views.cpp
parent6a6091f6d7547d750985f6ee757d5b7c9c2d78b3 (diff)
downloadscummvm-rg350-c922af06c2d209de13349d9938388242238fc744.tar.gz
scummvm-rg350-c922af06c2d209de13349d9938388242238fc744.tar.bz2
scummvm-rg350-c922af06c2d209de13349d9938388242238fc744.zip
Centralised the update logic for the various system lists into the MadsView class
svn-id: r50365
Diffstat (limited to 'engines/m4/mads_views.cpp')
-rw-r--r--engines/m4/mads_views.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/m4/mads_views.cpp b/engines/m4/mads_views.cpp
index 08b579cfb0..7b0b1443a8 100644
--- a/engines/m4/mads_views.cpp
+++ b/engines/m4/mads_views.cpp
@@ -1238,6 +1238,11 @@ void MadsView::refresh() {
_textDisplay.cleanUp();
}
+void MadsView::update() {
+ _sequenceList.tick();
+ _kernelMessages.update();
+}
+
void MadsView::clearLists() {
_textDisplay.clear();
_kernelMessages.clear();