Commit graph

765 commits

Author SHA1 Message Date
Eugene Sandulenko
949027a01e
ENGINES: [l-w]: Turn debug enums from bitfield into plain enums 2025-02-22 21:55:59 +01:00
Hubert Maier
de4927e4c1
JANITORIAL: MYST3: Fix typos 2024-12-25 17:53:37 +02:00
Eugene Sandulenko
2b41c7807d CONFIGURE: Added tinygl as a component 2024-12-25 00:34:39 +01:00
Eugene Sandulenko
fdecb6afca ENGINES: Add components to configure.engine's explanatory comment 2024-12-25 00:34:39 +01:00
Le Philousophe
0dfc71322a CONFIGURE: Add a 3D feature
This allows to blacklist 3D engines on platforms not supporting 3D.
These platforms don't have OpenGL nor TinyGL enabled.
2024-12-01 22:39:32 +01:00
Misty De Meo
50ae136691
MYST3: add missing override keyword 2024-11-17 17:31:11 +08:00
Le Philousophe
ebecd4f12f MYST3: Add support for orignal layout of multilingual CD and DVD
Fixes bug 13039.
2024-11-14 20:57:37 +02:00
Paweł Kołodziejski
a6256a1ea5
MYST3: Fixes bug 11895 and 14505.
Changed pixel format to match proper result, however I think something
is off possible due double texture conversion.
This needs to be revisited later.
2024-11-10 09:30:55 +01:00
sluicebox
4200d6575c ALL: Return result from MetaEngine::removeSaveState 2024-10-18 09:41:03 +03:00
D G Turner
ab6ab2813e MYST3: Fix Signed vs. Unsigned Comparison GCC Compiler Warning 2024-10-05 19:47:34 +01:00
macca8
f2829350ce MYST3: Fix incorrectly constructed sanity check 2024-09-17 08:32:44 +03:00
macca8
97d3cc093f MYST3: Use English default if autosave name is invalid 2024-09-16 10:21:06 +03:00
macca8
99f3465f68 MYST3: Remove unnecessary dummy autosave from Save List 2024-09-16 10:21:06 +03:00
macca8
44fc3315a4 MYST3: Convert selected slot to assigned save file 2024-09-16 10:21:06 +03:00
macca8
2234d2d74f MYST3: Ignore slot 0 when assigning slots to save files 2024-09-16 10:21:06 +03:00
Hubert Maier
9927b318f4 JANITORIAL: MYST3: Fix typos 2024-09-16 01:51:07 +03:00
macca8
56d2eb3fb8 MYST3: Generate a new thumbnail when autosaving 2024-09-05 15:37:25 +03:00
Le Philousophe
65c0429045 ALL: Declare the Game not implemented message in only one place 2024-08-17 17:51:06 +03:00
Eugene Sandulenko
caacb4d1e4
ENGINES: "Missing game code" -> "Game not implemented" for unsupported games
As suggested by lephilosouphe, we show this to the end users on attempt
to run unsupported gamesA.
2024-08-13 23:39:57 +02:00
Cameron Cawley
89c57d29ef COMMON: Move more maths functions into the Math namespace 2024-07-27 14:00:48 +03:00
Cameron Cawley
7e0dfe0081 GRAPHICS: Use custom stream callbacks for loading TTF fonts 2024-07-23 15:33:43 +01:00
Cameron Cawley
441b02d057 DETECTION: Use uint32 for ADGameFileDescription file size 2024-06-30 19:13:41 +02:00
Le Philousophe
7e0048b4a3 ENGINES: Add ADDynamicGameDescription class
This class manages a buffer where all data usually stored in detection
plugin will get copied before unloading the plugin and starting the
game.

This class expects that two functions are present in every
GameDescription: sizeBuffer which calculates how many bytes we will need
to store the entry in RAM and toBuffer which copies the data in the
buffer and fix the pointers in the class.
At the end, it is expected that an ADDynamicGameDescription doesn't
depend anymore on data stored in the detection plugin.

