aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/video/subtitle_card.h
diff options
context:
space:
mode:
authorTobia Tesan2014-02-22 11:18:05 +0100
committerTobia Tesan2014-10-15 21:36:46 +0200
commit5f25cf1bd731ed2bae852610c74a9917942ab883 (patch)
tree932cd3000270860ffe12e5895f1cb1ee205e4c32 /engines/wintermute/video/subtitle_card.h
parentf1ae8e6e8d89f53e8fcd6ffb7eb3faf1e5ab8993 (diff)
downloadscummvm-rg350-5f25cf1bd731ed2bae852610c74a9917942ab883.tar.gz
scummvm-rg350-5f25cf1bd731ed2bae852610c74a9917942ab883.tar.bz2
scummvm-rg350-5f25cf1bd731ed2bae852610c74a9917942ab883.zip
WINTERMUTE: Don't bother inheriting BaseGame in SubtitleCard
Diffstat (limited to 'engines/wintermute/video/subtitle_card.h')
-rw-r--r--engines/wintermute/video/subtitle_card.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/wintermute/video/subtitle_card.h b/engines/wintermute/video/subtitle_card.h
index 5390d64fcb..94543d93fa 100644
--- a/engines/wintermute/video/subtitle_card.h
+++ b/engines/wintermute/video/subtitle_card.h
@@ -29,11 +29,13 @@
#ifndef WINTERMUTE_SUBTITLECARD_H
#define WINTERMUTE_SUBTITLECARD_H
-#include "engines/wintermute/base/base.h"
+#include "common/str.h"
namespace Wintermute {
-class SubtitleCard : public BaseClass {
+class BaseGame;
+
+class SubtitleCard {
public:
SubtitleCard(BaseGame *inGame);
SubtitleCard(BaseGame *inGame, const Common::String &text, const uint &startFrame, const uint &endFrame);
@@ -41,6 +43,7 @@ public:
uint32 getStartFrame();
Common::String getText();
private:
+ BaseGame* _gameRef;
uint32 _endFrame;
uint32 _startFrame;
Common::String _text;