Le Philousophe
62f105c0ce
WINTERMUTE: Don't use unsafe sprintf and vsprintf
2022-10-23 22:46:19 +02:00
Le Philousophe
73c09b1d56
WINTERMUTE: Don't use unsafe strcat and strcpy
2022-10-23 22:46:19 +02:00
Paweł Kołodziejski
6688e22195
WINTERMUTE: WME3D: Added game option to allow force 2d renderer for 2d games
2022-07-16 12:53:25 +02:00
Paweł Kołodziejski
0020c73ecb
WINTERMUTE: Make variable _useD3D depends on used renderer.
2022-07-16 10:42:57 +02:00
Paweł Kołodziejski
106ad4af85
WINTERMUTE: WME3D: Restore original code for 'getLatyerSize' and 3 more attributes
2022-07-03 14:09:52 +02:00
Paweł Kołodziejski
088f97558a
WINTERMUTE: WME3D: Added missing guards without wme3d
2022-07-02 23:16:28 +02:00
Paweł Kołodziejski
d6ae18348e
WINTERMUTE: WME3D: Restore missing code from original
2022-07-02 23:12:42 +02:00
Paweł Kołodziejski
63e4f63483
WINTERMUTE: Janitorial
2022-07-02 23:08:44 +02:00
Paweł Kołodziejski
c63bd659eb
WINTERMUTE: WME3D: Restore class method
2022-07-02 23:00:31 +02:00
Paweł Kołodziejski
fde993bdf5
WINTERMUTE: WME3D: Restore original missing opcode for shadow image
2022-07-02 22:57:14 +02:00
Paweł Kołodziejski
155f550754
WINTERMUTE: WEM3D: Janitorial
2022-07-02 22:46:41 +02:00
Paweł Kołodziejski
7c892d64ee
WINTERMUTE: WME3D: Restore call, matching original
2022-06-26 00:23:04 +02:00
Paweł Kołodziejski
6946bf2a0d
WINTERMUTE: WME3D: Moved code to match original
2022-06-26 00:17:11 +02:00
Paweł Kołodziejski
5dd7b391ce
WINTERMUTE: WME3D: Added missing TinyGL ifdef
2022-06-26 00:14:46 +02:00
Paweł Kołodziejski
15bbb4dbe4
WINTERMUTE: WME3D: Rearrange constructors initialisation to match original code.
2022-06-25 23:49:31 +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
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Paweł Kołodziejski
9e72366b5f
ENGINES: Allow to build without TINYGL enabled
2021-12-05 00:08:53 +01:00
Cameron Cawley
4d206e5286
GRAPHICS: Clean up OpenGL defines ( #3551 )
2021-11-18 00:56:21 +01:00
trembyle
6e1135ee8a
ENGINES: Revise language constants to ISO standards
...
* Use ISO-3166 country codes and ISO-639 language codes
2021-11-11 12:06:15 +01:00
D G Turner
ff4cd452b5
WINTERMUTE: Fix Duplicated Branch GCC Warnings
...
These are emitted if -Wduplicated-branches is passed.
2021-11-07 00:12:58 +00:00
Orgad Shaneh
a05e54f00c
JANITORIAL: Remove trailing whitespaces
2021-05-04 11:46:30 +03:00
lb_ii
c28cff2fe0
WINTERMUTE: Sync render creation code with other engines
2021-04-27 05:17:40 +02:00
Paweł Kołodziejski
13d41540be
WINTERMUTE: Fixed switching to 2D renderer for 2D games
2020-11-19 07:02:53 +01:00
Paweł Kołodziejski
978d7c1c57
WINTERMUTE: If backend is not capable opengl in game and game is 2d switch to 2d renderer
2020-10-19 08:11:32 +02:00
Paweł Kołodziejski
749c3ec9e1
ENGINES: If backend is not capable support opengl in game do not try create opengl renderer
2020-10-19 06:52:31 +02:00
Paweł Kołodziejski
ad37c20fb4
WINTERMUTE: Attempt enabling GLES2 renderer.
2020-10-18 22:22:57 +02:00
Paweł Kołodziejski
78001c3d6e
WINTERMUTE: Disable GLES2 for now
2020-10-14 21:07:36 +02:00
Paweł Kołodziejski
a37173807f
CONFIGURE: More work on opengl flags
2020-10-14 18:37:17 +02:00
Cameron Cawley
03e8f0ed2d
ENGINES: Remove code for toggling fullscreen mode ( #2523 )
...
* GRIM: Remove code for toggling fullscreen mode
* MYST3: Remove code for toggling fullscreen mode
* STARK: Remove code for toggling fullscreen mode
* ENGINES: Remove the fullscreen argument from initGraphics3d()
2020-10-14 07:49:28 +02:00
Paweł Kołodziejski
42d55b2436
ENGINES: Drop accel3d param for initGraphics3d()
2020-10-13 22:49:07 +02:00
Paweł Kołodziejski
264f6f037b
ALL: Separate USE_OPENGL and USE_OPENG_GAME. Exclude WME3D for GLES2 for now.
2020-10-10 14:12:07 +02:00
Pawel Kolodziejski
1e497cdebd
WINTERMUTE: Allow compile without opengl
2020-10-06 07:33:01 +02:00
Pawel Kolodziejski
7e6fd713c2
WINTERMUTE: Fixed ifdef guards
2020-10-04 13:18:01 +02:00
Pawel Kolodziejski
e427f7eeda
WINTERMUTE: Fixed wintermute engine compilation when GLEW is disabled
2020-10-04 11:30:39 +02:00
Pawel Kolodziejski
d8f2040dba
ALL: Drop setupScreen API, use new initGraphics3d from engine API.
...
Enabled system API for begin/end gfx transactions, initSize, setGraphicsMode.
Function setGraphicsMode will use optional params to trigger 3d rendering
and switch to proper SDL Gfx manager.
2020-10-02 19:14:19 +02:00
Gunnar Birke
c28a2003a8
WINTERMUTE: Move non OpenGL code out of OpenGL folder
2020-08-28 16:47:28 +02:00
Gunnar Birke
1346a2bd9b
WINTERMUTE: Switch to fullscreen if requested
2020-08-26 15:41:19 +02:00
Pawel Kolodziejski
aea3bae26d
ALL: Synced with ScummVM - rev 0b777c23a9
2020-08-11 00:59:40 +02:00
Gunnar Birke
532573ecd3
WINTERMUTE: Introduce struct to pass fog parameters
2020-08-10 11:24:28 +02:00
Gunnar Birke
66b77b441c
WINTERMUTE: Add shader renderer classes
2020-08-10 11:24:28 +02:00
Gunnar Birke
1223595120
WINTERMUTE: Add abstract interfaces for renderer and meshes
2020-08-10 11:24:28 +02:00
Gunnar Birke
2a71d36c44
WINTERMUTE: Add remaining (probably unused) script calls to BaseGame
2020-07-28 13:52:22 +02:00
Gunnar Birke
25ea38c3bc
WINTERMUTE: Implement fog
2020-07-28 13:52:14 +02:00
Gunnar Birke
cf345f91a6
WINTERMUTE: Add missing script calls for lights and shadows
2020-07-26 22:57:09 +02:00
Gunnar Birke
e2f56d5d91
WINTERMUTE: Add lights and shadow state to game and scene classes
2020-07-24 12:32:29 +02:00
Gunnar Birke
fdecb7010e
WINTERMUTE: Init screen a second time once we know resolution
2020-06-27 22:54:40 +02:00
Pawel Kolodziejski
8f4e1c6cf3
Sync with ScummVM rev. 654b8208b8
2020-06-22 08:14:16 +02:00
Gunnar Birke
28420144fc
WINTERMUTE: Store whether we are actually playing a 3d game
2020-06-15 14:12:25 +02:00