Commit Graph
17 Commits
Author SHA1 Message Date
Thierry Crozat babf223ab7 AGS: Add WaitInput to Script API
- modify skip result to use a flag + data bitwise combination
- also include WaitInput in Script API header
- the input flags can only be 8-bit, since wait_skipped_by and
  key_skip_wait are char, and key_skip_wait is serialized in
  gamestate.

From upstream 9e3d58a83dda00bff9073adb31b2b97adcf8d020
2022-06-18 01:08:58 +01:00
Paul Gilbert d3f9f299dd * Engine: moved unsupported scStartRecording, get rid of a h/cpp pair
From upstream 8e8e498776fec5392cbc6d6b4d36c83cce7cf4d0
2022-04-23 22:19:18 -07:00
Paul Gilbert 27ad60df72 AGS: Unify video flags in VideoPlayer, convert in script functions
From upstream e5c8293a8c8350c38a8df338f56e3806fdc4f119
Plus changes to local video player implementation to reflect changes
2022-04-12 22:27:56 -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 8f69f9c055 AGS: Fix missing File::Open script stub 2021-07-21 18:19:37 -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 0274540d47 AGS: Implement remaining plugin core export classes 2021-07-17 15:52:11 -07:00
Paul Gilbert b18e00e721 AGS: Implementing the core classes 2021-07-17 15:52:11 -07:00
Paul Gilbert 75974c9d42 AGS: Added skeleton classes for other plugin interfaces 2021-07-17 15:52:11 -07:00
Paul Gilbert 3dce18afa5 AGS: Finished implementing the GlobalAPI plugin exports 2021-07-17 15:52:11 -07:00
Paul Gilbert 9e7a459d38 AGS: In-progress shifting GlobalAPI to plugins/core/ 2021-07-16 19:48:14 -07:00
Paul Gilbert c89b21b901 AGS: Shifting more classes to plugins/core/ 2021-07-16 19:48:14 -07:00
Paul Gilbert 9742dfb163 AGS: Shifting multiple classes to plugins/core/ 2021-07-16 19:48:14 -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