Commit graph

3078 commits

Author SHA1 Message Date
Torbjörn Andersson
097694720a GRIM: Partially revert 6bb4658ea6 to work around bug #12932
The moveToFadeOutTrack() function was introduced many years ago to fix
"sound skipping a bit when a fade out track starts". Unfortunately,
while this may have worked flawlessly back then it causes crashes in
certain cases now.

The point of this is to avoid the crash for the upcoming release. A more
long-term solution should be in the works.
2021-09-27 22:21:29 +02:00
Paweł Kołodziejski
dfb1dab24e
GRIM: Restore remastered game entry but add as not supported 2021-09-14 08:00:34 +02:00
Paweł Kołodziejski
61424be6cc
GRIM: Disable monkey 4 and grim remastered 2021-09-05 18:32:46 +02:00
Paweł Kołodziejski
517ca67cfc
GRIM: Revert "GRIM: Add Monkey4 Steam/GOG version detection" 2021-08-21 08:00:05 +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
Lothar Serra Mari
6226cc344b GRIM: Fix download URL for the game patches 2021-08-20 19:28:07 +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
Felix Kehrer
d95c35dd6a GRIM: Add Monkey4 Steam/GOG version detection 2021-08-16 21:41:11 +02:00
Max Horn
445fe63524 GRIM: fix global constructor warnings
Since now `_musicTable` always points to a an array allocated
via `new[]`, we can also simplify the `EMISound` destructor.
2021-08-07 10:46:14 +02:00
Max Horn
b7e6d61669 JANITORIAL: Fix compiler warnings about unused code 2021-08-07 10:46:14 +02:00
djsrv
7eb4841065 ALL: Use Path type in Archive functions 2021-08-07 10:44:37 +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
Cameron Cawley
757a819da9 GRIM: Remove unneeded use of Graphics::createPixelFormat 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
dd14b7b34a GRIM: move debug flags 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
Eugene Sandulenko
a138c0b646
ENGINES: Fix mess with the mismatched engine ids between engine/detection plugins 2021-04-14 14:42:38 +02:00
Niv Baehr
bc19f81d56
GRIM: use unicode-bidi for hebrew (#2917)
Co-authored-by: BLooperZ <blooperz@users.noreply.github.com>
2021-04-05 22:04:16 +03:00
Niv Baehr
77a166ad7e
GRIM: Add hebrew fan translation detection entry (#2916)
Co-authored-by: BLooperZ <blooperz@users.noreply.github.com>
2021-04-05 21:13:04 +03:00
Filippos Karapetis
53db2cde0c GRIM: Adjust comment 2021-03-24 14:34:32 +02:00
BLooperZ
b3101c9923 GRIM: add RTL support for hebrew 2021-03-24 14:34:32 +02:00
D G Turner
7763ce5802 GRIM: Fix Memset on Structures GCC Warnings
This now uses a clear() method in the Track structure.
2021-03-19 08:52:11 +00:00
D G Turner
849c1fc32f GRIM: Fix Signed vs. Unsigned Comparison GCC Warnings 2021-03-18 06:05:59 +00:00
Thierry Crozat
2da0a3e95f GRIM: Fix unknown key error when loading savegame 2021-03-07 19:58:36 +00:00
Eugene Sandulenko
f7371593fb GRIM: Fix linking with plugins enabled 2021-03-04 17:14:35 +01:00
sluicebox
93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
Henrik "Henke37" Andersson
8f5ef19662 GRIM: Use getValOrDefault 2021-02-12 00:41:23 +01:00
Christian Krause
ab828f3f3c GRIM: gracefully handle critical floating point operations 2020-12-08 19:35:54 +01:00
Cameron Cawley
4ced49acd4 ENGINES: Changed AdvancedMetaEngine::createInstance to return a Common::Error 2020-12-04 20:57:14 +00:00
Eugene Sandulenko
9e73c49e2b GRIM: Use AD_ENTRY2s in the detection table. That also fixes OOB access 2020-11-28 14:44:06 +01:00
Hubert Maier
e19d4e197b
AMIGAOS: Keep platform name continuity (#2643) 2020-11-26 15:10:01 +01:00
Niv Baehr
e60da20d3a GRIM: fix localization of dialogue transcript
Fixes bug where cutscenes lines were always written to dialogue transcript in english regardless of game language
as described in https://bugs.scummvm.org/ticket/11878
2020-11-24 10:55:20 +01:00
Einar Johan Trøan Sømåen
33572861c2 GRIM: Fix PixelFormat lookup during Remastered's startup.
Grim Fandango Remastered has an alpha channel in the
video that plays as intro.

This makes Grim Fandango Remastered start, although there
are still quite a few issues to fix.
2020-11-22 22:31:35 +01:00
Cameron Cawley
c877097b49 ALL: Remove use of "" in Common::U32String constructors 2020-11-16 16:56:58 +00:00
LMerckx
d76faf125c
GRIM: Simplify shaders for Raspberry PI (#2618)
* GRIM: Simplify shaders for Raspberry PI
2020-11-13 06:22:20 +01:00
Paweł Kołodziejski
15f1f86bfe GRIM: Remove end lines from warning() messages 2020-11-12 10:51:13 +01:00
Paweł Kołodziejski
2b39d80d12 GRIM: Do not store "last_set" if it was not stored before 2020-11-12 10:47:15 +01:00
Laurent Merckx
741cd5ddc7 GRIM: use GL_UNSIGNED_SHORT for glDrawElements instead of GL_UNSIGNED_INT (not supported for GLES <= 2) 2020-11-12 05:58:36 +01:00
Lothar Serra Mari
36a2bda04b GRIM: Convert MD5 checksum dialog message to U32String 2020-11-09 22:42:04 +01:00
Mathias Parnaudeau
10b88aae66 GRIM: Fix alloc-dealloc mismatch in grim engine
A previous fix in ResidualVM changed 2 calls to free() into delete
operators because scumm_strdup() was using the new operator.
Later scumm_strdup() switched to malloc() to be aligned with strdup()
function. So move back to free().
2020-11-04 23:06:46 +00:00
Matthieu Milan
782bfa88ad
EMI: Fix screenshot when saving on ES2 (#2587) 2020-11-02 18:42:01 +01:00
Paweł Kołodziejski
d44f1f77ed GRIM: Rename engine data patches 2020-11-01 14:10:09 +01: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
Eugene Sandulenko
33ac09433f GRIM: Do not launch EMI when it is disabled in configure 2020-10-16 19:05:53 +02:00