Commit Graph
367 Commits
Author SHA1 Message Date
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 Cawleyandjdgleaver 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 Cawleyandjdgleaver 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
Eugene Sandulenko d516f57561 QUEEN: Added detection for Russian interview demo 2018-07-05 22:18:44 +02:00
Eugene Sandulenko efced47369 QUEEN: Added detection for Russian version 2018-07-03 21:47:23 +02:00
Bastien Bouclet 61f9398b04 Merge pull request #1187 from bgK/detection-refactor-unknown
ENGINES: Return unknown game variants with the list of detected games
2018-05-28 18:43:15 +02:00
lotharsm d6e6aca7e3 QUEEN: Add detection entry for Italian GoG.com release 2018-05-22 09:54:38 +02:00
lotharsm cb33dd6de3 QUEEN: Add detection entry for French GoG.com release 2018-05-22 09:54:38 +02:00
lotharsm ff68947ac1 QUEEN: Add detection entry for German GoG.com release 2018-05-22 09:54:38 +02:00
Bastien Bouclet cf1ebf2951 ENGINES: Add unknown game variants to the game detector results 2018-05-10 09:04:23 +02:00
Adrian Frühwirth 49116b4ae7 ALL: Use CLIP to clip volumes 2018-05-05 17:57:31 +02:00
Colin Snover 432fd522d2 ENGINES: Remove default1x scaler flag
This flag is removed for a few reasons:

* Engines universally set this flag to true for widths > 320,
  which made it redundant everywhere;
* This flag functioned primarily as a "force 1x scaler" flag,
  since its behaviour was almost completely undocumented and users
  would need to figure out that they'd need an explicit non-default
  scaler set to get a scaler to operate at widths > 320;
* (Most importantly) engines should not be in the business of
  deciding how the backend may choose to render its virtual screen.
  The choice of rendering behaviour belongs to the user, and the
  backend, in that order.

A nearby future commit restores the default1x scaler behaviour in
the SDL backend code for the moment, but in the future it is my
hope that there will be a better configuration UI to allow users
to specify how they want scaling to work for high resolutions.
2017-10-07 12:30:29 -05:00
Torbjörn Andersson 0b07029274 QUEEN: Silence GCC 7 warnings about potential buffer overflow
Use snprintf() instead of sprintf() to limit how much is written
to the buffer. Note that there are other places where it looks
like it could overflow, but they did not trigger warnings and I'm
guessing that it doesn't overflow in reality.
2017-08-06 20:06:18 +02:00
Torbjörn Andersson 70a2ca8b7d JANITORIAL: Silence more GCC 7 warnings
All these fall through were marked as deliberate, so again I've only
changed the comment to silence GCC.
2017-08-06 13:30:51 +02:00
D G Turner d2a7c296a2 COMMON: Migrate Various Endian Functions to Common from Engine Code.
Thanks to N.E.C <beholdnec@gmail.com> for this.
2017-07-30 22:03:29 +02:00
Eugene Sandulenko d958287e84 QUEEN: Improved Russian fonts 2016-12-11 00:08:40 +01:00
Eugene Sandulenko 33abb6118f ALL: Change main engine header guard defines to <directory>_<engine>_H
Recently we started to use this as new semantics, although in the past
we used simly <engine>_H. Now these guard defines are consistent with
rest of the files which are used in the engines.
2016-05-17 18:21:30 +02:00
Ori Avtalion 3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Eugene Sandulenko 47c6a28e72 QUEEN: Added some md5s. Bug #6946 2016-03-28 12:13:02 +02:00