Commit Graph

714 Commits

Author SHA1 Message Date
Cameron Cawley
9cb51350bb SWORD25: Use ADExtraGuiOptionsMap for the options 2022-07-07 23:46:04 +03:00
Paweł Kołodziejski
3081c362c6
SWORD25: Fixed warning - restored to previous code 2022-05-29 20:53:32 +02:00
Donovan Watteau
5b1ec56f96 JANITORIAL: Fix some lost or outdated URLs in comments 2022-05-19 07:57:31 +03: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
D G Turner
b3f98810a2 SWORD25: Fix Redundant Declarations
These cause GCC Warnings when -Wredundant-decls is enabled.
2022-03-07 13:27:14 +00:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
78ef6203de ENGINES: Fix getSavegameFile for almost all engines
Use kSimpleSavesNames correctly, add where needed, remove where needed.

Trac #12977
2021-11-10 21:49:48 +00:00
Alexandre Detiste
6044504762 JANITORIAL: typos
some in the variable names, some in the comments;
no change for the strings that interract with original games assets
2021-10-31 20:46:31 +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
7e04f3d939
SWORD25: Play no music if no sound device selected. Bugreport #11716 2021-08-25 18:46:07 +02:00
Cameron Cawley
7c17cb79b7 SWORD25: Properly handle colour conversion 2021-08-07 19:19:56 +03:00
Cameron Cawley
e5ea70ce67 SWORD25: Remove unused code 2021-08-07 19:19:56 +03:00
Cameron Cawley
eca80c8635 SWORD25: Use more constants for handling colours 2021-08-07 19:19:56 +03: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
Michael Ball
2a228ccfcd SWORD25: Resolve leftover signedness issues
Resolves leftover signedness issues to conform to baccbedf50.
2021-07-09 00:02:36 +01:00
Paul Gilbert
baccbedf50 GRAPHICS: Changed surface classes sizes from uint16 to int16 2021-07-04 18:24:27 -07:00
D G Turner
b3a09db38b SWORD25: Fix GCC Format Truncation Warnings 2021-07-01 03:29:01 +01:00
Cameron Cawley
10b724fd71 SWORD25: Remove unneeded use of Graphics::ColorMasks 2021-06-24 11:55:54 +02:00
sluicebox
8e1d90f8e4 ALL: Remove clearAllDebugChannels() from Engine dtors 2021-06-14 12:42:38 -05:00
sluicebox
f0d19d600f SWORD25: Remove duplicate debug channel
This is now a fatal error after the recent debug channel refactor
2021-05-22 04:28:23 -06:00
ysj1173886760
3c283af377 SWORD25: move debug channels 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
sluicebox
93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
Thierry Crozat
e0d3b05730 SWORD25: Fix running with non-extracted files
After loading or saving a game, the engine believed it was running
with extracted files, when then cause a crash when looking for
files in the PackageManager.

This fixes bug #12173
2021-02-21 21:09:02 +00:00
Cameron Cawley
4ced49acd4 ENGINES: Changed AdvancedMetaEngine::createInstance to return a Common::Error 2020-12-04 20:57:14 +00: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
Thierry Crozat
233adb3cbd SWORD25: Fix crash in non-extracted version
This was a regression from commit 6d00724. The game was crashing
right at the start.
2020-10-07 11:45:24 +01:00
Eugene Sandulenko
82aaf4262c SWORD25: Fixed language selection in the extracted version 2020-10-07 12:28:16 +02:00
Eugene Sandulenko
010404a7f3 SWORD25: Process Windows paths in extracted version 2020-10-07 11:51:05 +02:00
Eugene Sandulenko
fd556c9b80 SWORD25: Added debug output 2020-10-07 11:29:33 +02:00
Eugene Sandulenko
6d0072475f SWORD25: Make the extracted version working
Our FSDirectory Archive behaviour differs from other Archive-based
classes such as Zip. It returns only files, while the archivers
return whole paths. Thus, we have to use custom code for pattern-based
queries which Lua code uses extensively
2020-10-07 01:40:03 +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
a56dc094b9 ENGINES: ALL: Move detection_enums -> detection.h
- Cleans up headers quite a bit.
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
0880ab9357 SWORD25: Split detection code & adapt to new plugins. 2020-10-03 14:56:36 +02:00
antoniou
1e661b806c SWORD25: CONFIGURE: add theoradec dependency
Without it the game's videos and music/sound won't play and dialogue will skip fast

Theoradec dependency includes the dependency on vorbis (vorbisdec or tremor) due to our checks in the main configure file
2020-07-27 10:12:07 +03:00
Eugene Sandulenko
b53a7db0da ALL: Switch to Common::hypotenuse() 2020-06-06 15:08:52 +02:00
mataniko
581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
Thanasis Antoniou
f68d0d7d36 SWORD25: Convert ANSI source files to UTF-8
Gets rid of VS Studio's warnings about illegal characters
2020-04-18 10:24:22 +03:00
Paul Gilbert
a00e44ba6c ENGINES: Merge saveGameState virtual methods into a single one 2020-02-16 15:44:28 -08:00
Paul Gilbert
0d0191fb44 SWORD25: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet
c115c33b1f SWORD25: Add override keywords 2020-02-09 12:43:16 +01:00
Eugene Sandulenko
c79fb58186 SWORD25: Added override keywords 2020-02-06 23:46:47 +01:00
Paul Gilbert
5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
Eugene Sandulenko
5dd49de0b3 SWORD25: Add override keywords 2020-01-31 14:47:01 +01:00
D G Turner
058fa35d6f SWORD25: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-30 23:57:47 +00:00