Commit Graph
1461 Commits
Author SHA1 Message Date
Matthew Jimenez 5219c99400 GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
Cameron Cawley 838718ea85 DREAMWEB: Use OSystem::copyRectToScreen() and fillScreen() where possible 2024-01-07 11:09:34 +02:00
Le Philousophe 678c63ad1e DREAMWEB: Migrate engine to Path 2023-12-24 13:19:25 +01:00
Le Philousophe 93a8f7f4d6 COMMON: Move Archive API to Path 2023-12-24 13:19:25 +01:00
Eugene Sandulenko 8a5f1a91e6 DREAMWEB: Removing redundant methods: the game does not allow save/load from GMM 2023-12-08 12:21:16 +01:00
Eugene Sandulenko ec2dd2726b ENGINES: Added optional parameter to canSave/LoadGameStateCurrently() for indicating the reason 2023-12-08 12:21:16 +01:00
sluicebox 59231bad7f DREAMWEB: Fix array init. PVS-Studio V612 2023-12-05 09:24:32 -08:00
sluicebox 3a066936b8 DREAMWEB: Fix save parsing in querySaveMetaInfos
Save parsing in `querySaveMetaInfos` had an off-by-one error.
`listSaves` contains the correct parsing.

This caused save descriptions to accumulate a leading junk byte (0x02).
As saves were loaded and re-saved, this added more junk bytes until the
ScummVM list GUI either displayed an empty string or crashed.

This bug affected users differently depending on if they used the list
or grid view for saving and loading.

`querySaveMetaInfos` parsing now matches `listSaves`.

Fixes bug #14561
2023-11-28 13:28:25 +00:00
Le Philousophe 5bdd9e6f50 ALL: Unify zlib and gzio API
zlib is used when available and falls back on gzio.
This allows performance improvements as our CRC32 and gzio
implementations are slower than base zlib.
As zlib is available when libpng is present, this is sensible to
benefit from it.
2023-08-28 21:49:03 +02: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
Giovanni Cascione 4cd4af4649 DREAMWEB: specify CLUT8 format for titles modes 2023-04-04 20:37:35 +01:00
Vladimir Serbinenko 13eb6f3be0 DREAMWEB: Don't use 640x480 if USE_HIGHRES is false
Otherwise it leads to immediate crash on low-resolution devices.
2023-02-28 01:58:13 +01:00
Walter Agazzi 662ffac79b DREAMWEB: Only enable gun action next to hovercar
Enable gun usage when next to the hovercar instead
of the entire roof. Fixes TRAC #14038
2023-02-17 14:54:25 +01:00
Eugene Sandulenko fb7095f5a4 COMMON: Move all compression-related files to a separate directory 2022-12-01 11:53:02 +01:00
Vladimir Serbinenko 2521169a7b DREAMWEB: Switch RNCA archive to MemcachingCaseInsensitiveArchive. 2022-12-01 01:52:46 +01:00
Vladimir Serbinenko aaaf0a560d DREAMWEB: Add entry for international floppy release (compressed)
I don't have German, Italian or Spanish files to create entries for them.
2022-11-29 04:30:36 +01:00
Vladimir Serbinenko cf29e594e1 DREAMWEB: Support playing from compressed installer 2022-11-29 04:30:36 +01:00
Vladimir Serbinenko baf09ee417 DREAMWEB: Implement RNCA archive
It's used by floppy installer
2022-11-29 04:30:36 +01:00
Cameron Cawley c11cf35f48 DREAMWEB: Move the engine options into the MetaEngine subclass 2022-11-16 23:58:54 +01:00
Cameron Cawley 0848034bf0 DREAMWEB: Clean up the game options 2022-11-03 23:01:08 +00:00
alxpnv 2614f0d245 DREAMWEB: lower the music volume in the last scene 2022-10-27 02:45:57 +03:00
Le Philousophe 4282dec6f6 DREAMWEB: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
alxpnv 0b1bcac6ac DREAMWEB: fix thumbnails when using original save/load screens 2022-10-22 01:42:00 +03:00
Cameron Cawley f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
athrxx bd1dbecde9 TTS: (ENGINES) - add support for tts enable function
The new option only works as intended if the engine that have TTS support apply their own settings. It cannot be globally implemented before and after runGame(), since the engines don't all use the same config manager variables (sometimes "tts_enabled_speech", "tts_enabled" or "tts_narrator, sometimes more than one of these).
2022-04-26 21:08:41 +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
trembyle b9e7b1dfcd COMMON: ENGINES: Correct Czech language ISO code
1. Correct constant in common files
2. Add the old code to obsolete language codes
3. Replace all occurences in engine code
2022-03-04 18:29:02 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 2c23cf985f DREAMWEB: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02: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
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
trembyle 556984a9c1 DREAMWEB: Add detection for demos
* Floppy demo found on PC Format (UK) CD-ROM Collection # 3
* Speech demo found on MediaProducts Supergames Vol 9
* Amiga  demo found on Amiga Format (UK) # 60 disk C

The DOS demos are also here:
https://archive.org/details/DreamWeb_1020
https://archive.org/details/dreamweb-cd_zip
2021-09-19 14:52:46 +02:00
taylorzhancher ea9a7dccf1 DREAMWEB: Add Text To Speech support 2021-09-04 19:27:46 +01: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
sluicebox 8e1d90f8e4 ALL: Remove clearAllDebugChannels() from Engine dtors 2021-06-14 12:42:38 -05:00
ysj1173886760 d987e1a6b1 DREAMWEB: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02:00
sluicebox 93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
Eugene Sandulenko a77c78c552 DREAMWEB: Final fixes for Russian version 2020-12-09 01:13:23 +01:00
Eugene Sandulenko 203ac1205c DREAMWEB: Fix verb order in Russian DreamWeb 2020-12-07 01:49:17 +01:00
Cameron Cawley 4ced49acd4 ENGINES: Changed AdvancedMetaEngine::createInstance to return a Common::Error 2020-12-04 20:57:14 +00:00
Eugene Sandulenko e804ba69a7 DREAMWEB: Use AD_ENTRY2s in the detection tables 2020-11-28 14:14:03 +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 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 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 7fe1eb330d DREAMWEB: Remove redundant and unreachable return statement 2020-10-03 14:56:36 +02:00
aryanrawlani28 5161f46f98 DREAMWEB: Split detection code & adapt to new plugins. 2020-10-03 14:56:36 +02:00
aryanrawlani28 cdf4261328 DREAMWEB: Move common struct to detection.h
- This way we don't include entire detection_tables in metaengine.cpp, which needs it.
2020-10-03 14:56:36 +02:00
mataniko 581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00