Commit Graph
16 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 2b719124d3 AGS: Move separate state structure into AGSCreditz 2021-07-18 17:07:02 -07:00
Paul Gilbert 8caed23e8b AGS: Refactoring the plugins for new instance scheme 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 98a9234253 AGS: Hooked in keyboard handling 2021-06-13 21:08:54 -07:00
Paul Gilbert 701396361c AGS: Import of fresh codebase 2021-06-13 21:08:44 -07:00
Paul Gilbert cc12d75846 AGS: Add IsFinished as an alias in agscreditz plugin 2021-04-16 20:26:12 -07:00
Paul Gilbert ec4e8b4d09 AGS: Fix center aligning credit text 2021-03-26 20:47:23 -07:00
Paul Gilbert 445f565589 AGS: Creditz plugin is partially showing credits 2021-03-26 20:47:23 -07:00
Paul Gilbert 98cf7e5bb8 AGS: Register AGSPluginz 1 event handler 2021-03-26 20:47:23 -07:00
Paul Gilbert 54e6707abf AGS: Further AGSCreditz1 methods 2021-03-19 19:48:17 -07:00
Paul Gilbert 5fb618a678 AGS: Implementing AGSCreditz1 methods 2021-03-18 22:04:44 -07: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 b7886c4b4a AGS: Allow NumberPtr to handle const pointers 2021-02-25 19:38:19 -08:00
Paul Gilbert 844a94d72b AGS: Fix plugin methods to ScriptMethodParams array 2021-02-25 19:34:10 -08:00
Paul Gilbert 6ae29a802e AGS: Split up AGSCreditz versions into separate files 2021-02-07 19:47:37 -08:00