Commit Graph
201 Commits
Author SHA1 Message Date
Cameron Cawley 83ff98940d CRYOMNI3D: Remove unused options list 2022-11-03 19:32:44 +00:00
Hubert Maier 4a85380400 CRYOMNI3D: Correct spelling mistake
begining -> beginning
2022-10-27 15:56:09 +02:00
Le Philousophe b6a1284baf CRYOMNI3D: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Le Philousophe 6854b155fc CRYOMNI3D: Prevent a possible out of bound memory access 2022-09-18 13:28:50 +02:00
Le Philousophe f04b3f6841 CRYOMNI3D: Use a null-terminated string
This is cleaner than just silencing the warning
2022-09-18 13:19:59 +02:00
Le Philousophe d9456b459f CRYOMNI3D: Add members initializer
This will fix static analyzer errors
2022-09-18 13:19:59 +02:00
Le Philousophe 399e02e2a5 CRYOMNI3D: Add HNM6 image and video codec
This also adds a Cryo APC decoder in shared code.
2022-08-30 11:02:32 +02:00
Cameron Cawley f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Cameron Cawley a020300701 ENGINES: Remove use of getEngineId() in MetaEngine subclasses 2022-07-20 11:54:19 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Filippos Karapetis aec7ece91e CRYOMNI3D: Remove unused variable
Thanks to eientei for reporting this
2021-12-24 03:17:05 +02:00
Orgad Shaneh 441992ae3b CRYOMNI3D: 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
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 3919f53326 ENGINES: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
Le Philousophe 25e8cb8881 CRYOMNI3D: Fix save filename pattern 2021-10-24 16:58:23 +02:00
Orgad Shaneh 0db343d364 ENGINES: Add missing getSavegameFile overrides
... for non-default names.

Fixes moving autosave to a new slot.

Trac #12977
2021-10-24 16:46:36 +02: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
Cameron Cawley c75e3088fe CRYOMNI3D: Add detection for the Atlantis: The Lost Tales demo 2021-10-04 18:37:25 +02:00
Cameron Cawley f5ea77bed3 CRYOMNI3D: Support the Versailles 1685 demo 2021-10-04 18:37:25 +02:00
trembyle 9e8423553e CRYOMNI3D: Add detection for US DOS demo
Just in case anyone tries to add this, we can now inform them that
it's unsupported.

https://archive.org/details/playhns_003
2021-09-19 14:52:46 +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
Paul Gilbert baccbedf50 GRAPHICS: Changed surface classes sizes from uint16 to int16 2021-07-04 18:24:27 -07:00
sluicebox 8e1d90f8e4 ALL: Remove clearAllDebugChannels() from Engine dtors 2021-06-14 12:42:38 -05:00
ysj1173886760 7af3a3f84c ENGINES: introduce ADDectedGameExtraInfo to ADGameDetector, add extra info as parameter for fallback detect. 2021-06-13 14:15:45 +02:00
ysj1173886760 c24f589c8f CRYOMNI3D: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02:00
Cameron Cawley d9fe53efb2 CRYOMNI3D: Move HNMDecoder into common code 2021-04-17 21:48:45 +03:00
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Henrik "Henke37" Andersson 5b10de7c8f CRYOMNI3D: Error instead of warn for missing image scripts 2021-02-12 00:41:23 +01:00
Henrik "Henke37" Andersson c2f3ec18ab CRYOMNI: Use tryGetVal 2021-02-12 00:41:23 +01:00
Cameron Cawley 4ced49acd4 ENGINES: Changed AdvancedMetaEngine::createInstance to return a Common::Error 2020-12-04 20:57:14 +00:00
Ano Nymous 2853c357cc CRYOMNI3D: Simple fix for encoding problems
That's simpler than reimplementing an U32String object
2020-12-01 20:09:22 +01:00
Ano Nymous 4c833495d4 Revert "CRYOMNI3D: Don't use U32String with non UTF-32 codepoints"
This reverts commits 83b7fe01ea and
20533b819b.
2020-12-01 20:09:22 +01:00
Thierry Crozat 20533b819b CRYOMNI3D: Fix compilation 2020-11-28 18:12:04 +00:00
Le Philousophe 83b7fe01ea CRYOMNI3D: Don't use U32String with non UTF-32 codepoints
Create a new CryoString instead which can handle all the cases
2020-11-28 17:04:07 +01:00
Le Philousophe 9881255919 CRYOMNI3D: Add detection for German Windows version from ticket #11963 2020-11-21 11:55:54 +01:00
Torbjörn Andersson ba37c52047 JANITORIAL: Remove some unnecessary semicolons 2020-11-17 07:22:49 +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 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 e9ad5efad1 CRYOMNI3D: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
Bastien Bouclet 0f2c6cd9ea ENGINES: Change mac resource fork file detection to use the file cache
Common::MacResMan is now able to open files from a specified
Common::Archive. This is a bit hacky as dynamic_cast is used to break
the Archive encapsulation to retreive the underlying FSNode. It should
however be more correct than the previous code that assumed files were
at the root of the currently running game's path.

AdvancedDetector constructs a Common::Archive from its FileMap based
filesystem cache and uses it to detect the mac resource fork files.

This cuts the time it takes to run the detection code with all the
engines enabled as dynamic plugins on the 3DS to 30 s from 280 s.
2020-09-20 16:33:45 +02:00
aryanrawlani28 840f08d537 GUI: U32: Code cleanup & misc fixes
- Fix a translation for scumm subtitle settings dialogs.
2020-08-30 14:43:41 +02:00
aryanrawlani28 6fa5d7ee2f CRYOMNI3D: Assign char outside if condition to avoid ambiguity with new contains utility 2020-08-30 14:43:41 +02:00
Eugene Sandulenko fe0193b914 JANITORIAL: Remove unndeded "common/translation.h" include 2020-08-27 20:26:45 +02:00
mataniko 581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00