Commit Graph
33 Commits
Author SHA1 Message Date
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
Gunnar Birke feab8ac346 WINTERMUTE: Add typed pointer to 3d renderer 2020-06-15 14:12:25 +02:00
Gunnar Birke 40b7e9c676 WINTERMUTE: Fix #elif -> #else when checking for WME3D 2020-06-03 01:17:25 +02:00
Gunnar Birke 5b28aff52e WINTERMUTE: Add engine define for wintermute3d 2020-06-03 01:17:25 +02:00
Gunnar Birke 3ab1799758 WINTERMUTE: Use opengl renderer if opengl was selected 2020-06-03 01:17:25 +02:00
Gunnar Birke 3150439732 WINTERMUTE: Rename opengl texture renderer stuff 2020-06-03 01:17:25 +02:00
Gunnar Birke 4987e7c47d WINTERMUTE: Copy existing renderer code 2020-06-03 01:17:25 +02:00
Gunnar Birke 1dd4e719a0 Integrate wintermute engine 2020-05-28 15:58:47 +02:00