Commit Graph

43 Commits

Author SHA1 Message Date
Eugene Sandulenko
a9d12069d8 TUCKER: Added support for Russian fan translation 2018-12-30 19:52:27 +01:00
Bastien Bouclet
9a4c0ae281 ENGINES: Normalize the getName() result of metaengines
Also-By: Matthew Hoops <clone2727@gmail.com>
2018-12-10 06:47:27 +01:00
Adrian Frühwirth
dd431526be TUCKER: Use nullptr 2018-07-04 12:42:34 +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
00e59a3122 ALL: Load savegame thumbnail only when necessary
This commit introduces the following changes:

1. Graphics::loadThumbnail()

   Now returns a boolean and takes a new argument skipThumbnail which
   defaults to false. In case of true, loadThumbnail() reads past the
   thumbnail data in the input stream instead of actually loading the
   thumbnail. This simplifies savegame handling where, up until now,
   many engines always read the whole savegame metadata (including
   the thumbnail) and then threw away the thumbnail when not needed
   (which is in almost all cases, the most common exception being
   MetaEngine::querySaveMetaInfos() which is responsible for loading
   savegame metadata for displaying it in the GUI launcher.

2. readSavegameHeader()

   Engines which already implement such a method (name varies) now take
   a new argument skipThumbnail (default: true) which is passed
   through to loadThumbnail(). This means that the default case for
   readSavegameHeader() is now _not_ loading the thumbnail from a
   savegame and just reading past it. In those cases, e.g.
   querySaveMetaInfos(), where we actually are interested in loading
   the thumbnail readSavegameHeader() needs to explicitely be called
   with skipThumbnail == false.

   Engines whose readSavegameHeader() (name varies) already takes an
   argument loadThumbnail have been adapted to have a similar
   prototype and semantics.
   I.e. readSaveHeader(in, loadThumbnail, header) now is
   readSaveHeader(in, header, skipThumbnail).

3. Error handling

   Engines which previously did not check the return value of
   readSavegameHeader() (name varies) now do so ensuring that possibly
   broken savegames (be it a broken thumbnail or something else) don't
   make it into the GUI launcher list in the first place.
2018-04-07 09:26:20 +02:00
Adrian Frühwirth
ed44cbf287 TUCKER: Add savegame metadata and autosave support 2018-03-16 20:18:32 +01:00
Johannes Schickel
0b6befdcc5 ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.
_singleid   -> _singleId
_gameids    -> _gameIds
_guioptions -> _guiOptions
2016-03-08 19:01:13 +01:00
Johannes Schickel
0aea4b59df TUCKER: Let listSaves return list sorted on slot numbers. 2016-02-25 21:39:45 +01:00
Johannes Schickel
9e90dcd346 TUCKER: Make GPL headers consistent in themselves. 2014-02-18 02:39:39 +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
Strangerke
bab4b6f729 LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE) 2011-11-16 22:38:58 +01:00
Eugene Sandulenko
32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01:00
Max Horn
879c3c7817 DETECTOR: Pass allFiles to AdvancedMetaEngine::fallbackDetect()
Also reorder the parameters of composeFileHashMap, placing the "return value"
first.
2011-06-14 18:52:11 +02:00
Max Horn
7c992d6598 DETECTOR: Merge ADParams into AdvancedMetaEngine 2011-06-14 18:17:01 +02:00
Max Horn
59d56b6687 TUCKER: Switch to alternate AdvancedMetaEngine, avoid ADParams 2011-06-10 22:15:46 +02:00
Max Horn
4827cc914a ENGINES: Change incorrect use of 'target' to 'gameid' 2011-06-10 22:15:40 +02:00
D G Turner
5015d12142 TUCKER: Replace snprintf() usage with Common::String::format()
Safer and less portability issues.
2011-06-02 18:02:12 +01:00
Thierry Crozat
3c59e37035 ENGINES: Unify engine names
This unifies the engine names in MetaEngine::getName() and the
credits. In particular drop "Engine" or "engine" from the names when
it was present and use expanded names in credits when the
MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-16 00:11:32 +01:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Gregory Montoir
3d0f255912 TUCKER: add missing code for kSupportsLoadingDuringStartup 2011-03-20 18:31:18 +01:00
Johannes Schickel
ce733ab75a TUCKER: Add GUIO_NOLAUNCHLOAD to the detection flags.
svn-id: r54126
2010-11-07 19:13:30 +00:00
Max Horn
18d40017e8 ENGINES: Unify code layout of all ADParams instances
svn-id: r54105
2010-11-07 01:01:18 +00:00
Eugene Sandulenko
44a39ffbc6 AdvancedDetector: Add new parameter directoryGlobs.
Without this parameter mass detection gave tons of false alarms.
Use globbing for narrowing down the depth search.

