aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/mads_views.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/m4/mads_views.h')
-rw-r--r--engines/m4/mads_views.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/m4/mads_views.h b/engines/m4/mads_views.h
index 294eb3bd1a..8cd2024180 100644
--- a/engines/m4/mads_views.h
+++ b/engines/m4/mads_views.h
@@ -77,6 +77,10 @@ public:
int getIndex();
void addSprites(const char *resName);
+ void clear() {
+ startIndex = 0;
+ _sprites.clear();
+ }
void draw(View *view);
};
@@ -114,6 +118,7 @@ public:
}
int add(int xp, int yp, uint fontColour, int charSpacing, const char *msg, Font *font);
+ void clear();
void draw(View *view);
};