aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_stacks/myst.h
diff options
context:
space:
mode:
authorBastien Bouclet2010-12-29 19:33:49 +0000
committerBastien Bouclet2010-12-29 19:33:49 +0000
commit6c9a4d36ec3171cfc16f4ed7cd767a462bda87a7 (patch)
treeda240e2d4a78dc01de482f70ab1b5ae8b719e7e4 /engines/mohawk/myst_stacks/myst.h
parent5e88223e8e4aa4e04c12f13c5eac8a24c1e79df0 (diff)
downloadscummvm-rg350-6c9a4d36ec3171cfc16f4ed7cd767a462bda87a7.tar.gz
scummvm-rg350-6c9a4d36ec3171cfc16f4ed7cd767a462bda87a7.tar.bz2
scummvm-rg350-6c9a4d36ec3171cfc16f4ed7cd767a462bda87a7.zip
MOHAWK: Implement Myst opcode 214, Stellar observatory initialization
svn-id: r55063
Diffstat (limited to 'engines/mohawk/myst_stacks/myst.h')
-rw-r--r--engines/mohawk/myst_stacks/myst.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/engines/mohawk/myst_stacks/myst.h b/engines/mohawk/myst_stacks/myst.h
index fa87009dc0..386d2b0f5d 100644
--- a/engines/mohawk/myst_stacks/myst.h
+++ b/engines/mohawk/myst_stacks/myst.h
@@ -66,6 +66,7 @@ private:
void tree_run();
void imagerValidation_run();
void imager_run();
+ void observatory_run();
DECLARE_OPCODE(o_libraryBookPageTurnLeft);
DECLARE_OPCODE(o_libraryBookPageTurnRight);
@@ -158,7 +159,7 @@ private:
DECLARE_OPCODE(o_fireplace_init);
DECLARE_OPCODE(opcode_212);
DECLARE_OPCODE(opcode_213);
- DECLARE_OPCODE(opcode_214);
+ DECLARE_OPCODE(o_observatory_init);
DECLARE_OPCODE(opcode_215);
DECLARE_OPCODE(o_treeCard_init);
DECLARE_OPCODE(o_treeEntry_init);
@@ -250,6 +251,16 @@ private:
uint16 _treeMinAccessiblePosition; // 230
uint16 _treeMaxAccessiblePosition; // 232
+ bool _observatoryRunning;
+ MystResourceType8 *_observatoryVisualizer; // 184
+ MystResourceType8 *_observatoryGoButton; // 188
+ MystResourceType10 *_observatoryDaySlider; // 192
+ MystResourceType10 *_observatoryMonthSlider; // 196
+ MystResourceType10 *_observatoryYearSlider; // 200
+ MystResourceType10 *_observatoryTimeSlider; // 204
+ uint32 _observatoryLastTime; // 208
+ bool _observatoryNotInitialized; // 212
+
void generatorRedrawRocket();
void generatorButtonValue(MystResource *button, uint16 &offset, uint16 &value);
@@ -273,6 +284,9 @@ private:
void treeSetAlcoveAccessible();
uint32 treeNextMoveDelay(uint16 pressure);
+
+ void observatorySetTargetToSetting();
+ void observatoryUpdateVisualizer(uint16 x, uint16 y);
};
} // End of namespace Mohawk