Commit Graph
732 Commits
Author SHA1 Message Date
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
Paweł Kołodziejski 3b9f9804ee TINYGL: Rearrange access to TinyGL 2021-12-08 14:52:18 +01:00
Paweł Kołodziejski d80bd265d2 TINYGL: Rearrange visibility various functions 2021-12-06 13:57:41 +01:00
Cameron Cawley 98da66b735 MYST3: Fix the viewport used by the TinyGL renderer for 2D drawing 2021-12-05 20:28:49 +01:00
Cameron Cawley d18d321092 MYST3: Split TinyGLTexture into two separate subclasses 2021-12-05 20:28:23 +01:00
Cameron Cawley 9bd82872bd MYST3: Replace the Renderer::freeTexture function 2021-12-05 20:28:23 +01:00
Paweł Kołodziejski 9e72366b5f ENGINES: Allow to build without TINYGL enabled 2021-12-05 00:08:53 +01:00
Paweł Kołodziejski 3ed4be59c8 MYST3: Fixed tglTexImage2D calls in software renderer 2021-12-04 15:59:34 +01:00
Paweł Kołodziejski af37825be3 ENGINES: Replace PixelBuffer with Surface 2021-11-27 20:14:44 +01:00
Cameron Cawley 4d206e5286 GRAPHICS: Clean up OpenGL defines (#3551) 2021-11-18 00:56:21 +01:00
Orgad Shaneh dda887aaba MYST3: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Orgad Shaneh e82ff2400a MYST3: Use override
Using clang-tidy modernize-use-override
2021-11-14 14:34:14 +02:00
Orgad Shaneh ee57380de7 ENGINES: JANITORIAL: Remove 'virtual' when override is specified 2021-11-14 14:32:04 +02:00
trembyle c740f96f63 COMMON: Normalize and document language maintenance
* Add documentation to add or maintain language values
* Fix and reorder existing entries to match ISO standards
2021-11-11 12:06:15 +01:00
Orgad Shaneh 78ef6203de ENGINES: Fix getSavegameFile for almost all engines
Use kSimpleSavesNames correctly, add where needed, remove where needed.

Trac #12977
2021-11-10 21:49:48 +00:00
Paweł Kołodziejski 82e405a4ac TINYGL: Fixed tglViewport transformation 2021-11-08 08:57:19 +01:00
Alexandre Detiste 6044504762 JANITORIAL: typos
some in the variable names, some in the comments;
no change for the strings that interract with original games assets
2021-10-31 20:46:31 +01:00
Paweł Kołodziejski 862bd7d05f GRAPHICS: Move FrameLimiter from engines to common graphics code 2021-10-27 23:11:20 +02:00
Orgad Shaneh fe104cc337 ENGINES: Use MetaEngine consistently for getting autosave slot
The autosave refactoring that was done in
7adad5aaf5 used g_engine for identifying the
autosave slot. This worked for in-game save/load, but doesn't fit when
called from the launcher.

Fix by passing MetaEngine to SaveStateDescriptor ctor and using it for this
query.

Amends 7adad5aaf5.
2021-10-24 16:46:06 +02:00
eientei 6898b3129a MYST3: Add reason for lack of support of CHS version 2021-10-24 16:15:03 +03:00
eientei b130e32071 MYST3: Add detection for English v1.0, Chinese (Simplified) 2021-10-24 16:15:03 +03:00
Thunderforge 35c3668275 COMMON: Fixing misspellings "occured" -> "occurred"
Fixing this misspelled word across multiple parts of the codebase.
2021-09-25 21:36:42 +03:00
Eugene Sandulenko e7043b49b5 Revert "MYST3: Add detection for PS2 prototype"
This reverts commit f87eed8b1b.
2021-09-22 01:36:26 +02:00
trembyle f87eed8b1b MYST3: Add detection for PS2 prototype
We can detect this preview and inform users that it's not yet supported
2021-09-19 14:52:46 +02:00
Max Horn 2f1f8f502e DEVTOOLS: move credits from devtools/credits.pl to engines
This employs a "lazy" approach: the "format" for the credits stays
exactly as it was, i.e., perl code. Of course one may want to change
this to another format (e.g. YAML, JSON, XML; or also shell script or
AWK, like `configure.engine` uses). But I deliberately kept it simple,
to get a minimal change that is easy to verify. Any further changes to
e.g. the format can be layered atop this.
2021-08-05 00:01:46 +02:00
Paul Gilbert 005561d305 COMMON: Increase Stream pos, seek, size from int32 to int64 2021-07-08 18:24:28 -07:00
Paul Gilbert baccbedf50 GRAPHICS: Changed surface classes sizes from uint16 to int16 2021-07-04 18:24:27 -07:00
Cameron Cawley f9dc98b0f6 MYST3: Remove unneeded use of Graphics::ColorMasks 2021-06-24 11:55:54 +02:00
sluicebox 8e1d90f8e4 ALL: Remove clearAllDebugChannels() from Engine dtors 2021-06-14 12:42:38 -05:00
ysj1173886760 37e313bada MYST3: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02:00
Orgad Shaneh a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Torbjörn Andersson 7ba35924a4 MYST3: Don't let getTextData() add extra string terminators
Recently, the String class was modified to not allow appending
terminators to a string. This was done to fix a Myst III
regression, though apparently the Stark engine was also
impacted somehow?

The aim of this change is to not append terminators to the string,
to ensure that it will keep working regardless of how the String
class handles it.
2021-03-14 19:07:32 +01:00
Henrik "Henke37" Andersson a4e579936e MYST3: Let HashMap do the error 2021-02-12 00:41:23 +01:00