25#ifndef PEGASUS_INTERFACE_H
26#define PEGASUS_INTERFACE_H
28#include "pegasus/hotspot.h"
29#include "pegasus/input.h"
30#include "pegasus/notification.h"
31#include "pegasus/sound.h"
32#include "pegasus/surface.h"
33#include "pegasus/transition.h"
34#include "pegasus/items/inventorypicture.h"
46 void createInterface();
49 void calibrateCompass();
50 void calibrateEnergyBar();
51 void raiseInventoryDrawerSync();
52 void lowerInventoryDrawerSync();
53 void raiseBiochipDrawerSync();
54 void lowerBiochipDrawerSync();
56 void raiseInventoryDrawer(
const bool doCallBacks =
true);
57 void raiseBiochipDrawer(
const bool doCallBacks =
true);
58 void lowerInventoryDrawer(
const bool doCallBacks =
true);
59 void lowerBiochipDrawer(
const bool doCallBacks =
true);
61 void raiseInventoryDrawerForMessage();
62 void lowerInventoryDrawerForMessage();
64 bool isInventoryDown();
68 void removeAllItemsFromInventory();
71 void setCurrentInventoryItemID(ItemID);
73 void removeAllItemsFromBiochips();
76 void setCurrentBiochipID(ItemID);
78 void setDate(
const uint16);
80 void playEndMessage();
82 void throwAwayInterface();
85 void validateBackground();
86 void validateDateMonitor();
87 void validateCompass();
88 void validateNotifications();
89 void validateAIArea();
90 void validateInventoryPanel();
91 void validateBiochipPanel();
92 void validateEnergyMonitor();
94 void throwAwayBackground();
95 void throwAwayDateMonitor();
96 void throwAwayCompass();
97 void throwAwayNotifications();
98 void throwAwayAIArea();
99 void throwAwayInventoryPanel();
100 void throwAwayBiochipPanel();
101 void throwAwayEnergyMonitor();
103 void receiveNotification(
Notification *,
const NotificationFlags)
override;
104 void inventoryLidOpen(
const bool doCallBacks);
105 void inventoryLidClosed();
106 void inventoryDrawerUp();
107 void inventoryDrawerDown(
const bool doCallBacks);
108 void biochipLidOpen(
const bool doCallBacks);
109 void biochipLidClosed();
110 void biochipDrawerUp();
111 void biochipDrawerDown(
const bool doCallBacks);
127 bool _inventoryUp, _inventoryRaised;
128 Sound _inventoryOpenSound, _inventoryCloseSound;
135 bool _biochipUp, _biochipRaised;
136 Sound _biochipOpenSound, _biochipCloseSound;
143 bool _playingEndMessage;
Definition: biochipitem.h:32
Definition: inventorypicture.h:112
Definition: interface.h:41
Definition: inventoryitem.h:39
Definition: inventorypicture.h:91
Definition: notification.h:53
Definition: notification.h:83
Definition: surface.h:125
Definition: transition.h:96
Definition: elements.h:205