Commit Graph
143 Commits
Author SHA1 Message Date
Walter Agazzi 981c202e71 AGS: Add AGSBMFontRenderer plugin stub
Just a stub for now, but at least Falcon City is playable in English
Fixes #14893
2024-02-01 13:19:01 +01:00
Walter Agazzi cb2cb19256 AGS: Add ags_controller_arcnor plugin (used in Perfect Tides)
+ minor rework standard AGSController plugin
2023-10-16 17:34:44 +02:00
Walter Agazzi 892f46f382 AGS: Freetype: Build autohint sources only if freetype2 is enabled 2023-09-03 22:27:43 +02:00
Walter Agazzi cee11c1b99 AGS: Freetype: Update alfont and enable compilation 2023-09-03 22:27:43 +02:00
Eugene Sandulenko e24ae7f334 BUILD: Simplify CPU checks as suggested by lman 2023-08-28 22:31:37 +02:00
wyatt-radkiewicz b22e073e35 AGS: Added AVX2 support for blending functions 2023-08-28 21:16:42 +02:00
Wyatt Radkiewicz 1cf3c7832a AGS: GRAPHICS: SIMD blending refactoring
Here I moved the simd paths to their own translation units and removed
their unessesary header files. I also made it so that less of the
translation units have template forward declarations.

I made it so that surface.cpp now chooses at runtime what simd path it
should take.
2023-08-28 21:16:42 +02:00
Wyatt Radkiewicz cf358fbc4e BUILD: AGS removed PPC blending files 2023-08-28 21:16:42 +02:00
Wyatt Radkiewicz ff72736c49 AGS: PowerPC Altivec: initial support 2023-08-28 21:16:42 +02:00
Wyatt Radkiewicz def889099e AGS: Added check for MSVC specific macros in simd
I was using just the GCC and CLANG macros to see what platform SCUMMVM
was being compiled on, but neglected the MSVC ones. This would lead it
to not compile on that compiler. I fixed that by adding those. I also
added the fallback simd implementation .cpp file into module.mk for the
ags engine.
2023-08-28 21:16:42 +02:00
Wyatt Radkiewicz 0d29563122 AGS: Started on SSE version 2023-08-28 21:16:42 +02:00
Wyatt Radkiewicz b177d382b6 AGS: Moved arm neon bitmap code to new file. 2023-08-28 21:16:42 +02:00
Walter Agazzi b70519b3c7 AGS: Preliminary implementation of ags_consoles plugin 2023-08-06 14:30:40 +02:00
Walter Agazzi fc4bb91340 AGS: Preliminary implementation of ags_sprite_video plugin
Add stubs for the ags_spritevideo plugin, which is a
replacement for the old D3D plugin.
2023-06-03 22:53:26 +02:00
Walter Agazzi d33d3e2536 AGS: Partial implementation of AGS_Collision_Detector plugin
This old plugin was used in Bear Story and a handful of other games
2023-05-14 23:05:39 +02:00
Walter Agazzi 751c79e6ff AGS: Add stubs for AGSTrans plugin
This plugin was used in Death Wore Endless Feathers
to draw semi transparent window backgrounds.
2023-04-29 13:42:23 +02:00
Walter Agazzi 4258a430b4 AGS: Engine: add plugin stub for agsappopenurl
Reimplemented from upstream f7cf17e279ad44e94fadf21b7922b35dd9134fa2
2023-04-29 13:11:41 +02:00
Paul Gilbert 8e132f7b3f AGS: cc_error returns stack from all script threads
From upstream 9e76800d668d8d0af7d47d815e6d1b781c7601f6
2022-05-05 22:41:07 -07:00
Paul Gilbert a2a5f2575d AGS: Reorganized few cc_ headers
From upstream ea1f8b9ece69fc7c49c4d3aa7b9af51c4ca736e5
2022-05-05 22:41:07 -07: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 ea65fe3c69 AGS: Moved SpriteFile class to a separate code unit for convenience
From upstream 393ef2c24bbc835d8e7a7229d40f638a6f172304
2022-03-17 21:49:22 -07:00
Cameron Cawley 06cd9b6d16 AGS: Move the engine options into the engine plugin 2021-09-18 11:57:29 +02:00
Paul Gilbert 3370b6917c AGS: Revert AGSFlashlight to more closely match original
The plugin previously had a bunch of hacks since the
AGS engine was rendering the screen at 32-bits rather than
16-bits the original was designed for. But with more recent
engine changes, the screen is 16-bits again. So I was able
to revert the hacks and return to the original code
2021-08-07 19:11:52 -07:00
Paul Gilbert 47fe5901d5 AGS: Removed unused old code
From upstream 495c35538e8e3db878853833ca817217b9ca1b34
2021-07-31 14:34:11 -07:00
Paul Gilbert e2320808ed AGS: Added AGSTouch plugin implementation 2021-07-23 22:07:27 -07:00
Paul Gilbert f5afbc964d AGS: Implemented AGSWaves weather methods 2021-07-20 20:25:54 -07:00
Paul Gilbert 74be1d8fd7 AGS: Further fleshing out AGSWaves gfx methods 2021-07-20 20:25:53 -07:00
Paul Gilbert d716cfa580 AGS: Beginnings of AGSWaves implementation 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 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 75974c9d42 AGS: Added skeleton classes for other plugin interfaces 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
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
Cameron Cawley bffcb53a05 AGS: Remove unused HQ2X code 2021-06-14 22:19:53 +01:00
Thierry Crozat 0cf45fbc39 AGS: Fix some regressions with blender modes 2021-06-14 20:21:10 +01:00
Cameron Cawley 330d9a2b63 AGS: Remove duplicate object in module.mk 2021-06-14 16:14:37 +01:00
Paul Gilbert 7f6b7559be AGS: Picked out data extension read/write algorithm
From upstream f93f44c4e84cdf7814d11c56d2b8424a239982f4
2021-06-13 21:09:12 -07:00
Paul Gilbert f913067750 AGS: Reimplemented Translation reading in Common, similar to Game and Room
From upstream cae33966338b24a0d2527bc0c537ac65fe39eddb
2021-06-13 21:09:11 -07:00
Paul Gilbert fdca14a38d AGS: Replaced TreeMap with std::unordered_map for translations
From upstream 3a4603dccc175736dfc20daf3376819dfb2060e8
2021-06-13 21:09:11 -07:00
Paul Gilbert 1028fc40eb AGS: Split room_file.cpp to have generic read functions separate
From upstream 6bc0bc35afb1e6510cd70ddaead768ff1af643e8
2021-06-13 21:09:10 -07:00
Paul Gilbert f982d82cc7 AGS: Added MemoryStream
Found upstream e3208df5afeed6cef118dc71a0af45cfce72f4d7
2021-06-13 21:09:01 -07:00
Paul Gilbert ef64d0154c AGS: Remove deprecated mouse code 2021-06-13 21:08:55 -07:00
Paul Gilbert 98a9234253 AGS: Hooked in keyboard handling 2021-06-13 21:08:54 -07:00
Paul Gilbert a4569cb180 AGS: Properly remove sound caching 2021-06-13 21:08:51 -07:00