aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/pegasus.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pegasus/pegasus.h')
-rw-r--r--engines/pegasus/pegasus.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/pegasus/pegasus.h b/engines/pegasus/pegasus.h
index 13e975e0c8..0dd0a2abe3 100644
--- a/engines/pegasus/pegasus.h
+++ b/engines/pegasus/pegasus.h
@@ -28,9 +28,9 @@
#include "common/list.h"
#include "common/macresman.h"
+#include "common/rect.h"
#include "common/scummsys.h"
#include "common/system.h"
-#include "common/rect.h"
#include "common/util.h"
#include "engines/engine.h"
@@ -44,6 +44,10 @@
#include "pegasus/items/itemdragger.h"
#include "pegasus/neighborhood/neighborhood.h"
+namespace Common {
+ class RandomSource;
+}
+
namespace Video {
class SeekableVideoDecoder;
}
@@ -102,6 +106,7 @@ public:
void createInterface();
void setGameMode(const tGameMode);
tGameMode getGameMode() const { return _gameMode; }
+ uint getRandomBit();
// Energy
void setLastEnergyValue(const int32 value) { _savedEnergyValue = value; }
@@ -112,6 +117,7 @@ public:
tDeathReason getEnergyDeathReason() { return _deathReason; }
void resetEnergyDeathReason();
void die(const tDeathReason);
+ void playEndMessage();
// Volume
uint16 getSoundFXLevel() { return _FXLevel; }
@@ -234,6 +240,7 @@ private:
bool playMovieScaled(Video::SeekableVideoDecoder *video, uint16 x, uint16 y);
void throwAwayEverything();
void shellGameInput(const Input &input, const Hotspot *cursorSpot);
+ Common::RandomSource *_rnd;
// Menu
GameMenu *_gameMenu;