Commit graph

174 commits

Author SHA1 Message Date
Eugene Sandulenko
c245a81a24 SCUMM: Improved detection for Chinese DIG 2020-09-01 00:08:33 +02:00
aryanrawlani28
219646378c SCUMM: GUI: U32: Remove redundant code
- Translations are removed from the md5 warning message because logMessage doesn't support unicode.
2020-08-30 14:43:41 +02:00
aryanrawlani28
12e4f871a3 GUI: U32: Improve u32 in all engine subsystems
- Common: add wordWrap function to ustr.cpp
- Bladerunner: Explicitly state we have a U32String in subs (same as Subtitles::loadOuttakeSubsText)
- Don't use translations for engine specific "put strings", because they might not support.
- SCI: Use const references for showScummVMDialog
- SCUMM:
-- Don't use translation in md5 warning. left comments with the translated version.
-- Remove some redundant headers in help.cpp
-- Don't use translation in handleSaveload when printing to console
-- Also, display success transaction correctly via u32::format
- TESTBED: Use fake constructor when setting label of button
- SKY: Correctly use translation when using SaveStateDescription
- ULTIMA: Don't use translations when display_string
- ENGINES:
-- GenerateUnknownGameReport correctly, with proper translations.
-- There was an error, where a function had been declared twice, in a header file. Correct this.
2020-08-30 14:43:41 +02:00
aryanrawlani28
bd19eaa5bf GUI: U32: More code improvements in engines and misc fixes
- Xeen's GUIError now takes in U32String
- Scumm's ValueDisplayDialog takes in U32
- Mohawk's InfoDialog & PauseDialog takes in U32
- Mohawk - in riven.cpp, Some assignment fixes
- Backends -in sdl.cpp, Remove incorrect conversion from iso8859 when setting text in clipboard
- Graphics - Add u32 strings instead of decoding each piece in format
2020-08-30 14:43:41 +02:00
Eugene Sandulenko
746ec5ce36 SCUMM: Show warning on unsupported Pajama2 Russian localization 2020-08-25 22:07:04 +02:00
Hubert Maier
062b9ae09c JANITORIAL: Fix comments 2020-05-27 12:20:54 +02:00
mataniko
581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
mataniko
e85e6cf846 SCUMM: Fix MM NES palette and colors
Also adds an optional more natural palette as a game option
2020-05-03 01:11:13 +02:00
Bastien Bouclet
730a1ee4cc SCUMM: Add override keywords 2020-02-09 12:43:16 +01:00
Eugene Sandulenko
ff17803dfc SCUMM: Add override keywords 2020-01-31 12:42:07 +01:00
D G Turner
59b639ed4d SCUMM: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-23 11:56:16 +00:00
Bastien Bouclet
bb813719b5 ENGINES: Change targets to have an 'engine ID'
The engine ID identifies which engine should be used to launch the target.
Also remove the 'single ID' system. Different games from engines that used
that system now have different game IDs.

Also-By: Matthew Hoops <clone2727@gmail.com>
2019-11-03 11:43:00 +01:00
Bastien Bouclet
4b42112721 ENGINES: Add an engine ID to all the engines 2019-11-03 11:43:00 +01:00
Ben Castricum
f10afb8d16 SCUMM: Detect language file of Steam version of DIG, fixes bug #10697 2019-09-30 07:46:12 +03:00
Bastien Bouclet
90b78c5446 ENGINES: Merge GameDescriptor and DetectedGame 2018-05-10 09:04:23 +02:00
Bastien Bouclet
1de5aca585 ENGINES: Set the GameDescriptor decription in the constructor 2018-05-10 09:04:23 +02:00
Bastien Bouclet
5aff87dc15 ENGINES: Turn GameDescriptor into a simple struct 2018-05-10 09:04:23 +02:00
Bastien Bouclet
643c24db75 ENGINES: Change MetaEngine::listSupportedGames to return plain game descriptors 2018-05-10 09:04:23 +02:00
Bastien Bouclet
8fb149e3c7 ENGINES: Change MetaEngine::findGame to return a plain game descriptor 2018-05-10 09:04:23 +02:00
Bastien Bouclet
cf1ebf2951 ENGINES: Add unknown game variants to the game detector results 2018-05-10 09:04:23 +02:00
Adrian Frühwirth
7b48934598 SCUMM: Protect autosave (slot 0) from deletion/overwriting 2018-05-01 22:34:00 +02:00
Lothar Serra Mari
451cf2304f ENGINES: Show the unknown Game dialog only when the detector is launched by the Add Game feature 2018-04-29 21:47:10 +01:00
Eugene Sandulenko
c8975f9ba7 Revert "SCUMM: Check for and flag demos correctly"
There are too many regressions.
2018-02-01 08:03:39 +01:00
Henrik "Henke37" Andersson
f71dc0d8ab SCUMM: Check for and flag demos correctly
Rewrote the detection matching to use the extra field like the other
two.

