26 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
e1cb9afb4e AGS: AGSParallax plugin fix, workaround for Stargate Adventures 2021-09-21 21:09:51 -07:00
mausimus
601696ab1e AGS: recognize alternative name of shell plugin
There is a circulating version of AGS Shell plugin as agsshell.dll
used by some games (Rosewater). Internally it's the same
ags_shell.dll so simply an alias will allow these games to run.
2021-07-28 19:20:29 -07:00
Paul Gilbert
e2320808ed AGS: Added AGSTouch plugin implementation 2021-07-23 22:07:27 -07:00
Paul Gilbert
ae1814553f AGS: Implement PluginMethod class as proxy for calling script methods 2021-07-18 21:47:45 -07:00
Paul Gilbert
2b8b991b9c AGS: Implement ScriptMethodParams format method 2021-07-18 18:44:10 -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
83bf163365 AGS: Move script exports for DrawingSurface to a new plugins/core/ folder 2021-07-16 19:48:13 -07:00
Paul Gilbert
b4056b39b0 AGS: Skeleton AGSWave plugin 2021-07-11 14:06:26 -07:00
Paul Gilbert
38405b5e23 AGS: Creating AGSSock plugin 2021-06-15 18:37:59 -07:00
Paul Gilbert
881bae2f5a AGS: Added AGSClipboard plugin 2021-06-15 18:35:39 -07:00
Paul Gilbert
701396361c AGS: Import of fresh codebase 2021-06-13 21:08:44 -07:00
Annick Ecuyer
8c0c91fe94 AGS: Add ags_fire and ags_agi plugin stubs (AGS_Fire.dll + ags_agi.dll)
* AGS_Fire: Doesn't do anything, but allows games using plasma fire
   effects to load and run.

   All methods return 0

 * AGS_AGI: Allows games who use AGI lowres effects to load and run.

   Games using scaling mode 0 will be squashed on the screen, but others
   should be playable without the screen effect.
2021-06-11 18:54:48 -07:00
Paul Gilbert
9dd5f7fea8 AGS: Implementing AGSController plugin 2021-04-17 21:25:06 -07:00
Paul Gilbert
f03469a075 AGS: Shivah Steam version updated to use custom WadjetEye Steam plugin 2021-04-05 18:51:02 -07:00
Thierry Crozat
7252e57947 AGS: Add stubb for ags_shell plugin
It is used by Gemini Rue, possibly to open a URL in the default
system browser.
2021-03-25 21:35:17 +00:00
kyandora
309632fe50 AGS: Plugin stubs for Nickenstien's NGFX Graphics Library 2021-03-15 18:42:07 -07:00
Martin Gerhardy
64631108b6 AGS: added debug message about unsupported plugin 2021-03-06 21:04:22 -08:00
Thierry Crozat
e7d51b856d AGS: Use AGSSpritePlugin variant for Kathy Rain and WoaM 2021-03-06 21:21:22 +00:00
SupSuper
b7e4dfe669 AGS: Fix plugin name typo blocking Whispers of a Machine
WadjetUtil, not WadgetUtil
2021-03-06 00:44:14 +00: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
7029b58187 AGS: Implemented skeleton AGSWadgetUtil plugin 2021-03-02 19:34:56 -08:00
Paul Gilbert
8f6884b21c AGS: Implemented skeleton AGSJoy plugin 2021-03-02 19:22:50 -08:00
Paul Gilbert
f556ba3fc9 AGS: Startup fixes for Kathy Rain 2021-02-20 15:22:24 -08:00
Paul Gilbert
155e74eae5 AGS: Change DLL base class to PluginBase 2021-02-16 20:22:43 -08:00