aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_stacks/stoneship.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/myst_stacks/stoneship.h')
-rw-r--r--engines/mohawk/myst_stacks/stoneship.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/mohawk/myst_stacks/stoneship.h b/engines/mohawk/myst_stacks/stoneship.h
index 7fa8e7a486..89f97415be 100644
--- a/engines/mohawk/myst_stacks/stoneship.h
+++ b/engines/mohawk/myst_stacks/stoneship.h
@@ -77,9 +77,9 @@ private:
DECLARE_OPCODE(o_hologramDisplay_init);
DECLARE_OPCODE(o_hologramSelection_init);
- DECLARE_OPCODE(opcode_202);
+ DECLARE_OPCODE(o_battery_init);
DECLARE_OPCODE(opcode_203);
- DECLARE_OPCODE(opcode_204);
+ DECLARE_OPCODE(o_batteryGauge_init);
DECLARE_OPCODE(opcode_205);
DECLARE_OPCODE(opcode_206);
DECLARE_OPCODE(o_chest_init);
@@ -88,6 +88,7 @@ private:
DECLARE_OPCODE(o_cloudOrb_init);
void chargeBattery_run();
+ void batteryDeplete_run();
MystGameState::Stoneship &_state;
@@ -95,6 +96,12 @@ private:
bool _batteryDepleting;
uint32 _batteryNextTime;
+ bool _batteryGaugeRunning;
+ uint16 _batteryLastCharge; // 92
+ MystResourceType8 *_batteryGauge; // 96
+ void batteryGaugeUpdate();
+ void batteryGauge_run();
+
uint16 _cabinMystBookPresent; // 64
uint16 _siriusDrawerDrugsOpen; // 72