aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrichiesams2013-08-23 23:50:33 -0500
committerrichiesams2013-08-23 23:50:33 -0500
commitf759584d3b4bf802163fde9c721fda5c6f36ff4d (patch)
treed6c1c972d062a0698a36fa495e3b129b471f5467
parent25f95ebdcd2c269cf4016748dc51584aaa9125c5 (diff)
downloadscummvm-rg350-f759584d3b4bf802163fde9c721fda5c6f36ff4d.tar.gz
scummvm-rg350-f759584d3b4bf802163fde9c721fda5c6f36ff4d.tar.bz2
scummvm-rg350-f759584d3b4bf802163fde9c721fda5c6f36ff4d.zip
ZVISION: Make ZVision::_workingWindow and ZVision::_pixelFormat public
-rw-r--r--engines/zvision/zvision.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/engines/zvision/zvision.h b/engines/zvision/zvision.h
index 366e96f6a7..844b8ad18f 100644
--- a/engines/zvision/zvision.h
+++ b/engines/zvision/zvision.h
@@ -64,6 +64,15 @@ public:
ZVision(OSystem *syst, const ZVisionGameDescription *gameDesc);
~ZVision();
+public:
+ /**
+ * A Rectangle centered inside the actual window. All in-game coordinates
+ * are given in this coordinate space. Also, all images are clipped to the
+ * edges of this Rectangle
+ */
+ const Common::Rect _workingWindow;
+ const Graphics::PixelFormat _pixelFormat;
+
private:
enum {
WINDOW_WIDTH = 640,
@@ -72,18 +81,11 @@ private:
WORKING_WINDOW_HEIGHT = 320,
ROTATION_SCREEN_EDGE_OFFSET = 60,
- MAX_ROTATION_SPEED = 150 // Pixels per second
+ MAX_ROTATION_SPEED = 250 // Pixels per second
};
Console *_console;
const ZVisionGameDescription *_gameDescription;
- /**
- * A Rectangle centered inside the actual window. All in-game coordinates
- * are given in this coordinate space. Also, all images are clipped to the
- * edges of this Rectangle
- */
- const Common::Rect _workingWindow;
- const Graphics::PixelFormat _pixelFormat;
const int _desiredFrameTime;