Commit Graph
36 Commits
Author SHA1 Message Date
Le Philousophe ab0854d81a AGS: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Le Philousophe 7f90669bdd AGS: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Paweł Kołodziejski 9b95bfd218 AGS: Silence const casts 2022-05-30 16:38:11 +02:00
Paul Gilbert b1649597d7 AGS: Replaced Math/std Min/Max with ScummVM macros
Inspired by 6dee5ee6f271c600e30879d892295ea6069e8cc9
2022-05-05 22:41:10 -07:00
Paul Gilbert 63c42d42c3 AGS: Fixed ScriptString could be serialized with wrong length
From upstream c00be4f9ee9501aebb0abc81ebbe5b4f2ffb0c0c
2022-05-05 22:41:09 -07:00
Paul Gilbert 0e0063bb6b AGS: String.AppendChar, ReplaceChar, Chars[] support unicode
From upstream 072ed5716639e2b65a16037dd81e2a332a78611b
2022-04-13 21:55:19 -07:00
Paul Gilbert 094879ed48 AGS: Fix some remaining MAXSTRLEN to point to Globals 2022-03-23 20:30:46 -07:00
Paul Gilbert dc3ce9f70a AGS: Renamed few font functions for consistent naming style
From upstream 9c355da410b734edc79212009a5e1be0b502c3b0
2022-03-22 22:30:13 -07:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paul Gilbert 0274540d47 AGS: Implement remaining plugin core export classes 2021-07-17 15:52:11 -07:00
aviloria 09ed7592bd 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 0084d53aeb AGS: Another gcc warning fix 2021-07-11 20:34:43 -07:00
Paul Gilbert 9c909afd10 AGS: gcc warning fix 2021-07-11 20:18:45 -07:00
Paul Gilbert 656659d488 AGS: Unicode-aware script String API implementation
From upstream f658f6316dd562b28e8b206f3ef3cedebf3626c0
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
Thierry Crozat 5745ea1cfb AGS: Fix compilation with precision loss when casting pointer to long 2021-06-14 14:14:43 +01:00
Paul Gilbert eb1e337edd AGS: Removed String's "const char*" conversion operator
From upstream 7c426674e7e53bffe9120f8ffc059b77fa03a606
2021-06-13 21:08:59 -07:00
Paul Gilbert 701396361c AGS: Import of fresh codebase 2021-06-13 21:08:44 -07:00
Paul Gilbert a18be9c938 AGS: Move miscellaneous engine/ac/ globals to Globals 2021-03-12 21:30:58 -08:00
Paul Gilbert 81976cb994 AGS: Move dialog.cpp globals to Globals 2021-03-08 19:22:34 -08:00
Paul Gilbert 34c86ce1a1 AGS: Removal of commented out includes 2021-03-06 19:43:13 -08:00
Paul Gilbert 887472c8c1 AGS: Moved a lot of game.cpp globals to Globals 2021-02-28 13:27:21 -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 cd017a73c7 AGS: Revert Standardization of number types
This reverts commit a96422af52.
2021-02-16 19:45:02 -08:00
Paul Gilbert a96422af52 AGS: Standardization of number types
This not only simplifies all the use of _t types to the
ScummVM equivalents, it gets rid of the int32 usage in
favor of just int, solving common type clashes with the
Amiga, for which int doesn't match int32
2021-02-13 11:38:55 -08:00
Paul Gilbert 03c7491e18 AGS: Fix compilation of VS 64-bit builds 2021-02-06 16:37:31 -08:00
Paul Gilbert 1b86461eda AGS: Fix const warnings in macro expansions 2021-02-06 16:37:31 -08:00
Paul Gilbert 739c02d5c0 AGS: Fix a bunch of warnings about const loss
Some of these are legitimate, because the AGS source did some
nasty code sharing a char * buffer for both reading and writing
stuff to savegames. Will need to refactor it at some point to
use the Common::Serializer
2021-02-06 16:37:31 -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
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