Commit Graph

728 Commits

Author SHA1 Message Date
Cameron Cawley
00e3c03755 ALL: Remove unnecessary graphics/colormasks.h includes 2020-06-15 16:59:34 +01:00
mataniko
581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
mataniko
06242a712b JANITORIAL: Rename EVENT_RTL
Now that ScummVM is adding RTL support, the EVENT_RTL should be disambigious that it is for returning to launcher
2020-05-12 10:36:38 +02:00
Henrik "Henke37" Andersson
f87a73b4f7 ACCESS: Debugger, call base postEnter 2020-05-10 23:39:31 +02: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
Paul Gilbert
35c30cdad8 ACCESS: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet
9173dc8a03 ACCESS: Add override keywords 2020-02-09 12:42:41 +01:00
Eugene Sandulenko
2b90d1acba ACCESS: Added override keywords 2020-02-05 14:34:33 +01:00
Paul Gilbert
5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
Bastien Bouclet
9c8bd056d6 ENGINES: Stop using 'single id' 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
Paul Gilbert
b35c5cba39 ACCESS: AMAZON: Fix crash due to Common::Language change
Thanks to eriktorbjorn for noticing a new addition to the
Common::Language enum was breaking the game
2019-03-03 21:52:57 -08: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
D G Turner
275fc30f27 ACCESS: MM: Fix Compiler Variable Shadowing Warning. 2018-07-29 03:19:53 +01:00
Paul Gilbert
af6034efcd ACCESS: MM: Implement proper game data and fonts in access.dat 2018-07-20 19:05:56 -07:00
Adrian Frühwirth
a20f90cbb7 JANITORIAL: Fix formatting 2018-04-22 00:56:21 +02:00
Adrian Frühwirth
9bee9e1ba6 JANITORIAL: Fix whitespace 2018-04-19 12:08:31 +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
Colin Snover
432fd522d2 ENGINES: Remove default1x scaler flag
This flag is removed for a few reasons:

* Engines universally set this flag to true for widths > 320,
  which made it redundant everywhere;
* This flag functioned primarily as a "force 1x scaler" flag,
  since its behaviour was almost completely undocumented and users
  would need to figure out that they'd need an explicit non-default
  scaler set to get a scaler to operate at widths > 320;
* (Most importantly) engines should not be in the business of
  deciding how the backend may choose to render its virtual screen.
  The choice of rendering behaviour belongs to the user, and the
  backend, in that order.

A nearby future commit restores the default1x scaler behaviour in
the SDL backend code for the moment, but in the future it is my
hope that there will be a better configuration UI to allow users
to specify how they want scaling to work for high resolutions.
2017-10-07 12:30:29 -05:00
Bastien Bouclet
ec49730711 VIDEO: Allow setting the mixer sound type used to play audio tracks 2017-07-27 06:40:07 +02:00
Ben Castricum
ebaab44cd1 ALL: Leave out instructions for engine data issues 2016-12-08 13:38:56 +01:00
Ben Castricum
55512414dd ALL: Change instructions for engine data file issues
The engine data files should be included in the package, so downloading
may not be the best suggestion. Instead refer to the README.
2016-12-06 14:16:37 +01:00
Ben Castricum
1cf3f50b74 ALL: Unify 'wrong version of engine data' message 2016-12-06 09:38:25 +01:00
Ben Castricum
eb7ffb1e2c ALL: Unify 'corrupted engine data' message 2016-12-06 09:38:19 +01:00
Ben Castricum
e1ec91b69a ALL: Unify 'missing engine data' message 2016-12-05 21:04:50 +01:00
Paul Gilbert
88868ec67c ACCESS: Mark unsupported games as unstable 2016-11-21 20:25:13 -05:00
Eugene Sandulenko
dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Eugene Sandulenko
fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02: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
49ee8d82d1 ACCESS: Move debug channel registration where they belong 2016-07-28 11:32:54 +03:00
Ori Avtalion
47b2a3a237 ACCESS: Reduce audio header dependencies 2016-05-29 20:11:34 +03:00
Hubert Maier
0d2ea47faf GUI: Make copyright "sign" consistent
In the About dialog the copyright "sign" (C) is lower case (c) in nine engines.
Making them consistent by using (C) on all engines
2016-05-29 15:04:41 +03:00
Paul Gilbert
f1f50b3a9d ACCESS: Fix derived Screen copyBlock method signature 2016-05-27 21:54:41 -04:00
Paul Gilbert
e68de1d3b5 ACCESS: Remove redundant allocation in surface creation 2016-05-27 06:00:48 -04:00
Paul Gilbert
ac8adb07c8 ACCESS: Refactor ASurface and Screen to not use virtual inheritance 2016-05-26 21:21:03 -04:00
Eugene Sandulenko
b0d90ccccf ACCESS: Plug memory leak 2016-05-18 12:38:15 +02:00
Eugene Sandulenko
7526cf82f2 FULLPIPE: Plug memory leak 2016-05-15 13:07:23 +02:00
Eugene Sandulenko
6858dbe2c2 ACCESS: Fix memory leak 2016-05-15 12:35:23 +02:00
Eugene Sandulenko
a3d1ecb7d1 JANITORIAL: Remove trailing spaces 2016-05-15 12:34:32 +02:00
Eugene Sandulenko
1b7bb9ee6d ACCESS: Plug memory leak 2016-05-15 12:30:52 +02:00
Eugene Sandulenko
20433e3476 ACCESS: Plug memory leak 2016-05-15 12:29:35 +02:00
Paul Gilbert
cc11941203 ACCESS: Fix crash at end of AGOE floppy chapter 6 2016-05-13 22:19:03 -04:00
Ori Avtalion
3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Paul Gilbert
9c7569b74b ACCESS: Changed engine to use Graphics::ManagedSurface 2016-03-14 20:56:25 -04:00
Paul Gilbert
3ffd8dedd2 ACCESS: Revert AGOE Spanish detection entry back to unstable 2016-03-10 18:51:39 -05:00
Johannes Schickel
cf685fbc6c ACCESS: Let listSaves return list sorted on slot numbers. 2016-02-25 21:39:45 +01:00
Paul Gilbert
972a1bbfd4 ACCESS: Fix spoken text randomly being skipped 2016-02-10 20:48:19 -05:00
Paul Gilbert
a31312c0a8 ACCESS: Fix display of ending credits 2016-02-03 22:46:28 -05:00