Commit Graph

1185 Commits

Author SHA1 Message Date
Eugene Sandulenko
c7c1269c65
STARK: Remove unneded translation.h include 2023-03-17 15:04:25 +01:00
Donovan Watteau
18ab6803d6 JANITORIAL: Fix various "an" typos in comments 2023-03-16 14:47:28 +01:00
Cameron Cawley
526198991b STARK: Use the best pixel format for Bink playback 2023-03-03 09:59:41 +00:00
Paweł Kołodziejski
c4686ee84c
TINYGL: Rename copyToBuffer to copyFromFrameBuffer 2023-02-09 07:31:09 +01:00
Cameron Cawley
58e96a8755 OPENGL: Check if GL_TEXTURE_MAX_LEVEL is supported before using it 2023-02-05 22:31:57 +01:00
Cameron Cawley
4e8ce049a1 STARK: Fix memory leak 2023-02-03 22:19:05 +00:00
Cameron Cawley
1558f7a784 STARK: Add a method for drawing filled rectangles 2023-02-03 00:37:20 +00:00
Cameron Cawley
aa5076fb58 STARK: Move the Color struct into a separate header 2023-02-03 00:37:20 +00:00
Cameron Cawley
962383eb3e STARK: Better check for texture and bitmap formats 2023-02-01 13:48:26 +00:00
Cameron Cawley
5bd0ec43a6 STARK: Fully separate bitmaps and textures 2023-01-15 11:54:11 +02:00
Walter Agazzi
63a2dc4388 DETECTION: Convert all GOG strings to GOG.com 2023-01-15 11:46:46 +02:00
Eugene Sandulenko
68bab25152
ALL: Fix compilation 2023-01-08 01:31:13 +01:00
elasota
e280186a8c ALL: VS warning cleanup 2022-12-25 16:31:57 +01:00
Cameron Cawley
28d7b361ea COMMON: Move more file format code into common/formats 2022-12-11 22:33:23 +01:00
Eugene Sandulenko
fb7095f5a4
COMMON: Move all compression-related files to a separate directory 2022-12-01 11:53:02 +01:00
Cameron Cawley
6a1bccc649 STARK: Move the engine options into the MetaEngine subclass 2022-11-16 23:58:54 +01:00
Le Philousophe
111d259015 ALL: Add limits.h for all codebase 2022-08-22 15:38:10 +02:00
Donovan Watteau
27f9a460b5 JANITORIAL: Fix "the the" and similar typos 2022-07-29 19:36:40 +03:00
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Cameron Cawley
a020300701 ENGINES: Remove use of getEngineId() in MetaEngine subclasses 2022-07-20 11:54:19 +02:00
Le Philousophe
98c306376f OPENGL: Merge both OpenGL shaders objects 2022-06-26 18:32:10 +02:00
Le Philousophe
4ab044a254 OPENGL: Merge both OpenGL contexts 2022-06-26 18:32:10 +02:00
Einar Johan Trøan Sømåen
2a9e6bad01
STARK: Add detection for the Russian Triada version
By using the hashes provided in bug ticket #13267
2022-06-14 22:46:10 +02:00
Christian Kündig
7a9f2f7488 STARK: Switch to glTexParameteri instead of glTexParameterf where integer enums are used 2022-06-12 14:34:13 +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
08c847cc01 STARK: Remove now useless glBindBuffer
This function is not available in old OpenGL.
2022-04-09 21:47:01 +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
trembyle
b9e7b1dfcd COMMON: ENGINES: Correct Czech language ISO code
1. Correct constant in common files
2. Add the old code to obsolete language codes
3. Replace all occurences in engine code
2022-03-04 18:29:02 +01:00
Paweł Kołodziejski
554c64acf1
STARK: Alloc PEResources on heap to avoid stack overflow 2022-01-31 00:41:10 +01:00
Le Philousophe
d9b4e457e8 ALL: Remove USE_GLES2 define
Replace it with USE_FORCED_GLES2
2022-01-18 16:49:03 +01:00
Cameron Cawley
43d87cb029 BACKENDS: Support detecting OpenGL ES 2 at runtime for 3D games 2021-12-30 13:57:50 +01: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
Cameron Cawley
f01c5321c4 STARK: Don't exit immediately if modded assets are enabled but not supported 2021-12-20 23:18:36 +01:00
Paweł Kołodziejski
50f9fa3df6
STARK: Fixed minor coverity warnings 2021-12-20 19:22:39 +01:00
Paweł Kołodziejski
2f5995482e
STARK: Formatting 2021-12-19 19:18:19 +01:00
Paweł Kołodziejski
4f6afce3ea
STARK: W/A for 1x1 dimension textures to be scaled later 2021-12-18 09:04:10 +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
8d87f9aa78
STARK: Fixed shadow rendering 2021-12-09 09:26:12 +01:00
Paweł Kołodziejski
3b9f9804ee
TINYGL: Rearrange access to TinyGL 2021-12-08 14:52:18 +01:00
Paweł Kołodziejski
51888c13ba
STARK: Remove global constructors 2021-12-08 00:09:03 +01:00
Paweł Kołodziejski
d80bd265d2
TINYGL: Rearrange visibility various functions 2021-12-06 13:57:41 +01:00
Paweł Kołodziejski
9e72366b5f
ENGINES: Allow to build without TINYGL enabled 2021-12-05 00:08:53 +01:00
Paweł Kołodziejski
8224aeffae
STARK: No need structs to be set as packed 2021-12-01 19:42:42 +01:00
Paweł Kołodziejski
89cba0db97
STARK: Added WA for prompt dialog texture clipping 2021-11-29 23:31:14 +01:00
Paweł Kołodziejski
6f3b535752
GRIM,STARK,TINYGL: Fixed BE drawing issues. 2021-11-29 22:34:13 +01:00
Paweł Kołodziejski
af37825be3
ENGINES: Replace PixelBuffer with Surface 2021-11-27 20:14:44 +01:00
Paweł Kołodziejski
4bc6b3ad13
STARK: Re-add stencil buffer stubs 2021-11-24 23:01:13 +01:00