aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/iphone/iphone_common.h
diff options
context:
space:
mode:
authorJohannes Schickel2012-02-23 20:59:26 +0100
committerJohannes Schickel2012-02-23 20:59:26 +0100
commit97feac5342420653bb1f4a5fbca68a5aae6b09a8 (patch)
tree821710fef218028a9dbd2d1705d01e2279d95a81 /backends/platform/iphone/iphone_common.h
parent5ae958bcf3a1dc4d7be093eac99eb0d5145c8c7e (diff)
downloadscummvm-rg350-97feac5342420653bb1f4a5fbca68a5aae6b09a8.tar.gz
scummvm-rg350-97feac5342420653bb1f4a5fbca68a5aae6b09a8.tar.bz2
scummvm-rg350-97feac5342420653bb1f4a5fbca68a5aae6b09a8.zip
IPHONE: Add a constructor to VideoContext.
Diffstat (limited to 'backends/platform/iphone/iphone_common.h')
-rw-r--r--backends/platform/iphone/iphone_common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/iphone/iphone_common.h b/backends/platform/iphone/iphone_common.h
index 18821e697f..f5111fbe8c 100644
--- a/backends/platform/iphone/iphone_common.h
+++ b/backends/platform/iphone/iphone_common.h
@@ -56,6 +56,12 @@ enum GraphicsModes {
};
struct VideoContext {
+ VideoContext() : screenWidth(), screenHeight(), overlayVisible(false),
+ overlayWidth(), overlayHeight(), mouseX(), mouseY(),
+ mouseHotspotX(), mouseHotspotY(), mouseWidth(), mouseHeight(),
+ mouseIsVisible(), graphicsMode(kGraphicsModeLinear), shakeOffsetY() {
+ }
+
// Game screen state
uint screenWidth, screenHeight;