Commit graph

714 commits

Author SHA1 Message Date
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
Paul Gilbert
284b267002 ACCESS: Workaround Floppy room establishment reshown when loading saves 2016-02-03 21:21:55 -05:00
Paul Gilbert
65b55b4b3b ACCESS: Setup wall codes correctly after reinitializing for new room 2016-02-03 21:05:07 -05:00
Strangerke
dbf3e29b2d ACCESS: Fix some uninitialized variables 2016-01-29 07:10:32 +01:00
Johannes Schickel
c022194275 ACCESS: Only request actual save slots in listSaves. 2016-01-26 16:35:30 +01:00
Paul Gilbert
bd3f64a8cf ACCESS: Handle differences in CD vs Floppy establishment text offsets 2016-01-17 11:14:48 -05:00
Paul Gilbert
362c99797c ACCESS: Fix fading in screen after cancelling Inventory screen 2016-01-17 10:52:46 -05:00
Paul Gilbert
429648188f ACCESS: Show correct chapter start establishment text 2016-01-17 09:47:40 -05:00
Paul Gilbert
5ad7c53c76 ACCESS: Fix cursor after selecting inventory item to offer NPC 2015-12-12 20:59:17 -05:00
Paul Gilbert
77feb41a06 ACCESS: Fix offering items to boat captain 2015-12-12 20:53:42 -05:00
Paul Gilbert
d4bbf4d250 ACCESS: Fix differences in floppy chapter changes 2015-12-11 22:42:18 -05:00
Paul Gilbert
95ac0214ae ACCESS: Fix palette for inventory window 2015-12-11 21:37:42 -05:00
Paul Gilbert
9b848dc7bd ACCESS: Add a constant for transparency 2015-12-11 21:36:40 -05:00
Paul Gilbert
642928f6c9 ACCESS: Fix clearing speech bubbles that overlap the response buttons 2015-12-10 23:05:24 -05:00
Paul Gilbert
7b671f42bc ACCESS: Fix crash when talking to Librarian 2015-12-10 22:37:56 -05:00