The AD_GAME_DESCRIPTION_HELPERS macro allow to implement these functions
in all GameDescription which don't have any pointer except those in
ADGameDescription.
2024-06-30 18:39:06 +02:00
Le Philousophe
b61bd3ff85 ENGINES: Create a type aware advanced meta engine 2024-06-30 18:39:06 +02:00
Le Philousophe
90b886097f ENGINES: Create a type aware advanced detector 2024-06-30 18:39:06 +02:00
Cameron Cawley
30b977c272 DETECTION: Mark more symbols as const 2023-12-26 20:23:59 +01:00
Le Philousophe
aa5ad1f500 MYST3: Migrate engine to Path 2023-12-24 13:19:25 +01:00
Eugene Sandulenko
ec2dd2726b ENGINES: Added optional parameter to canSave/LoadGameStateCurrently() for indicating the reason 2023-12-08 12:21:16 +01:00
elasota
aef5ee1e66 MYST3: Fix signed/unsigned mismatch 2023-07-08 22:02:00 +03:00
Walter Agazzi
ab0f2f8a2b MYST3: Add detection entry for Japanese DVD version
Reported in TRAC #14298
2023-07-06 21:45:59 +02:00
Cameron Cawley
adef12d993 VIDEO: Implement setOutputPixelFormat() for BinkDecoder 2023-04-05 12:45:13 +02:00
Cameron Cawley
366e0c5f67 TINYGL: Replace tglFrustum, tglOrtho and tglClearDepth with float versions 2023-03-05 22:36:31 +01:00
Paweł Kołodziejski
c4686ee84c
TINYGL: Rename copyToBuffer to copyFromFrameBuffer 2023-02-09 07:31:09 +01:00
Walter Agazzi
4732b6dd9f MYST3: Add colon to detection title 2023-01-02 13:46:39 +02:00
elasota
e280186a8c ALL: VS warning cleanup 2022-12-25 16:31:57 +01:00
Cameron Cawley
7f2d9fd0fd GRAPHICS: Split conversion.cpp into multiple files 2022-12-22 23:45:14 +01:00
Cameron Cawley
dbbf3d35c1 MYST3: Move the engine options into the MetaEngine subclass 2022-11-16 23:58:54 +01:00
antoniou79
31d119b6cc MYST3: Use GUIErrorMessageWithURL() for missing patch
Also hardcode the url for the download location address
2022-08-21 18:44:51 +03:00
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Le Philousophe
98c306376f OPENGL: Merge both OpenGL shaders objects 2022-06-26 18:32:10 +02:00
Paweł Kołodziejski
e70fbbee21
MYST3: Janitorial 2022-06-13 00:44:39 +02:00
Torbjörn Andersson
e06f3c9a5a GUI: Allow game option checkboxes to be disabled
Depending on other game option checkboxes. This is used to
enable/disable the semi-smooth scrolling checkboxes for FM Towns Loom,
since it's only used when smooth scrolling is enabled.
2022-04-21 11:07:17 +02:00
Le Philousophe
c9b4949746 AMIGAOS: Improve shader compatibility
OGLES2 doesn't support uniform booleans so we use macros to make it use
integers in this case. For other platforms, this change should be a
noop.
OGLES2 doesn't like float suffix for constants, remove it as well.
2022-04-17 12:34:38 +02:00
Le Philousophe
1e4696f6d0 OPENGL: Rework renderer selection code
Add a class to group all renderer related (static) functions.
This allows to have getBestMatchingAvailableType inline in all engines.

The matching code is now shared between all engines but allows
customization for engines needing it (Grim, WME3D).

The new code takes runtime availability of features to select the
best renderer.
It avoid crashes when user choosed OpenGL but GLES2 is used.
2022-04-03 22:17:19 +02:00
Le Philousophe
0019131a4f MYST3: Setup texture before copying pixels to it
It's not needed according to the specification but it helps GL4ES and
makes Mesa diagnostics happy.
2022-04-03 16:37:51 +02:00
Paweł Kołodziejski
20cb0ae228
ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paweł Kołodziejski
8a9289f10a
MYST3: Minor cleanup in renderers 2021-12-15 23:11:43 +01:00
Cameron Cawley
06e79f2adf TINYGL: Use the existing list of rectangles when copying to the screen 2021-12-09 22:01:46 +01:00
Paweł Kołodziejski
6a591146c8
TINYGL: Added stencil buffer implementation 2021-12-09 21:10:53 +01:00