Commit Graph
28 Commits
Author SHA1 Message Date
Walter Agazzi 5ce015027f AGS: Add const_casts, comment out unneeded bindings 2024-10-30 18:07:42 +02:00
Walter Agazzi f13f7cfac2 AGS: Engine: rem the distinction between static/dynamic objects in script VM
From upstream 04450b2a41f0e0f107a4ea85dab375f439b4ffae
2024-10-30 18:07:42 +02:00
Walter Agazzi 70dd8cb1f8 AGS: Engine: in RuntimeScriptValue store generic ptr as void*
From upstream 9d11b497907419ce9bf0ea47eb585bd748a3e027
2024-10-30 18:07:42 +02:00
Walter Agazzi 795dacac07 AGS: Engine: inherit StaticObject managers from ICCDynamicObject
This removes an excessive separation between "static managers" and "dynamic managers",
and let use the single ICCDynamicObject interface when working with both kinds.
Simplifies RuntimeScriptValue and StaticArray classes.

Picked out most common implementation into CCBasicObject, which is inherited by
AGSCCDynamicObject and AGSCCStaticObject.

From upstream 781632881dd64af2b57b789617da15107bca9451
2024-10-30 18:07:42 +02:00
Walter Agazzi 813801779c AGS: Engine: Added new functions for API scripts registration
These can be used to gradually move to the new style introduced
in upstream 9221ea54c1a81b9f37829d7fafc90ac2806d4eb1
2024-10-30 18:07:42 +02:00
Walter Agazzi a90e5b7dd7 AGS: Engine: added missing exclusive variadic api impls for plugins
from upstream a61392135e734898b93d73db42942dc881250ef2
2024-10-30 18:07:42 +02:00
Walter Agazzi ad168dbee8 AGS: Engine: added explicit functions for Speech api and GetAudioClipCount()
from upstream 45dcb946a818a65768dfa7f08f27b27a2dccffc2
2024-10-30 18:07:42 +02:00
Walter Agazzi 09039ca805 AGS: Engine: brought multivariant script api functions to naming consistency
The idea is that the old variants have internal names with number
(signifying number of args), while the latest variant has a name without number.

Make sure there's a distinct function for each variant, and older vars are calling later ones in a sequence.
These calls likely to be inlined.
From upstream ca48926a37e848a1bcc162f77cc81e63ec7a1ca0
2024-10-30 18:07:42 +02:00
Hubert Maier 18f05c435a JANITORIAL: Fix supressing typo in script_api.h 2024-07-15 20:50:41 +03:00
Paul Gilbert d39c6cb31f AGS: Added "sound volume" param to all Animate() functions
From upstream 926220f9706baafa80d05ff6264f7fa13296dc16
2022-05-10 21:17:59 -07:00
Paul Gilbert 67628b9c6a AGS: Suppress endless "unused param" warnings in script api
From upstream b4a5ec72c059bc3c65e89a45a8b1218068a2015a
2022-04-24 16:00:05 -07:00
Paul Gilbert 415235b74e AGS: expanded Button.Animate to feature all common params
From upstream 0853d4146276f86c7418dc02360deb49a0ef324a
2022-04-21 22:07:41 -07:00
Paul Gilbert 719ea5b72c AGS: Added Game.ChangeSpeechVox and SpeechVoxFilename
From upstream ef3e9ae2df25fba24a3c1c091c81981431a72f36
2022-03-27 19:14:55 -07:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paul Gilbert 5ccb07acf9 AGS: implemented bool Room.Exists(int room)
From upstream d676baaea0860ef1737019452d8e97b4aee12526
2021-07-27 22:03:36 -07:00
Paul Gilbert 04d6a41c42 AGS: Simplified System.Log implementation
From upstream 3d13f9056cd26b0d4da7b8e3207ad330e20a4799
2021-07-10 14:33:40 -07:00
Paul Gilbert 701396361c AGS: Import of fresh codebase 2021-06-13 21:08:44 -07:00
Paul Gilbert 24d800ae1b AGS: Move agsstaticobject.cpp globals to Globals 2021-03-12 21:14:38 -08:00
Paul Gilbert 34c86ce1a1 AGS: Removal of commented out includes 2021-03-06 19:43:13 -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
Paul Gilbert 1b86461eda AGS: Fix const warnings in macro expansions 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 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