Commit Graph
27 Commits
Author SHA1 Message Date
Paul Gilbert e95969dc16 AGS: Fixed translation keys ascii->utf8 conversion
From upstream 607d68522092f8e4c716552635e4213aaf5b4113
2022-04-22 21:06:24 -07:00
Paul Gilbert 007baa9541 AGS: Restore proper text format in close_translation()
From upstream b83d8567ae76c3840784f55aa8d06ffd9a7fdf91
2022-04-13 21:55:20 -07:00
Paul Gilbert 596ddd0be6 AGS: Added some utf-8 utils and moved ConvertUtf8ToAscii to StrUtil
From upstream 307d40d4b6808ed906e918dd6dcc0332b1d6baa2
2022-04-13 21:55:19 -07:00
Paul Gilbert 4e9cb56a9d AGS: Optionally use OPT_GAMETEXTENCODING for TRA keys conversion
From upstream f2eda64c172c9e8756d820a73edeca023d6f6933
2022-04-12 22:27:58 -07:00
Paul Gilbert 6ab3c326b3 AGS: Don't quit if setting translation failed on start
From upstream ac5cb3be64a5c23e8d274099baed76b0b54cfb17
2022-03-27 19:14:54 -07:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paul Gilbert d9bbf9775c AGS: Rewrote ci_find_file() into File::FindFileCI()
From upstream 4e2df949ff36bbb6d08e402586dc8c2bb02ecad9
2021-07-10 18:56:59 -07:00
Paul Gilbert 5dec9be2e9 AGS: Skeleton for converting UTF-8 translation keys to ASCII
From upstream e04f86a91b248f598fccf04369e0874393a9a45d

Upstream uses locale, but since that isn't available to a
ScummVM engine, for now it's just a skeleton implementation
2021-07-10 14:33:36 -07:00
Paul Gilbert 93bc3a65d4 AGS: use text encoding hint from translation
From upstream f77000a5ef7a7188022c6d5d8f25941ae1e19ef6
2021-07-07 22:07:10 -07:00
Paul Gilbert 81f0088064 AGS: Start in the UTF-8 mode, switch encoding based on game data
From upstream 1d8a47d494a5211645ca2883b7c1f4931e1cc34a
2021-07-07 22:07:10 -07:00
Paul Gilbert 7c71a16683 AGS: Use shared data ext algorithm when reading/writing translation
From upstream e74b5ca5e45e6440f0a46a9b0fc0131c5dd6738e
2021-06-13 21:09:14 -07:00
Paul Gilbert f913067750 AGS: Reimplemented Translation reading in Common, similar to Game and Room
From upstream cae33966338b24a0d2527bc0c537ac65fe39eddb
2021-06-13 21:09:11 -07:00
Paul Gilbert fdca14a38d AGS: Replaced TreeMap with std::unordered_map for translations
From upstream 3a4603dccc175736dfc20daf3376819dfb2060e8
2021-06-13 21:09:11 -07:00
Paul Gilbert 701396361c AGS: Import of fresh codebase 2021-06-13 21:08:44 -07:00
Paul Gilbert bad09b641f AGS: Move translation.cpp globals to Globals 2021-03-10 20:49:59 -08:00
Paul Gilbert 94423abaa1 AGS: Move usetup to Globals 2021-03-05 21:36:00 -08:00
Paul Gilbert ae9a824fba AGS: Fix text strings changed in game search & replace 2021-02-27 15:31:34 -08:00
Paul Gilbert 334b2a9d48 AGS: Move play to Globals 2021-02-27 15:31:34 -08:00
Paul Gilbert 1a8ae27b58 AGS: Move game & spriteset into Globals 2021-02-26 21:28:53 -08:00
Paul Gilbert c51cc1dd76 AGS: Add missing files from engine/ac/ to project 2021-02-06 16:37:31 -08:00
Paul Gilbert fe46be9223 AGS: Added engine/ac/ folder 2021-02-06 16:37:31 -08:00
Paul Gilbert 9a78e04039 AGS: Beginnings of engine/ inclusion 2021-02-06 16:37:31 -08:00
Paul Gilbert a7a9ca0543 AGS: Adding AGS3 namespace to cpp files 2021-02-06 16:37:31 -08:00
Paul Gilbert d8e471b03c AGS: Changing Common namespace to Shared 2021-02-06 16:37:31 -08:00
dreammaster 8026e4bb30 AGS: Run astyle formatting 2021-02-06 16:37:31 -08:00
Paul Gilbert bd6a58d1a1 AGS: Adding ScummVM comment headers 2021-02-06 16:37:31 -08:00
Paul Gilbert a60d290a08 AGS: Initial addition of engine/ and shared/ folders 2021-02-06 16:37:31 -08:00