diff options
Diffstat (limited to 'engines/pegasus/pegasus.h')
-rw-r--r-- | engines/pegasus/pegasus.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/engines/pegasus/pegasus.h b/engines/pegasus/pegasus.h index 73a95c9a10..2990811e60 100644 --- a/engines/pegasus/pegasus.h +++ b/engines/pegasus/pegasus.h @@ -90,6 +90,15 @@ public: void resetIntroTimer(); void refreshDisplay(); + // Energy + void setLastEnergyValue(const int32 value) { _savedEnergyValue = value; } + int32 getSavedEnergyValue() { return _savedEnergyValue; } + + // Death + void setEnergyDeathReason(const tDeathReason reason) { _deathReason = reason; } + tDeathReason getEnergyDeathReason() { return _deathReason; } + void resetEnergyDeathReason(); + protected: Common::Error run(); @@ -140,6 +149,12 @@ private: GameMenu *_gameMenu; void doGameMenuCommand(const tGameMenuCommand); void doInterfaceOverview(); + + // Energy + int32 _savedEnergyValue; + + // Death + tDeathReason _deathReason; }; } // End of namespace Pegasus |