Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-19 | COMMON: Moved string encoding to separate file | Eugene Sandulenko | |
2019-10-18 | COMMON: Added new + operator to U32String | Eugene Sandulenko | |
2019-10-06 | COMMON: Add Missing Default Switch Case to U32String Class | D G Turner | |
These are flagged by GCC if -Wswitch-default is enabled. | |||
2019-10-04 | COMMON: Add methods to U32String to match String | Eugene Sandulenko | |
2019-10-04 | JANITORIAL: Whitespace fixes | Eugene Sandulenko | |
2019-07-21 | COMMON: Add conversion table for CP1254 | lolbot-iichan | |
2019-07-18 | COMMON: Fix U32String initialization issues | Peter Kohaut | |
Bug 1: If the original C string contained chars > 127 they would be stored as huge u32 numbers due to the underflow as char is signed. It still might end-up with invalid UTF32 characters, but now the caller can control it. Bug 2: The inline storage was not properly initialized when U32String was initalized from shorter non-UTF32 strings. | |||
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 | |||
2019-04-21 | COMMON: Fix compiler warning | jepael | |
Cast the string character type to native type for comparison. | |||
2019-01-01 | COMMON: Suport String in U32String assignment & equality operators | Paul Gilbert | |
2018-08-05 | COMMON: changed code page constant name from ascii to utf8 | Andrei Prykhodko | |
2018-08-05 | COMMON: made code pages conversion arrays static and constant | Andrei Prykhodko | |
2018-08-05 | COMMON: named CodePage enum | Andrei Prykhodko | |
2018-08-05 | COMMON: added method to convert text from various code pages to Unicode | Andrei Prykhodko | |
2018-06-18 | COMMON: Add simplistic UTF8->UTF32 converter | Eugene Sandulenko | |
2018-05-10 | COMMON: Use nullptr instead of NULL or 0 where appropriate | Bastien Bouclet | |
2018-04-15 | JANITORIAL: Fix whitespace | Adrian Frühwirth | |
2014-02-18 | COMMON: Make GPL headers consistent in themselves. | Johannes Schickel | |
2013-11-23 | COMMON: Add simple UTF-32 string class U32String. | Johannes Schickel | |