Commit Graph

383 Commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
59a6446d8c QUEEN: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Orgad Shaneh
ee57380de7 ENGINES: JANITORIAL: Remove 'virtual' when override is specified 2021-11-14 14:32:04 +02: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
Orgad Shaneh
3919f53326 ENGINES: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
Orgad Shaneh
fe104cc337 ENGINES: Use MetaEngine consistently for getting autosave slot
The autosave refactoring that was done in
7adad5aaf5 used g_engine for identifying the
autosave slot. This worked for in-game save/load, but doesn't fit when
called from the launcher.

Fix by passing MetaEngine to SaveStateDescriptor ctor and using it for this
query.

Amends 7adad5aaf5.
2021-10-24 16:46:06 +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
Mathias Parnaudeau
4b182dad46 QUEEN: Fix warning format-truncation 2021-07-08 21:57:48 +01:00
ysj1173886760
7af3a3f84c ENGINES: introduce ADDectedGameExtraInfo to ADGameDetector, add extra info as parameter for fallback detect. 2021-06-13 14:15:45 +02:00
Gregory Montoir
99ed3f507d QUEEN: Add tables for German Amiga floppy version 2021-04-22 00:31:47 +02:00
Eugene Sandulenko
f5de61e6e9
QUEEN: Mark unsupported reason string for translation 2021-04-20 01:46:06 +02:00
Eugene Sandulenko
98869a0e5c
QUEEN: Added detection for alternative Amiga floppy version. Bugreport #12313
It requires somebody to create tables for queen.tbl. I believe that
we kind of lost that knowledge by this time.
2021-04-19 01:30:45 +02:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
D G Turner
d87419f0a4 QUEEN: Fix Memset on Non-Trivial Structure GCC Compiler Warnings 2021-03-22 18:50:27 +00:00
sluicebox
93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
Cameron Cawley
4ced49acd4 ENGINES: Changed AdvancedMetaEngine::createInstance to return a Common::Error 2020-12-04 20:57:14 +00:00
Eugene Sandulenko
90e360f818 QUEEN: Added Hebrew detection entry 2020-11-28 17:41:23 +01:00
Eugene Sandulenko
7ff34bc9ec PLUGINS: MetaEngineStatic -> MetaEngineDetection 2020-10-11 23:14:39 +02:00
Eugene Sandulenko
7ea6781043 PLUGINS: PLUGIN_TYPE_METAENGINE -> PLUGIN_TYPE_ENGINE_DETECTION 2020-10-11 23:12:32 +02:00
aryanrawlani28
d26bbe521c ENGINES: ALL: Finish renaming ME & AME classes
- ME -> MetaEngineStatic (static parts)
- MEC -> MetaEngine (dynamic parts)
2020-10-03 14:56:36 +02:00
aryanrawlani28
f4d4283f79 QUEEN: Add missing newline at EOF in modules.mk
- This should fix the build errors.
2020-10-03 14:56:36 +02:00
aryanrawlani28
29ceb07959 ENGINES: ALL: Revert detection submodule to be directly present in the engine directory
- DETECT_OBJS are present and added inside an engine's modules.mk file.
2020-10-03 14:56:36 +02:00
aryanrawlani28
f3b9477893 ENGINES: ALL: Add header guards for the new detection-header files. 2020-10-03 14:56:36 +02:00
aryanrawlani28
8189a05316 ENGINES: ALL: Adapt to changes for new plugins by defining a new detection module
For each engine:
- Make a new folder detection
- Move detection-related files inside the folder
- Add a new module "enginename/detection"
- Add DETECT_OBJS here
- Adjust the normal engine module to remove detect_objs
- Adjust every file for the new changes.
2020-10-03 14:56:36 +02:00
aryanrawlani28
4b377af8c6 QUEEN: Split detection code & adapt to new plugins. 2020-10-03 14:56:36 +02:00
Thierry Crozat
60de72a73e QUEEN: Fix loading savegame from Launcher
Loading a savegame from the Launcher for FOTAQ was broken by
commit de879dd (QUEEN: Disable load/save until game is properly
initialized). The patch comes from libretro to fix an issue
described as "ScummVM allows you to load a previous save before
the game is properly initialised. At best, this leads to
undefined behaviour. Most of the time it causes a segfault."

