aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_stacks/myst.h
diff options
context:
space:
mode:
authorBastien Bouclet2010-12-12 18:41:15 +0000
committerBastien Bouclet2010-12-12 18:41:15 +0000
commitc6887d0404a6f129f7e02ac24884786ccd5f035b (patch)
tree003ab7176c11517abcb6dcd82c6aa720156b4ec0 /engines/mohawk/myst_stacks/myst.h
parentd19d9991b24c0277cb8fe8a0049a4d70ce92ce76 (diff)
downloadscummvm-rg350-c6887d0404a6f129f7e02ac24884786ccd5f035b.tar.gz
scummvm-rg350-c6887d0404a6f129f7e02ac24884786ccd5f035b.tar.bz2
scummvm-rg350-c6887d0404a6f129f7e02ac24884786ccd5f035b.zip
MOHAWK: Implement Myst opcodes 106, 108 and 202 : tower rotation
svn-id: r54883
Diffstat (limited to 'engines/mohawk/myst_stacks/myst.h')
-rw-r--r--engines/mohawk/myst_stacks/myst.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/mohawk/myst_stacks/myst.h b/engines/mohawk/myst_stacks/myst.h
index 2a6e812b8a..b832a8da51 100644
--- a/engines/mohawk/myst_stacks/myst.h
+++ b/engines/mohawk/myst_stacks/myst.h
@@ -203,7 +203,9 @@ private:
uint16 _towerRotationMapInitialized; // 292
MystResourceType11 *_towerRotationMapTower; // 108
MystResourceType8 *_towerRotationMapLabel; // 112
+ uint16 _towerRotationSpeed; // 124
bool _towerRotationMapClicked; // 132
+ bool _towerRotationOverSpot; // 136
void generatorRedrawRocket();
void generatorButtonValue(MystResource *button, uint16 &offset, uint16 &value);
@@ -219,6 +221,12 @@ private:
void clockWheelStartTurn(uint16 wheel);
void clockWheelTurn(uint16 var);
+
+ void towerRotationMapRotate();
+ void towerRotationDrawBuildings();
+ uint16 towerRotationMapComputeAngle();
+ Common::Point towerRotationMapComputeCoords(const Common::Point &center, uint16 angle);
+ void towerRotationMapDrawLine(const Common::Point &center, const Common::Point &end);
};
} // End of namespace Mohawk