aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2011-06-16 15:18:18 -0400
committerMatthew Hoops2011-06-16 15:18:18 -0400
commite5953a879bf45b8707b1d50ddbe4c2520b062866 (patch)
treeafb347cda18ccd4d12103e733cd8a2594758e0a5 /engines
parente789ab0d3b21c1c0cf76700b40f2e3c440a825a0 (diff)
downloadscummvm-rg350-e5953a879bf45b8707b1d50ddbe4c2520b062866.tar.gz
scummvm-rg350-e5953a879bf45b8707b1d50ddbe4c2520b062866.tar.bz2
scummvm-rg350-e5953a879bf45b8707b1d50ddbe4c2520b062866.zip
PEGASUS: Update the MMTypes with a TimeValue/TimeScale replacement
Diffstat (limited to 'engines')
-rwxr-xr-xengines/pegasus/MMShell/MMConstants.h3
-rwxr-xr-xengines/pegasus/MMShell/MMTypes.h5
2 files changed, 6 insertions, 2 deletions
diff --git a/engines/pegasus/MMShell/MMConstants.h b/engines/pegasus/MMShell/MMConstants.h
index 21852a9e39..036caad84a 100755
--- a/engines/pegasus/MMShell/MMConstants.h
+++ b/engines/pegasus/MMShell/MMConstants.h
@@ -53,8 +53,7 @@ const tDisplayElementID kCurrentDragSpriteID = 1000;
//const Fixed kFixed1 = 1 << 16;
//const Fixed kFixedMinus1 = -1 << 16;
-// Originally "TimeScale" instead of int
-const int kDefaultTimeScale = 600;
+const TimeScale kDefaultTimeScale = 600;
// TODO
//const RGBColor kWhiteRGB = {0xFFFF, 0xFFFF, 0xFFFF};
diff --git a/engines/pegasus/MMShell/MMTypes.h b/engines/pegasus/MMShell/MMTypes.h
index ae5f0d0a4f..93eac4e293 100755
--- a/engines/pegasus/MMShell/MMTypes.h
+++ b/engines/pegasus/MMShell/MMTypes.h
@@ -93,6 +93,11 @@ enum tSlideDirection {
kSlideDownRightMask = kSlideRightMask | kSlideDownMask
};
+// ScummVM QuickTime/QuickDraw replacement types
+typedef uint TimeValue;
+typedef uint TimeScale;
+// TODO: Fixed and RGBColor
+
} // End of namespace Pegasus
#endif