From 1ec7e516822ae344cabd8a35ef226653514339f1 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Wed, 21 Mar 2012 08:22:17 -0400 Subject: PEGASUS: Implement the intro timer --- engines/pegasus/pegasus.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/pegasus/pegasus.h') diff --git a/engines/pegasus/pegasus.h b/engines/pegasus/pegasus.h index ef05585f4c..c6d4c80b76 100644 --- a/engines/pegasus/pegasus.h +++ b/engines/pegasus/pegasus.h @@ -39,6 +39,7 @@ #include "pegasus/hotspot.h" #include "pegasus/input.h" #include "pegasus/notification.h" +#include "pegasus/timers.h" #include "pegasus/items/autodragger.h" #include "pegasus/items/inventory.h" #include "pegasus/items/itemdragger.h" @@ -99,6 +100,7 @@ public: void removeTimeBase(TimeBase *timeBase); void delayShell(TimeValue time, TimeScale scale); void resetIntroTimer(); + void introTimerExpired(); void refreshDisplay(); bool playerAlive(); void processShell(); @@ -210,8 +212,10 @@ private: // Intro void runIntro(); + void stopIntroTimer(); bool detectOpeningClosingDirectory(); Common::String _introDirectory; + FuseFunction *_introTimer; // Idlers Idler *_idlerHead; -- cgit v1.2.3