This commit allows loading save game earlier than the original
patch so that loading savegames from the launcher works again.
I don't know the details of the issue that was seen in libretro,
but I tested this change with both address-sanitizer and valgrind
on both Linux and macOS, and neither tool report any issue when
loading a savegame from the launcher.

This fixes bug #11327 (FOTAQ: Loading save game from the launcher
doesn't work).
2020-05-19 01:40:13 +01:00
Thierry Crozat
5d1592c1ed QUEEN: Fix random long delay when starting game
The _lastUpdateTime variable was not initialized before its first
use, which resulted in the first call to update() having a random,
possibly very long, delay.

This was a regression from commit 1c5cbbb (QUEEN: Remove autosave
code). So fortunately the bug is not present in the last release!
2020-05-18 22:31:03 +01:00
mataniko
581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
mataniko
06242a712b JANITORIAL: Rename EVENT_RTL
Now that ScummVM is adding RTL support, the EVENT_RTL should be disambigious that it is for returning to launcher
2020-05-12 10:36:38 +02:00
Henrik "Henke37" Andersson
feb6019182 QUEEN: Debugger, call base for preEnter and postEnter 2020-05-10 23:39:31 +02:00
Eugene Sandulenko
2a5f16faac QUEEN: Added override keyword 2020-04-24 01:40:06 +02:00
Paul Gilbert
1687427e8e ENGINES: Mark autosave slots as write protected
If the autosave slot doesn't yet have any file in it, when the
GMM save dialog is open, the autosave slot will show a default
'Autosave' entry which is write-only, to prevent users
accidentally making a savegame in that slot
2020-02-16 15:44:28 -08:00
Paul Gilbert
1c5cbbb186 QUEEN: Remove autosave code 2020-02-16 15:44:28 -08:00
Paul Gilbert
a00e44ba6c ENGINES: Merge saveGameState virtual methods into a single one 2020-02-16 15:44:28 -08:00
Paul Gilbert
7243eaf907 QUEEN: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet
3bfa411f9e QUEEN: Add override keywords 2020-02-09 12:43:16 +01:00
Eugene Sandulenko
ee06c9d910 QUEEN: Added override keywords 2020-02-05 16:08:10 +01:00
Paul Gilbert
5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
Eugene Sandulenko
7e43cad1bc QUEEN: Added override keywords 2020-01-31 14:13:13 +01:00
BLooperZ
63116a2678 QUEEN: fix bellboy dialogue - bug #11272 2019-12-08 23:33:06 +02:00
sluicebox
b8390fa161 GRAPHICS: Add interface for horizontal shake 2019-11-19 00:20:40 +01:00
D G Turner
81468e2193 QUEEN: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-15 03:38:19 +00:00
Bastien Bouclet
9c8bd056d6 ENGINES: Stop using 'single id' 2019-11-03 11:43:00 +01:00
Bastien Bouclet
4b42112721 ENGINES: Add an engine ID to all the engines 2019-11-03 11:43:00 +01:00
Cameron Cawley
6cf52b515d QUEEN: Prevent hang when closing core during dialog
Co-authored-by: jdgleaver <jdgleaver@users.noreply.github.com>
2019-09-22 23:18:14 +02:00
Cameron Cawley
de879dd538 QUEEN: Disable load/save until game is properly initialised
Co-authored-by: jdgleaver <jdgleaver@users.noreply.github.com>
2019-09-22 23:17:36 +02:00
Niv Baehr
0377045f0e QUEEN: Skip talk on right click 2019-07-30 22:25:14 +03:00
aviloria
41c29b57db QUEEN: Remove a bad detection entry 2019-07-11 03:02:32 +03:00
D G Turner
1c37569ce2 QUEEN: Fix GCC Compiler Warnings
These are further warnings of the use of memset to clear a non-trivial
structure / class. Since it is trivial to add a default constructor to
these to initialise them instead, the memset calls can be removed.
2019-05-07 23:16:50 +01:00
Bastien Bouclet
9a4c0ae281 ENGINES: Normalize the getName() result of metaengines
Also-By: Matthew Hoops <clone2727@gmail.com>
2018-12-10 06:47:27 +01:00