aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova2/rooms.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/supernova2/rooms.h')
-rw-r--r--engines/supernova2/rooms.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/engines/supernova2/rooms.h b/engines/supernova2/rooms.h
index 26113d0425..2fcf636eea 100644
--- a/engines/supernova2/rooms.h
+++ b/engines/supernova2/rooms.h
@@ -74,6 +74,26 @@ private:
bool _seen;
};
+class Intro : public Room {
+public:
+ Intro(Supernova2Engine *vm, GameManager *gm);
+ virtual void onEntrance();
+
+private:
+ bool animate(int section1, int section2, int duration);
+ bool animate(int section1, int section2, int duration, MessagePosition position,
+ StringId text);
+ bool animate(int section1, int section2, int section3, int section4, int duration,
+ MessagePosition position, StringId text);
+
+ void titleScreen();
+ void titleFadeIn();
+ void cutscene();
+ void leaveCutscene();
+
+ bool _shouldExit;
+ Common::String _introText;
+};
}
#endif // SUPERNOVA2_ROOMS_H