aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/pegasus.h
diff options
context:
space:
mode:
authorMatthew Hoops2011-09-20 11:49:20 -0400
committerMatthew Hoops2011-09-20 11:49:20 -0400
commitfec7a123fd34bd167528b49ddb46a3123f31c416 (patch)
tree6c9a3fe424949ada4ded89509533405da18eb93b /engines/pegasus/pegasus.h
parent635c8aa370e78cfc74dc66dd7efad5924ba348d2 (diff)
downloadscummvm-rg350-fec7a123fd34bd167528b49ddb46a3123f31c416.tar.gz
scummvm-rg350-fec7a123fd34bd167528b49ddb46a3123f31c416.tar.bz2
scummvm-rg350-fec7a123fd34bd167528b49ddb46a3123f31c416.zip
PEGASUS: Begin hooking the new code in as the main code
The first notification has been received!
Diffstat (limited to 'engines/pegasus/pegasus.h')
-rw-r--r--engines/pegasus/pegasus.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/engines/pegasus/pegasus.h b/engines/pegasus/pegasus.h
index 8d49050ab6..a9984ea66d 100644
--- a/engines/pegasus/pegasus.h
+++ b/engines/pegasus/pegasus.h
@@ -33,8 +33,11 @@
#include "engines/engine.h"
#include "pegasus/graphics.h"
+#include "pegasus/hotspot.h"
#include "pegasus/input.h"
+#include "pegasus/notification.h"
#include "pegasus/video.h"
+#include "pegasus/items/inventory.h"
#include "pegasus/neighborhood/neighborhood.h"
namespace Video {
@@ -66,7 +69,7 @@ enum GameMode {
kQuitMode
};
-class PegasusEngine : public ::Engine, public InputHandler {
+class PegasusEngine : public ::Engine, public InputHandler, public NotificationManager {
friend class InputHandler;
public:
@@ -101,6 +104,9 @@ protected:
Cursor *_cursor;
+ Notification _shellNotification;
+ virtual void receiveNotification(Notification *notification, const tNotificationFlags flags);
+
private:
// Intro
void runIntro();
@@ -152,6 +158,8 @@ private:
// Items
void createItems();
void createItem(tItemID itemID, tNeighborhoodID neighborhoodID, tRoomID roomID, tDirectionConstant direction);
+ Inventory _items;
+ Inventory _biochips;
// TimeBases
Common::List<TimeBase *> _timeBases;
@@ -163,6 +171,9 @@ private:
void loadFromContinuePoint();
Common::ReadStream *_continuePoint;
bool _saveAllowed, _loadAllowed; // It's so nice that this was in the original code already :P
+
+ // Misc.
+ Hotspot _returnHotspot;
};
} // End of namespace Pegasus