Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-11-14 | WINTERMUTE: Fix Missing Default Switch Cases | D G Turner | |
These are flagged by GCC if -Wswitch-default is enabled. | |||
2019-07-21 | WINTERMUTE: Support CHARSET_TURKISH at StringUtil | lolbot-iichan | |
2019-07-14 | WINTERMUTE: Add a warning for off-by-one errors in normalizeAngle() | Filippos Karapetis | |
2019-07-14 | WINTERMUTE: Fixed normalizeAngle's output range from 0-360 to 0-359 | kyranet | |
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. | |||
2019-06-30 | COMMON & WINTERMUTE: Use non-1252 for 125X games (PR 1698) | lolbot-iichan | |
* WINTERMUTE: Add detection for "The Driller Incident" "The Driller Incident" is a small freeware game for Wintermute, avaliable in English and Russian: http://questzone.ru/enzi/files/1645 * WINTERMUTE: Add detection table for "One Helluva Day" demo "One Helluva Day" is a point-and-click adventure demo in English / Czech / Russian. Free download: https://store.steampowered.com/app/603680/One_helluva_day/ * WINTERMUTE: Support CHARSET property for TT fonts "// we don't need this anymore" was a mistake =) Surely, most Wintermute games are either designed for 1252 language (DE_DEU, EN_ANY, ES_ESP, FR_FRA, IT_ITA, PT_BRA), or don't use TrueType fonts (5ma, deadcity, grotter1, grotter2, thekite, tib), or use CHARSET=1 with UTF strings (dirtysplit, reversion1, reversion2, twc), which meen this conversion is not needed for those games. However, there are some games that explicitly states CHARSET=10 (driller (RU_RUS), oknytt (RU_RUS), onehelluvaday (UNK_LANG when playing as Russian)) and there are some games with CHARSET=1 with non-1252 in mind (bookofgron (RU_RUS excepts 1251), carolreed4 (RU_RUS excepts 1251), kulivocko (CZ_CZE excepts 1250)). This fixes text in some games: bookofgron, carolreed4, driller, kulivocko, oknytt, onehelluvaday. * WINTERMUTE: Break savegame compatibility sizeof(BaseFontTT) was changed, so let's break savegame compatibility * COMMON: Add conversion tables for win1253 and win1257 * COMMON: Add string conversion from U32String back to Common::String convertUtf32ToUtf8 code is based on Wintermute::ConvertUTF32toUTF8 convertFromU32String use convertUtf32ToUtf8 for UTF8 or lookup through conversion table for single-byte encodings * WINTERMUTE: Use Common::convert functions for non-UTF charsets * WINTERMUTE: Fix whitespaces at detection tables * WINTERMUTE: Add TODO comments | |||
2017-08-06 | JANITORIAL: Silence more GCC 7 warnings | Torbjörn Andersson | |
All these fall through were marked as deliberate, so again I've only changed the comment to silence GCC. | |||
2016-12-26 | WINTERMUTE: Try to "correctly" handle dir paths | Tobia 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-26 | WINTERMUTE: only access -1th char of string if length > 0 in getFileName | Tobia Tesan | |
Fixes #6594 | |||
2016-03-31 | WINTERMUTE: Turn AnsiString into Common::String in PathUtil | Tobia Tesan | |
AnsiString is already typedefd to Common::String | |||
2015-11-07 | WINTERMUTE: C++'ify code | Eugene Sandulenko | |
2014-08-29 | WINTERMUTE: Remove unused Sqr-function. | Einar Johan Trøan Sømåen | |
2014-02-18 | WINTERMUTE: Make GPL headers consistent in themselves. | Johannes Schickel | |
2013-11-23 | WINTERMUTE: Switch WideString to U32String. | Johannes Schickel | |
2013-11-08 | WINTERMUTE: Move the isAscii() string changing code to another function | Filippos Karapetis | |
2013-11-08 | WINTERMUTE: Allow utf8ToWide() and wideToUtf8() work with ASCII strings | Filippos 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-20 | WINTERMUTE: Replace CP1252-symbol ... with 3 full stops. | Einar Johan Trøan Sømåen | |
2013-08-04 | WINTERMUTE: Fix end of namespace comments. | Johannes Schickel | |
2013-01-26 | WINTERMUTE: Replace all NULLs with nullptr. | Einar Johan Trøan Sømåen | |
2013-01-22 | WINTERMUTE: Silence a warning. | Einar Johan Trøan Sømåen | |
2013-01-22 | WINTERMUTE: Guard ConfMan a bit better. | Einar Johan Trøan Sømåen | |
2012-10-23 | WINTERMUTE: Convert ' correctly from CP1252 | Einar Johan Trøan Sømåen | |
2012-09-04 | WINTERMUTE: Convert CRLF to LF | Willem Jan Palenstijn | |
2012-08-31 | WINTERMUTE: Use tabs in enums | Einar Johan Trøan Sømåen | |
2012-08-31 | WINTERMUTE: Cleanup the header-guards. | Einar Johan Trøan Sømåen | |
2012-08-31 | WINTERMUTE: Add namespacing to the UTF-conversion code | Einar Johan Trøan Sømåen | |
2012-08-13 | WINTERMUTE: WinterMute -> Wintermute | Einar Johan Trøan Sømåen | |
2012-08-11 | WINTERMUTE: Get rid of strncpy+manual termination. | Einar Johan Trøan Sømåen | |
2012-08-07 | WINTERMUTE: Save the random-seed as well. | Einar Johan Trøan Sømåen | |
2012-07-29 | WINTERMUTE: Remove statics and silence spam in debug console. | Einar Johan Trøan Sømåen | |
2012-07-29 | WINTERMUTE: Remove unused functions from StringUtil:: | Einar Johan Trøan Sømåen | |
2012-07-29 | WINTERMUTE: Replace BaseRegistry with ConfMan | Einar Johan Trøan Sømåen | |
2012-07-29 | WINTERMUTE: Remove more unused utils. | Einar Johan Trøan Sømåen | |
2012-07-27 | WINTERMUTE: Hardcode the Game.SaveDirectory return value in-engine for now. | Einar Johan Trøan Sømåen | |
2012-07-27 | WINTERMUTE: Move settings-files to save-dir (gzipped xml now) | Einar Johan Trøan Sømåen | |
2012-07-27 | WINTERMUTE: Remove all unneccessary #if 0 blocks | Einar Johan Trøan Sømåen | |
2012-07-27 | WINTERMUTE: Fix a Clang-warning | Einar Johan Trøan Sømåen | |
2012-07-27 | WINTERMUTE: Get rid of almost all LLVM GCC 4.2 warnings. | Einar Johan Trøan Sømåen | |
2012-07-26 | WINTERMUTE: More variable/function renaming VarName->varName | Einar Johan Trøan Sømåen | |
2012-07-26 | WINTERMUTE: var_name -> varName | Einar Johan Trøan Sømåen | |
2012-07-26 | WINTERMUTE: Run Astyle with add-braces to break one-line statements into ↵ | Einar Johan Trøan Sømåen | |
easier-to-read-code. | |||
2012-07-26 | WINTERMUTE: AStyle-formatting. | Einar Johan Trøan Sømåen | |
2012-07-25 | WINTERMUTE: "delete []" -> "delete[]" | Einar Johan Trøan Sømåen | |
2012-07-23 | WINTERMUTE: Remove dcgf.h from almost all includes. | Einar Johan Trøan Sømåen | |
2012-07-23 | WINTERMUTE: Clean out unused utils. | Einar Johan Trøan Sømåen | |
2012-07-22 | WINTERMUTE: Fix a few issues in PathUtil, mainly getFileNameWithoutExtension ↵ | Einar Johan Trøan Sømåen | |
was off by one | |||
2012-07-21 | WINTERMUTE: Get rid of the C-prefix for class-definitions. | Einar Johan Trøan Sømåen | |
2012-07-21 | WINTERMUTE: Rename CamelCased filenames to prefixed_under_score-filenames | Einar 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-20 | WINTERMUTE: 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-20 | WINTERMUTE: Rename PlatformSDL->platform_osystem | Einar Johan Trøan Sømåen | |
2012-07-19 | WINTERMUTE: Change all folder-names to lowercase. | Einar Johan Trøan Sømåen | |