This requires extensive testing due to touching code shared for a lot of
games and being sensitive to individual versions of games.
2018-01-31 21:01:28 +01:00
Ben Castricum
a8faf239a1 SCUMM: Prevent false detection of Steam games 2017-10-31 11:03:53 +01:00
Ben Castricum
d3cd42e1d4 ALL: Fix usage of 'etc.' 2016-11-29 20:14:41 +01:00
rootfather
70a990f6ab SCUMM: Enable translation for the unknown game warning
We have translations enabled for the warning created
by advancedDetector.cpp, so I think it would be neat
to have translations enabled here too.

This also enables the message about the "Lite" version
of Putt-Putt Saves the Zoo being unsupported to the
translation database.
2016-11-26 11:22:17 +01:00
Thierry Crozat
c70701d07b SCUMM: Use platform from candidate to generate unknown version message
If we don't provide the platform and the candidate is a Steam version
it errors out with 'Unable to find Steam executable from detection
pattern!' message.
2016-10-01 01:55:01 +01:00
Alexander Tkachev
b665fc933d ALL: Make simpleSaveNames() a MetaEngineFeature
Added it into hasFeature() of all engines which returned `true` in
simpleSaveNames() before.

As mentioned in #788, SCI is not always using simple names, so it
doesn't have such feature now.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
ab1d160ec8 ALL: Add MetaEngine::simpleSaveNames()
Engines with "simple" savenames would support "Run in background" in
save/load dialog and gradual save slots unlocking. Other engines
save/load feature would be locked until save sync is over.
2016-08-24 16:07:55 +06:00
Eugene Sandulenko
543920a1d6 SCUMM HE: Started code for loading FOW resources 2016-05-10 18:07:36 +02:00
Ori Avtalion
cf73ea5395 SCUMM: Expose COMI's object_labels setting as an extra GUI option 2016-04-01 21:38:50 +03:00
Johannes Schickel
d1cf867fc4 SCUMM: Let listSaves return list sorted on slot numbers. 2016-02-25 21:39:45 +01:00
Johannes Schickel
add6c998ab SCUMM: Only request actual save slots in listSaves. 2016-01-26 16:35:30 +01:00
Robert Crossfield
d83438225e SCUMM: Maniac V0: Add support for D64 Demo Disk, Cleanup duplicate 'Talk' array 2014-12-08 10:14:37 +11:00
Robert Crossfield
c76f21747f SCUMM: MANIAC V1 Demo: GF_DEMO was not being set 2014-11-23 10:58:48 +11:00
Filippos Karapetis
2cbd2402a5 SCUMM: Remove trailing whitespace 2014-10-28 16:15:43 +02:00
Kirben
9dfadc7d9c SCUMM: Correct fix for regressions in The Dig demos, and remove the hack for demos. 2014-09-19 19:38:16 +10:00
Johannes Schickel
21de3fe707 SCUMM: Cleanup. 2014-07-05 14:16:20 +02:00
Johannes Schickel
c44c46a4fb SCUMM: Simplify index file handling for Steam versions.
This also makes sure that all extra needed detection data for the Steam
releases is located inside detection.cpp.
2014-07-05 14:16:20 +02:00
Johannes Schickel
032baa8cd8 SCUMM: Remove unused variable. 2014-07-05 13:39:59 +02:00
Filippos Karapetis
902a140f3e SCUMM: Add support for Steam versions of Indy 3, Indy 4, Loom and Dig
Many Thanks to Ben Castricum for the original patch
2014-07-03 00:13:33 +03:00
Johannes Schickel
3847465163 SCUMM: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
Johannes Schickel
fdcb6a6b1a SCUMM: Cleanup querySaveMetaInfos implementation.
This results in less code and also less I/O operations (including seeking).
2013-11-27 19:29:21 +01:00
Johannes Schickel
3318c4e4ac SCUMM: Slight cleanup in detection.cpp. 2013-11-27 19:03:23 +01:00
Matthew Hoops
0031c41db8 COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.

This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Matthew Hoops
2a9d98003e SCUMM: Restrict the Mac m68k v5 driver to MI2/Indy4
Shouldn't be used with MI1
2012-09-20 11:58:04 -04:00
Matthew Hoops
fc6ab89b50 SCUMM: Add support for Indy4 Mac 68k sound 2012-09-20 11:48:00 -04:00
Alyssa Milburn
92bcb1801a SCUMM: Replace detector printf usage with logMessage. 2012-08-15 09:48:50 +02:00
Johannes Schickel
e242b91db0 SCUMM: Slight cleanup in querySaveMetaInfos. 2012-07-03 18:39:49 +02:00