Commit Graph
29 Commits
Author SHA1 Message Date
Thierry Crozat 817ddb19c9 AGS: Tidied Library class
From upstream 58a6f421e3b97f6e2db49b88a6434686c62f5142
2022-06-25 23:33:30 +01:00
Thierry Crozat 3b2f9fed4e AGS: Removed unused thread and mutex utils
From upstream 9173a2d8ea90b019c27d49a2d48018fab5a4c2b6
2022-06-16 23:16:20 +01:00
Donovan Watteau f12ff97873 AGS: Fix Plugins::pluginError() nullptr given to printf
Giving a null pointer to a printf-like function is undefined, and
OpenBSD complains about it.
2022-05-30 08:33:33 +03:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paul Gilbert ecbda750a3 AGS: Fix loading plugins 2021-07-18 17:07:02 -07:00
Paul Gilbert e543a32ec0 AGS: In progress converting plugin classes to be instance based
Previously the plugin system was obviously built around function
pointers, since a loaded plugin DLL would expose them statically.
This meant that the plugin classes I implemented also had to use
static methods, and all the variables had to be static as well.

This has been getting more and more annoying. So this commit is
an in-progress refactoring of AGS to allow for plugins to be
properly instance-based, and pointers to script methods will be
both a pointer to the plugin as well as the method name.
2021-07-18 17:07:01 -07:00
Paul Gilbert 8278e9fa52 AGS: Moved PlaneScaling to Shared
From upstream 080226c6b1c1a9b7ae913dedd35a2022a3ce1940
2021-06-13 21:09:08 -07:00
Paul Gilbert 701396361c AGS: Import of fresh codebase 2021-06-13 21:08:44 -07:00
Paul Gilbert 1a8ae27b58 AGS: Move game & spriteset into Globals 2021-02-26 21:28:53 -08:00
Paul Gilbert 155e74eae5 AGS: Change DLL base class to PluginBase 2021-02-16 20:22:43 -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
Cameron Cawley ff276f88ff AGS: Refactor audio code 2021-02-08 18:03:22 -08:00
Paul Gilbert e6f7b43945 AGS: Plugin code cleanup, stubs for Galaxy/Steam plugins 2021-02-07 17:56:37 -08:00
Cameron Cawley 75956ac997 AGS: More RISC OS build fixes 2021-02-07 11:51:03 -08:00
Paul Gilbert d6b8c21557 AGS: Merged engine/plugin/ into plugins/ folder 2021-02-06 16:37:31 -08:00
Paul Gilbert e2469a8cfa AGS: Move globals from ags.cpp to Globals 2021-02-06 16:37:31 -08:00
Paul Gilbert 618e89c704 AGS: Fix free after delete in PosixLibrary unload 2021-02-06 16:37:31 -08:00
Paul Gilbert 69b6cfab29 AGS: Move std/ folder into lib/ 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 65a2cf6687 AGS: Added engine/plugin/ folder 2021-02-06 16:37:31 -08:00
Paul Gilbert 68b3eb52d4 AGS: Added engine/game/ 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 d8e471b03c AGS: Changing Common namespace to Shared 2021-02-06 16:37:31 -08:00
Paul Gilbert 76a2e90366 AGS: Wrapping headers in an AGS3 namespace 2021-02-06 16:37:31 -08:00
dreammaster 8026e4bb30 AGS: Run astyle formatting 2021-02-06 16:37:31 -08:00
Paul Gilbert 90ec822f76 AGS: Cleaning up header file guard defines 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