svn-id: r49788
2010-06-15 10:59:23 +00:00
Eugene Sandulenko
4d517ed0e9 Extended advancedDetector with depth parameter.
Now AD can search nested directories. By default it is turned off,
but there is new parameter to ADParameters struct. Usually value
of 2 is good enough for all purposes.

svn-id: r49653
2010-06-14 14:50:23 +00:00
Max Horn
cac0ac66e2 COMMON: Get rid of Common::StringList
svn-id: r48287
2010-03-18 15:54:40 +00:00
Eugene Sandulenko
1bd6f6c99f Added game GUI options to advancedDetector and updated all engines
svn-id: r41272
2009-06-06 17:56:41 +00:00
Max Horn
fb79b18571 Changed SaveFileManager methods to take Common::String params (instead of char pointers)
svn-id: r41000
2009-05-29 14:38:22 +00:00
Jordi Vilalta Prat
047f116515 Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
svn-id: r39132
2009-03-05 12:04:58 +00:00
Max Horn
28cf213605 Moved AdvancedDetector from common/ to engines/
svn-id: r36132
2009-01-29 22:13:01 +00:00
Gregory Montoir
e5feb689df added detection entry for playable demo and some code differences
svn-id: r36044
2009-01-24 21:03:44 +00:00
Gregory Montoir
3ddbc1211f moved game version flags to detection entries ; unset kGameFlagEncodedData for polish version (tracker item #2436225)
svn-id: r35417
2008-12-17 21:29:56 +00:00
Gregory Montoir
328f0cda5d added Czech version detection entry, tracker item #2435411
svn-id: r35402
2008-12-16 22:09:55 +00:00
Gregory Montoir
f18f79ebf7 added polish version as reported on tracker item #2433494, removed english charset as default
svn-id: r35401
2008-12-16 22:05:16 +00:00
Gregory Montoir
0e2864692e fixed bug #2423037, wrong demo version detection
svn-id: r35332
2008-12-13 09:39:00 +00:00
Gregory Montoir
12bf681ee8 fixed german version detection, added datafiles remapping as listed in bug tracker item #2422555
svn-id: r35319
2008-12-12 21:42:38 +00:00
Gregory Montoir
9ad879af48 reworked bud tucker demo detection
svn-id: r35228
2008-12-03 22:15:05 +00:00
Gregory Montoir
8d59712192 fixed listSaves ordering
svn-id: r35191
2008-11-30 12:23:24 +00:00
Gregory Montoir
d93413b99b added detection entries and charset selection for german version
svn-id: r35188
2008-11-30 11:30:29 +00:00
Gregory Montoir
362bdf87d7 added support for kSupportsLoadingDuringRuntime & kSupportsSavingDuringRuntime, cleanup
svn-id: r35171
2008-11-28 23:56:25 +00:00
Gregory Montoir
8f230d7358 added support for animation sequence
added support for non-interactive demo
fixed wrong end of demo screen when quitting the game using the inventory

svn-id: r35069
2008-11-15 02:32:05 +00:00
Jordi Vilalta Prat
f773ec4df4 Added detection entry for Spanish Bud Tucker
svn-id: r35052
2008-11-14 09:45:42 +00:00
Eugene Sandulenko
388e0d3417 Add entry for English version. Dies instantly for me.
svn-id: r34997
2008-11-10 22:08:52 +00:00
Gregory Montoir
4a5d4ba94d add initial support for 'Bud Tucker in Double Trouble'
svn-id: r34990
2008-11-10 20:38:54 +00:00