Skip to content

Commit

Permalink
PEGASUS: Update the MMTypes with a TimeValue/TimeScale replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Hoops committed Jun 16, 2011
1 parent e789ab0 commit e5953a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 1 addition & 2 deletions engines/pegasus/MMShell/MMConstants.h
Expand Up @@ -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};
Expand Down
5 changes: 5 additions & 0 deletions engines/pegasus/MMShell/MMTypes.h
Expand Up @@ -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

0 comments on commit e5953a8

Please sign in to comment.