diff options
author | Matthew Hoops | 2011-06-16 15:18:18 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-06-16 15:18:18 -0400 |
commit | e5953a879bf45b8707b1d50ddbe4c2520b062866 (patch) | |
tree | afb347cda18ccd4d12103e733cd8a2594758e0a5 /engines | |
parent | e789ab0d3b21c1c0cf76700b40f2e3c440a825a0 (diff) | |
download | scummvm-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-x | engines/pegasus/MMShell/MMConstants.h | 3 | ||||
-rwxr-xr-x | engines/pegasus/MMShell/MMTypes.h | 5 |
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 |