Martin Gerhardy
f2c9137979
COMMON: removed foreach.h
...
now that we are using c++11 we don't need this wrapper anymore
2023-01-07 02:40:44 +02:00
Eugene Sandulenko
fb7095f5a4
COMMON: Move all compression-related files to a separate directory
2022-12-01 11:53:02 +01:00
Paweł Kołodziejski
06902574b4
GRIM: Janitorial
2022-06-08 01:12:00 +02:00
Paweł Kołodziejski
72cbf1e323
GRIM: Remove not needed condition for speed limit
2022-06-07 23:49:30 +02:00
Paweł Kołodziejski
4565711254
GRIM: Improve special case for delay in loop for emscripten
2022-06-07 23:42:49 +02:00
Paweł Kołodziejski
26c52fd813
GRIM: Put debug traces on different level
2022-06-07 23:15:27 +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
Paweł Kołodziejski
5e723aa971
GRIM: Improve GrimEngine::clearEventQueue() handling
2022-01-16 21:42:13 +01:00
Paweł Kołodziejski
d72dea73ce
GRIM: Added Pause key mapping for Grim Fandango
2022-01-16 21:19:44 +01:00
Paweł Kołodziejski
8451569f83
GRIM: Implemented Lua_V1::JustLoaded opcode
2022-01-16 20:40:47 +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
Le Philousophe
dd69e69d8e
GRIM: Fix bindings in the keymapper
2021-11-28 14:17:45 +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
d1b35d26fc
GRIM: Add isRemastered convenience function to engine
2021-11-02 10:23:17 +01:00
Paweł Kołodziejski
dad91c4a70
GRIM: Default OpenGL renderer only when is available
2021-10-02 11:34:26 +02:00
Paweł Kołodziejski
7738f6a57b
GRIM: For Grim Fandango, OpenGL without shaders is preferred as default
2021-10-02 11:24:38 +02:00
Eugene Sandulenko
797ca3568d
JANITORIAL: Fix code formatting
2021-08-20 21:17:19 +02:00
Christian Kündig
8af8ac2e08
OPENGL EMSCRIPTEN: clean up ifdefs, fix opengl in main menu, remove 10ms delay in GRIM main loop
2021-08-20 21:13:49 +02:00
Christian Kündig
b7a2e22b0a
DISTS: New Emscripten/WebAssembly dists target
...
This is an initial version of the emscripten build/dist target.
Many things are still missing, see dists/emscripten/README.md for
a detailed summary of what this provides and still misses
2021-08-20 21:13:49 +02:00
Orgad Shaneh
6a68d8b7e5
ENGINES: Do not assume that MessageDialog accept is 1 and cancel is 0
...
Use the enum everywhere.
A follow-up commit will change the order.
Also reduce the use of kMessageCancel to minimum.
2021-08-18 22:34:02 +02:00
sluicebox
8e1d90f8e4
ALL: Remove clearAllDebugChannels() from Engine dtors
2021-06-14 12:42:38 -05:00
ysj1173886760
dd14b7b34a
GRIM: move debug flags to metaEngineDetection
2021-05-22 01:34:57 +02:00
D G Turner
849c1fc32f
GRIM: Fix Signed vs. Unsigned Comparison GCC Warnings
2021-03-18 06:05:59 +00:00
Paweł Kołodziejski
ccc9f6634d
GRIM: Remove 'Quit' key mapping to avoid conflict with virtual keyboard
2020-10-24 14:11:56 +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
LMerckx
be1d4f65d8
GRIM: Fix mapping of joystick action buttons in EMI ( #2540 )
2020-10-17 20:39:27 +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
Cameron Cawley
b19857bd8c
ENGINES: Use ScummVM's 2D API for blitting the TinyGL framebuffer ( #2516 )
...
* GRIM: Use ScummVM's 2D API for blitting the TinyGL framebuffer
* MYST3: Use ScummVM's 2D API for blitting the TinyGL framebuffer
* ICB: Use ScummVM's 2D API for blitting the TinyGL framebuffer
2020-10-13 22:12:10 +02:00
Cameron Cawley
d1d305d1b9
GRIM/GROOVIE: Move StuffIt archive code to Common ( #2509 )
2020-10-11 22:01:00 +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
Lothar Serra Mari
e197118e28
GRIM: Fix typo in the keymapper actions (again)
2020-10-10 13:01:02 +02:00
Lothar Serra Mari
3bdaa4951f
GRIM: Fix typo in the keymapper actions
2020-10-10 13:01:02 +02:00
Eugene Sandulenko
89123110d2
GRIM: Fix compilation on some systems
2020-10-10 02:05:25 +02:00
Paweł Kołodziejski
35b9cccbde
ALL: Merge ResidualVM
2020-10-09 19:44:13 +02:00
Pawel Kolodziejski
3d74c3dd4d
GRIM: Post branch merge fixes.
2020-10-07 19:50:27 +02:00
Paweł Kołodziejski
6e619ca714
GRIM: Merge branch 'remastered'
2020-10-07 18:26:49 +02:00
Pawel Kolodziejski
8cef3c14cb
GRIM: Added keymaps entries for keymapper
2020-10-06 21:31:18 +02:00
Pawel Kolodziejski
c4b9f966b6
GRIM: Drop side textures feature from backend.
2020-10-05 19:09:58 +02:00
Pawel Kolodziejski
e9839c31e2
BACKENDS: Drop native game joystick support in replacement for emulated from core events backend.
2020-10-03 17:13:54 +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
Pawel Kolodziejski
d5304e2568
ALL: Synced with ScummVM - rev: 33a47d23b8
2020-09-03 02:21:14 +02:00
Pawel Kolodziejski
8f4e1c6cf3
Sync with ScummVM rev. 654b8208b8
2020-06-22 08:14:16 +02:00
Dries Harnie
49a4de702f
GRIM/EMI: Draw movie subtitles while holding frame lock
...
This prevents a crash that occurs if the movie player deletes the
active subtitle while the main loop is still in the process of drawing
it.
2020-05-17 13:48:24 +02:00
Bastien Bouclet
03b7c01806
GRIM: Update the debugger code to match the shared code
2020-05-12 19:55:29 +02:00
Bastien Bouclet
6e6fa26620
GRIM: Refresh the screen when the screen size is changed
2018-10-13 18:33:01 +02:00
Laurent Merckx
7731737623
SDL: Improve joystick usage
...
- configuration of engines natively supporting joystick or not
- for engines not supporting joystick input (Myst3, TLJ), reuse the ScummVM code to emulate mouse from joystick.
A modification was also needed to support relative movements (needed in Myst3 to support camera movements)
2018-03-18 13:06:48 +01:00