aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision')
-rw-r--r--engines/zvision/events.cpp49
1 files changed, 23 insertions, 26 deletions
diff --git a/engines/zvision/events.cpp b/engines/zvision/events.cpp
index 68fa81ede3..ca96f52457 100644
--- a/engines/zvision/events.cpp
+++ b/engines/zvision/events.cpp
@@ -121,37 +121,34 @@ void ZVision::onMouseMove(const Common::Point &pos) {
// Graph of the function governing rotation velocity:
//
- // |--------------- working window -----------------|
- // ^ |--------|
+ // |---------------- working window ------------------|
+ // ^ |---------|
// | |
- // +Max velocity | rotation screen edge offset _____________________
- // | /
- // | /
- // | /
- // | /
- // | /
- // | /
- // | /
- // | /
- // | /
- // Zero velocity |______________________________ ______________________________/____________________________________>
- // | Position -> /
- // | /
- // | /
- // | /
- // | /
- // | /
- // | /
- // | /
- // | /
- // -Max velocity |_____________________/
+ // +Max velocity | rotation screen edge offset
+ // | /|
+ // | / |
+ // | / |
+ // | / |
+ // | / |
+ // | / |
+ // | / |
+ // | / |
+ // | / |
+ // Zero velocity |______________________________ ______________________________/_________|__________________________>
+ // | Position -> | /
+ // | | /
+ // | | /
+ // | | /
+ // | | /
+ // | | /
+ // | | /
+ // | | /
+ // | | /
+ // -Max velocity | |/
// |
// |
// ^
- // NOTE: RenderManger uses the inverse of velocity (ms/pixel instead of pixels/ms) because it allows you to accumulate whole
- // pixels 'steps' instead of rounding pixels every frame
-
if (_workingWindow.contains(pos)) {
RenderTable::RenderState renderState = _renderManager->getRenderTable()->getRenderState();
if (renderState == RenderTable::PANORAMA) {