Commit Graph
15 Commits
Author SHA1 Message Date
Paul Gilbert 2f094655f1 AGS: Move script_runtime.cpp globals to Globals 2021-03-12 20:59:14 -08:00
Paul Gilbert f3cf990c7c AGS: Move cc_instance.cpp globals to Globals 2021-03-12 19:51:14 -08:00
Paul Gilbert 003d890955 AGS: Move systemimports.cpp globals to Globals 2021-03-05 20:14:51 -08: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
SupSuper d9ba513ad0 AGS: Fix return type of plugin method calls 2021-03-03 22:03:08 +00: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 d6b8c21557 AGS: Merged engine/plugin/ into plugins/ folder 2021-02-06 16:37:31 -08:00
Paul Gilbert 6767689c06 AGS: Simplifying passing of script method params to DLL class
The original had issues with the types of the method params
being 32 bits for ints, but 32 or 64 bits for string pointers.
This could easily result in a mismatch of passed params to
method definitions. To avoid this, I now pass the parameters
as a Common::Array, and a set of macros to simplify getting
the parameter values within the script method
2021-02-06 16:37:31 -08:00
Paul Gilbert c16efc3a1d AGS: Adding engine/script/ 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