aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/utils/utils.cpp
AgeCommit message (Collapse)Author
2019-07-14WINTERMUTE: Add a warning for off-by-one errors in normalizeAngle()Filippos Karapetis
2019-07-14WINTERMUTE: Fixed normalizeAngle's output range from 0-360 to 0-359kyranet
WINTERMUTE: Enhanced BaseUtils::normalizeAngle to run the while if angle is greater than 359. When normalizing an angle, we expect the number to be between 0 and 359 (since 360 is 0), this changes the util so 360 is transformed to 0. The case for 359.8 (which this would make it -0.2) is covered by the following while loop, which will increase it back to 359.8.
2014-08-29WINTERMUTE: Remove unused Sqr-function.Einar Johan Trøan Sømåen
2014-02-18WINTERMUTE: Make GPL headers consistent in themselves.Johannes Schickel
2013-08-04WINTERMUTE: Fix end of namespace comments.Johannes Schickel
2013-01-26WINTERMUTE: Replace all NULLs with nullptr.Einar Johan Trøan Sømåen
2012-09-04WINTERMUTE: Convert CRLF to LFWillem Jan Palenstijn
2012-08-13WINTERMUTE: WinterMute -> WintermuteEinar Johan Trøan Sømåen
2012-08-11WINTERMUTE: Get rid of strncpy+manual termination.Einar Johan Trøan Sømåen
2012-08-07WINTERMUTE: Save the random-seed as well.Einar Johan Trøan Sømåen
2012-07-29WINTERMUTE: Remove more unused utils.Einar Johan Trøan Sømåen
2012-07-27WINTERMUTE: Fix a Clang-warningEinar Johan Trøan Sømåen
2012-07-26WINTERMUTE: More variable/function renaming VarName->varNameEinar Johan Trøan Sømåen
2012-07-26WINTERMUTE: var_name -> varNameEinar Johan Trøan Sømåen
2012-07-26WINTERMUTE: Run Astyle with add-braces to break one-line statements into ↵Einar Johan Trøan Sømåen
easier-to-read-code.
2012-07-26WINTERMUTE: AStyle-formatting.Einar Johan Trøan Sømåen
2012-07-23WINTERMUTE: Clean out unused utils.Einar Johan Trøan Sømåen
2012-07-21WINTERMUTE: Get rid of the C-prefix for class-definitions.Einar Johan Trøan Sømåen
2012-07-21WINTERMUTE: Rename CamelCased filenames to prefixed_under_score-filenamesEinar Johan Trøan Sømåen
This is mostly a lead-up to namespacing the Ad/Base folders, and then possibly removing the prefixes from the files, it also has the added benefit of getting rid of the odd case-typos that makes for issues on platforms that don't ignore case.
2012-07-20WINTERMUTE: Rename PlatformSDL->platform_osystemEinar Johan Trøan Sømåen
2012-07-19WINTERMUTE: Change all folder-names to lowercase.Einar Johan Trøan Sømåen
2012-07-09WINTERMUTE: Change usage of Common::Rect to our own 32-bit variant.Einar Johan Trøan Sømåen
2012-07-09WINTERMUTE: Rename VarName->varName in WinterMute::UtilsEinar Johan Trøan Sømåen
2012-07-09WINTERMUTE: Change RECT -> Common::Rect and POINT-> Common::Point, ↵Einar Johan Trøan Sømåen
completing the removal of Windows-specifics in wintypes.h
2012-07-09WINTERMUTE: Remove most of the wintype-definitions.Einar Johan Trøan Sømåen
2012-07-09WINTERMUTE: Remove references to HWNDEinar Johan Trøan Sømåen
2012-07-03WINTERMUTE: Rename FuncName->funcName in utilsEinar Johan Trøan Sømåen
2012-07-03WINTERMUTE: Rename FuncName->funcName in PathUtil and StringUtilEinar Johan Trøan Sømåen
2012-07-03WINTERMUTE: Mass-rename "Value"->"value"Einar Johan Trøan Sømåen
2012-06-26WINTERMUTE: Fix a few warnings pointed out by [md5]Einar Johan Trøan Sømåen
2012-06-22WINTERMUTE: Remove AdActorDir and fix buildEinar Johan Trøan Sømåen
2012-06-15WINTERMUTE: Get rid of rand/srand.Einar Johan Trøan Sømåen
2012-06-08WINTERMUTE: Move FORBIDDEN_SYMBOL_EXCEPTION out of the headers and into the ↵Einar Johan Trøan Sømåen
CPP-files that still need it.
2012-06-02WINTERMUTE: Add folders for utils and videoEinar Johan Trøan Sømåen