Commit Graph
15 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paul Gilbert 2702b13768 AGS: Built-in script methods were being added to wrong import list 2021-07-23 20:08:21 -07:00
Paul Gilbert 7dfeb809f2 AGS: Refactored call_function to also use PluginMethod 2021-07-19 19:17:12 -07:00
D G Turner c60627ff29 AGS: Fix GCC Warnings
This is emitted by the -Wnon-virtual-dtor warning.
2021-07-19 06:04:08 +01:00
Paul Gilbert ae1814553f AGS: Implement PluginMethod class as proxy for calling script methods 2021-07-18 21:47:45 -07:00
Paul Gilbert fdb9d8e43e AGS: Properly handle plugin execMethod for derived plugin classes 2021-07-18 17:07:02 -07:00
Paul Gilbert aa6df18ce1 AGS: Enabling registration of exposed plugin exports 2021-07-18 17:07:01 -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 83bf163365 AGS: Move script exports for DrawingSurface to a new plugins/core/ folder 2021-07-16 19:48:13 -07:00
Paul Gilbert 701396361c AGS: Import of fresh codebase 2021-06-13 21:08:44 -07:00
lb_ii cf6c790c31 AGS: Use AchMan for float statistics 2021-05-29 22:40:05 +03:00
Paul Gilbert 800adbacf5 AGS: Fix crash calling AGSCreditz plugin method
The latest change to try and properly handle NumberPtr results
from plugin methods broke the passed parameters on methods with
a void return. To solve this once and for all, I changed all
plugin methods to be a void return, and added a _results field
as part of the passed params parameter
2021-03-03 21:18:32 -08:00
Paul Gilbert c671020d85 AGS: Further fixes to plugin script method definitions 2021-02-26 08:01:58 -08:00
Paul Gilbert 844a94d72b AGS: Fix plugin methods to ScriptMethodParams array 2021-02-25 19:34:10 -08:00
Paul Gilbert 155e74eae5 AGS: Change DLL base class to PluginBase 2021-02-16 20:22:43 -08:00