Commit Graph
17 Commits
Author SHA1 Message Date
Paul Gilbert 0e0063bb6b AGS: String.AppendChar, ReplaceChar, Chars[] support unicode
From upstream 072ed5716639e2b65a16037dd81e2a332a78611b
2022-04-13 21:55:19 -07:00
D G Turner 08759141c1 AGS: Fix Remaining Cast Qualification Warnings in Unicode Font Code
This was due to an issue with C++ which has issues with "const char **"
as a _partially_ constant pointer type and requires this modifying to
"char const* const*" to be fully const which can also be written
as "const char* const*" which fixes the API without requiring excessive
casts and removes the various GCC Compiler Warnings emitted when
-Wcast-qual is passed.
2022-04-04 13:29:30 +01:00
Paul Gilbert 7132742e04 AGS: Reintroduce upstream's full alfont implementation 2022-03-27 13:37:12 -07:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh a386075217 AGS: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
D G Turner 7814a34f6b AGS: Fix GCC Warning 2021-07-13 06:41:26 +01:00
Paul Gilbert a950522f7d AGS: Properly implement ASCII methods for use in unicode code 2021-07-12 19:50:20 -07:00
aviloria c321401328 AGS: Pointers should not be casted to long
New string arithmetic is using pointers diff casted to long...
Trying to avoid C++11 features, the best option is to cast them to intptr_t instead of long
2021-07-11 20:41:39 -07:00
Paul Gilbert 416c25c87c AGS: Further gcc warning fix 2021-07-11 20:21:25 -07:00
Paul Gilbert 9c909afd10 AGS: gcc warning fix 2021-07-11 20:18:45 -07:00
Paul Gilbert e3a9f13ae0 AGS: Added needed Allegro unicode methods 2021-07-10 14:33:36 -07:00
Paul Gilbert f1711431f6 AGS: Unicode-aware line splitting and right-to-left text mode
From upstream 00fee7e61e5746fe3c8722028f4f497b1949559e
2021-07-10 14:33:35 -07:00
D G Turner e9c374feae AGS: Fix GCC Compiler Warnings 2021-07-09 04:08:46 +01:00
Paul Gilbert e582a09612 AGS: Reprogram file/path functions to always use UTF-8 encoding
From upstream d9fba3fba3ec5f012297f1ec7dd0d1d5a55f3255

This only applies most of this commit, since it changes Allegro
code which I don't fully implement for ScummVM anyway, since all
path and file operations go via the ScummVM API anyway
2021-07-07 22:07:10 -07:00
Paul Gilbert 8a90168819 AGS: Move remainder of Allegro globals to Globals 2021-03-07 08:52:15 -08:00
Paul Gilbert f4dad65589 AGS: Fix ustrsize stub 2021-02-06 16:37:31 -08:00
Paul Gilbert fdcfe8362f AGS: Move allegro from stubs/ to lib/ 2021-02-06 16:37:31 -08:00