aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/utils
AgeCommit message (Collapse)Author
2016-12-26WINTERMUTE: Try to "correctly" handle dir pathsTobia Tesan
I put scare quotes around "correctly" because I can't swear this is the intended behaviour of the original interpreter. I don't think accessing filenames that end with / in the .DCPs is even defined behaviour, so this is a best guess.
2016-12-26WINTERMUTE: only access -1th char of string if length > 0 in getFileNameTobia Tesan
Fixes #6594
2016-03-31WINTERMUTE: Turn AnsiString into Common::String in PathUtilTobia Tesan
AnsiString is already typedefd to Common::String
2015-11-07WINTERMUTE: C++'ify codeEugene Sandulenko
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-11-23WINTERMUTE: Switch WideString to U32String.Johannes Schickel
2013-11-08WINTERMUTE: Move the isAscii() string changing code to another functionFilippos Karapetis
2013-11-08WINTERMUTE: Allow utf8ToWide() and wideToUtf8() work with ASCII stringsFilippos Karapetis
This is needed for English versions of multilingual games, which use UTF-8 strings, but we can treat them as plain ASCII, since wide and UTF-8 strings are not yet supported in Wintermute. This allows at least the English versions of these games to run. This allows Reversion 2 and Shaban to start
2013-08-20WINTERMUTE: Replace CP1252-symbol ... with 3 full stops.Einar Johan Trøan Sømåen
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
2013-01-22WINTERMUTE: Silence a warning.Einar Johan Trøan Sømåen
2013-01-22WINTERMUTE: Guard ConfMan a bit better.Einar Johan Trøan Sømåen
2012-10-23WINTERMUTE: Convert ' correctly from CP1252Einar Johan Trøan Sømåen
2012-09-04WINTERMUTE: Convert CRLF to LFWillem Jan Palenstijn
2012-08-31WINTERMUTE: Use tabs in enumsEinar Johan Trøan Sømåen
2012-08-31WINTERMUTE: Cleanup the header-guards.Einar Johan Trøan Sømåen
2012-08-31WINTERMUTE: Add namespacing to the UTF-conversion codeEinar Johan Trøan Sømåen
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 statics and silence spam in debug console.Einar Johan Trøan Sømåen
2012-07-29WINTERMUTE: Remove unused functions from StringUtil::Einar Johan Trøan Sømåen
2012-07-29WINTERMUTE: Replace BaseRegistry with ConfManEinar Johan Trøan Sømåen
2012-07-29WINTERMUTE: Remove more unused utils.Einar Johan Trøan Sømåen
2012-07-27WINTERMUTE: Hardcode the Game.SaveDirectory return value in-engine for now.Einar Johan Trøan Sømåen
2012-07-27WINTERMUTE: Move settings-files to save-dir (gzipped xml now)Einar Johan Trøan Sømåen
2012-07-27WINTERMUTE: Remove all unneccessary #if 0 blocksEinar Johan Trøan Sømåen
2012-07-27WINTERMUTE: Fix a Clang-warningEinar Johan Trøan Sømåen
2012-07-27WINTERMUTE: Get rid of almost all LLVM GCC 4.2 warnings.Einar 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-25WINTERMUTE: "delete []" -> "delete[]"Einar Johan Trøan Sømåen
2012-07-23WINTERMUTE: Remove dcgf.h from almost all includes.Einar Johan Trøan Sømåen
2012-07-23WINTERMUTE: Clean out unused utils.Einar Johan Trøan Sømåen
2012-07-22WINTERMUTE: Fix a few issues in PathUtil, mainly getFileNameWithoutExtension ↵Einar Johan Trøan Sømåen
was off by one
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: Disable ansiToWide for now, as the current implementation was wrong.Einar Johan Trøan Sømåen
An odd side-effect was that the script-function SetHoverCursor in AdItem would rename it's filenames from "folder\subfolder\filename.ext" to "folder'subfolder'filename.ext"
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-19WINTERMUTE: Use correct case for Rect32.h includes.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: Remove the rest of the WIN32-specificsEinar Johan Trøan Sømåen
2012-07-09WINTERMUTE: Cleanup and simplify StringUtil a bit.Einar 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