aboutsummaryrefslogtreecommitdiff
path: root/common/rational.h
AgeCommit message (Collapse)Author
2016-02-18COMMON: Add convenience method to Common::Rational for 1:1 ratiosColin Snover
For SCI engine games, ratios may not be normalised and so to avoid extra scaling, there needs to be a way to simply check whether a ratio is 1:1.
2014-02-18COMMON: Make GPL headers consistent in themselves.Johannes Schickel
2011-09-17COMMON: Add numerator/denominator getters for RationalMatthew Hoops
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2010-09-07COMMON: Remove Rational::operator int/doubleWillem Jan Palenstijn
This prevents accidental implicit rounding and might also fix compilation on AmigaOS4 (bug #3060981). svn-id: r52616
2010-09-06COMMON: Add a debugPrint function to RationalMatthew Hoops
svn-id: r52593
2010-05-17Get rid of Common::Rational::normalize and other redundant codeMax Horn
svn-id: r49066
2010-05-17Add the Common::Rational class from patch #2963496 (VideoDecoder Rewrite)Matthew Hoops
svn-id: r49061