Commit graph

801 commits

Author SHA1 Message Date
Eugene Sandulenko
fdecb6afca ENGINES: Add components to configure.engine's explanatory comment 2024-12-25 00:34:39 +01:00
Eugene Sandulenko
e62aa1cb8a
I18N: Normalized "Left Click" to be in title case in keymaps 2024-11-04 15:36:23 +01:00
Le Philousophe
65c0429045 ALL: Declare the Game not implemented message in only one place 2024-08-17 17:51:06 +03:00
Eugene Sandulenko
caacb4d1e4
ENGINES: "Missing game code" -> "Game not implemented" for unsupported games
As suggested by lephilosouphe, we show this to the end users on attempt
to run unsupported gamesA.
2024-08-13 23:39:57 +02:00
Torbjörn Andersson
40986cb45f TRECISION: Add missing breaks 2024-07-27 09:35:26 +02:00
NabeelShabbir
c216c51d67 TRECISION: Add keymapper support 2024-07-27 01:36:12 +03:00
Cameron Cawley
441b02d057 DETECTION: Use uint32 for ADGameFileDescription file size 2024-06-30 19:13:41 +02:00
Le Philousophe
b61bd3ff85 ENGINES: Create a type aware advanced meta engine 2024-06-30 18:39:06 +02:00
Le Philousophe
90b886097f ENGINES: Create a type aware advanced detector 2024-06-30 18:39:06 +02:00
Cameron Cawley
49b68d6756 ENGINES: Make use of M_PI where possible 2024-01-08 02:56:30 +01:00
Cameron Cawley
30b977c272 DETECTION: Mark more symbols as const 2023-12-26 20:23:59 +01:00
Le Philousophe
e06e8761f1 TRECISION: Migrate engine to Path 2023-12-24 13:19:25 +01:00
Eugene Sandulenko
ec2dd2726b ENGINES: Added optional parameter to canSave/LoadGameStateCurrently() for indicating the reason 2023-12-08 12:21:16 +01:00
Torbjörn Andersson
5aaa67fac2 TRECISION: Fix thumbnail when using ScummVM menu to save (bug #13834)
When saving from the game's control panel, we use the thumbnail that was
created before the control panel opened. But when using the ScummVM
menu, we need to generate the thumbnail as usual. Otherwise, there may
not be any thumbnail at all, causing the save to fail.
2023-12-02 14:40:33 +02:00
sluicebox
5140438d60 TRECISION: Fix memory leaks. PVS-Studio V773 2023-10-30 11:28:14 -07:00
Kaloyan Chehlarski
1188e91b2a TRECISION: Fix uninitialized variable warnings 2023-10-28 16:19:35 +03:00
elasota
b8acbe6bee COMMON: Archive path refactoring, add getFileName and getPathInArchive that unambiguously return the filename or the full path 2023-07-19 18:51:37 +02:00
Eugene Sandulenko
b1295a7f1d
TRECISION: Remove unused translation.h include 2023-03-17 14:55:18 +01:00
Cameron Cawley
5de39f8024 TRECISION: Use SeekableReadStreamEndianWrapper 2022-11-29 00:06:49 +01:00
Cameron Cawley
3c61812ed8 TRECISION: Move the engine options into the MetaEngine subclass 2022-11-16 23:58:54 +01:00
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Torbjörn Andersson
e06f3c9a5a GUI: Allow game option checkboxes to be disabled
Depending on other game option checkboxes. This is used to
enable/disable the semi-smooth scrolling checkboxes for FM Towns Loom,
since it's only used when smooth scrolling is enabled.
2022-04-21 11:07:17 +02:00
Filippos Karapetis
ec16ebbf96 Revert "SCUMM: Refactor the workaround for the broken sample in Indy4"
This reverts commit c59df76164.
2022-04-16 14:25:51 +03:00
Filippos Karapetis
c59df76164 SCUMM: Refactor the workaround for the broken sample in Indy4
This makes the workaround code more self-contained
2022-04-16 14:23:02 +03:00
Filippos Karapetis
52a9b4a03c TRECISION: Clean up location reading code 2022-01-26 01:40:48 +02:00
Filippos Karapetis
deb2d48d71 TRECISION: Reuse muteTrack() and setMute() 2022-01-25 18:49:16 +02:00
Filippos Karapetis
13be0648f0 TRECISION: Refactor the video decoder classes
Change NightlongVideoDecoder to be a base class. This allows us to
remove it as an intermediate class and cleanly separate the PC Smacker
from the Amiga video decoder
2022-01-25 17:57:08 +02:00
Filippos Karapetis
ede8abfd5d TRECISION: Rename _lim to _area 2022-01-25 10:36:08 +02:00
Filippos Karapetis
32fb690aae TRECISION: Add support for audio in Amiga video
The audio is in raw format, like the rest of the sounds in the Amiga
port.

Overall:
- A new class has been created, NightlongVideoDecoder, which
  encapsulates the PC and Amiga video playing functionality
- The AnimManager class has been moved into animmanager.*
- The AnimType class has been moved from anim.* to animtype.*
2022-01-24 00:24:28 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +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
Eugene Sandulenko
821b7a7e1f
TRECISION: Dropping ADGF_TESTING flag 2021-10-01 14:17:19 +03:00
Filippos Karapetis
774016275e TRECISION: Fix hiding animation areas when cutscenes start - bug #12624
playDialog() refreshes the screen when it finishes, so any calls to
toggleAnimArea() should be done before playDialog() starts.
This fixes cases such as the storekeeper's wife not disappearing
properly after the cutscene with the rat-on-wheels is shown
2021-10-01 01:31:57 +03:00
Filippos Karapetis
afdc5d70f7 TRECISION: Fix restoring games from the ScummVM menu - bug #12902 2021-09-30 03:44:58 +03:00
Filippos Karapetis
0b6b48b23d TRECISION: Fix canceling item combination - bug #12920 2021-09-30 03:17:50 +03:00
Filippos Karapetis
40031bf5c0 TRECISION: Add a game ID and an initial detection entry for Ark of Time
Ark of Time isn't supported at all yet, this is just a placeholder for
further development
2021-09-11 12:30:46 +03:00
Orgad Shaneh
7adad5aaf5 ENGINES: Streamline auto-save write/delete protection
Some engines call setAutosave and some don't. isAutosave is used to
determine if a saved game is an autosave, but in fact, on most cases it
just falls back to comparing the name to "Autosave".

This is wrong for several reasons:
* Older versions of ScummVM used Autosave 0.
* The name "Autosave" is translated, so if you change the language, it
  won't be detected.

Instead of relying on the name, use the well-known getAutosaveSlot() from
Engine/MetaEngine.

Fixes #12735.
2021-08-23 13:34:35 +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
SupSuper
ca1b5346cb TRECISION: Fix drawObj condition 2021-07-27 07:03:44 +01:00
Filippos Karapetis
1da70b9247 TRECISION: Move the code that toggles object states when changing rooms 2021-07-15 03:06:09 +03:00
Filippos Karapetis
b882ef646b TRECISION: Use animation defines in patchAnimTab() 2021-07-15 03:06:09 +03:00
Filippos Karapetis
6be03a7801 TRECISION: Patch invalid animation rectangles - bug #12628 2021-07-14 22:18:03 +03:00
Mathias Parnaudeau
35fbf3f913 TRECISION: Fix warning unused-variable 2021-07-08 21:57:48 +01:00
Filippos Karapetis
81b0aad541 TRECISION: Simplify shouldShowAnim() 2021-07-03 13:26:30 +03:00
Filippos Karapetis
dc97c350d2 TRECISION: Simplify the code handling animation subareas 2021-07-03 13:23:49 +03:00
Filippos Karapetis
febc95d486 TRECISION: Clean up drawSmkBackgroundFrame() 2021-07-03 10:44:49 +03:00
Filippos Karapetis
5f98c7c323 TRECISION: Renaming and cleanup 2021-07-03 10:44:49 +03:00
Filippos Karapetis
1266dcab77 TRECISION: Fix logic for walking into room 23A 2021-07-03 10:44:48 +03:00
SupSuper
ec4cce58cb TRECISION: Potential fix for BE color issues 2021-07-02 23:00:01 +01:00