180 Commits

Author SHA1 Message Date
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 83b7fe01eac2898f96a2d55057be4d83f5cbdb0a and
20533b819bd55ec77f27599c8f0a45be1347cf0a.
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
Eugene Sandulenko
a7d27bb48c CRYOMNI3D: Fix MSVC warning 2020-05-10 13:38:21 +02:00
Eugene Sandulenko
67947621a3 CRYOMNI3D: Properly process corrupted saves 2020-05-04 12:07:39 +02:00
Le Philousophe
c89feeb644 CRYOMNI3D: Abort even in yes/no message box and file picker 2020-03-14 12:20:41 +01:00
Le Philousophe
a05676d2c3 CRYOMNI3D: Fix documentation for CJK
One minor fix for font choice and support multiline attributes for
Japanese version
2020-03-14 12:20:41 +01:00
Le Philousophe
39f6d8e7ed CRYOMNI3D: Add Japanese version of Versailles 2020-03-14 12:20:41 +01:00
Le Philousophe
cb4c1a72ba CRYOMNI3D: Add Korean version of Versailles 2020-03-14 12:20:41 +01:00
Le Philousophe
b40d3ca55f CRYOMNI3D: Add TTF list support
This will be used for Korean and Japanese versions of Versailles
2020-03-14 12:20:41 +01:00
Le Philousophe
128f1978bc CRYOMNI3D: Add support for Chinese version of Versailles 2020-03-14 12:20:41 +01:00
Le Philousophe
658c4dfa37 CRYOMNI3D: Handle translations for riddles and bomb 2020-03-14 12:20:41 +01:00
Le Philousophe
bf215580dd CRYOMNI3D: Prepare CJK support for Versailles 2020-03-14 12:20:41 +01:00
Le Philousophe
168522beea CRYOMNI3D: Add support for automatically named saves
CJK versions of game use this to avoid handling extended character set
in files
2020-03-14 12:20:41 +01:00
Le Philousophe
dad1b4d135 CRYOMNI3D: Add subtitles support for CJK 2020-03-14 12:20:41 +01:00
Le Philousophe
90d1c764c3 CRYOMNI3D: Add clipping support for videos
This will be used to avoid drawing subtitles at every frame
2020-03-14 12:20:41 +01:00
Le Philousophe
09f2bcf7e8 CRYOMNI3D: Revamp text handling and fonts
Add support to extended Cryo fonts used by Chinese version of
Versailles and melt in existing Graphics::Font interface.
2020-03-14 12:20:41 +01:00
Paul Gilbert
9f175c4053 ENGINES: Cleanup of savegame filenames generation
This removes filename methods when it matched the Engine method.
Secondly, ensuring there was an overriden getSaveStateName method
for engines that didn't do the standard target.00x save filenames
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
Le Philousophe
1bc068decd CRYOMNI3D: Fix Coverity warnings
- Add initializations to constructors
- Use correct variable
- Fix unintended sign extension because of int promotion
- Use camelCase for variable names
2020-02-16 20:20:46 +01:00
Le Philousophe
b5bd7f4bee CRYOMNI3D: Fix two Coverity issues
- memory leak in loadHLZ when file couldn't be opened (CID 1401735)
- use of out of scope reference (nullptr) when script couldn't be found
    (CID 1401734)
2020-02-16 12:32:38 +01:00
Bastien Bouclet
5737e22fde CRYOMNI3D: Add override keywords 2020-02-09 12:43:15 +01:00
Eugene Sandulenko
5d1794d72e JANITORIAL: Whitespace fixes 2020-01-31 13:00:27 +01:00
Eugene Sandulenko
584bc71966 CRYOMNI3D: Add override keywords 2020-01-31 12:58:49 +01:00