aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/subtitles.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/subtitles.h')
-rw-r--r--engines/zvision/subtitles.h26
1 files changed, 25 insertions, 1 deletions
diff --git a/engines/zvision/subtitles.h b/engines/zvision/subtitles.h
index 13426e03e4..d14cb6f052 100644
--- a/engines/zvision/subtitles.h
+++ b/engines/zvision/subtitles.h
@@ -24,6 +24,30 @@
#ifndef ZVISION_SUBTITLES_H
#define ZVISION_SUBTITLES_H
-// TODO: Implement Subtitles
+#include "zvision/zvision.h"
+
+namespace ZVision {
+
+class Subtitle {
+public:
+ Subtitle(ZVision *engine, const Common::String &subname);
+ ~Subtitle();
+
+ void process(int32 time);
+private:
+ ZVision *_engine;
+ int32 _areaId;
+ int16 _subId;
+
+ struct sub {
+ int start;
+ int stop;
+ Common::String sub;
+ };
+
+ Common::Array<sub> _subs;
+};
+
+}
#endif