aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/pegasus.h
diff options
context:
space:
mode:
authorMatthew Hoops2011-09-26 09:29:17 -0400
committerMatthew Hoops2011-09-26 09:29:17 -0400
commite412b62ffce4297da7df8fc4b71a619fa3a89880 (patch)
tree4bcf7785f5fdb6fe49a07accebc630742ff568e1 /engines/pegasus/pegasus.h
parent24cc9568cbefe6570dd846874c0681f3c09521bd (diff)
downloadscummvm-rg350-e412b62ffce4297da7df8fc4b71a619fa3a89880.tar.gz
scummvm-rg350-e412b62ffce4297da7df8fc4b71a619fa3a89880.tar.bz2
scummvm-rg350-e412b62ffce4297da7df8fc4b71a619fa3a89880.zip
PEGASUS: Implement the death code
Diffstat (limited to 'engines/pegasus/pegasus.h')
-rw-r--r--engines/pegasus/pegasus.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/pegasus/pegasus.h b/engines/pegasus/pegasus.h
index f881aa6f4c..b01e1929f6 100644
--- a/engines/pegasus/pegasus.h
+++ b/engines/pegasus/pegasus.h
@@ -111,6 +111,7 @@ public:
void setEnergyDeathReason(const tDeathReason reason) { _deathReason = reason; }
tDeathReason getEnergyDeathReason() { return _deathReason; }
void resetEnergyDeathReason();
+ void die(const tDeathReason);
// Volume
uint16 getSoundFXLevel();
@@ -188,6 +189,7 @@ private:
void showLoadDialog();
void showTempScreen(const Common::String &fileName);
bool playMovieScaled(Video::SeekableVideoDecoder *video, uint16 x, uint16 y);
+ void throwAwayEverything();
// Menu
GameMenu *_gameMenu;
@@ -199,6 +201,7 @@ private:
// Death
tDeathReason _deathReason;
+ void doDeath();
// Neighborhood
Neighborhood *_neighborhood;