Commit Graph
344 Commits
Author SHA1 Message Date
Walter van Niftrik 2bb5ef5aeb ADL: Fix double listing in detector 2019-07-20 00:20:44 +02:00
Walter van Niftrik 85efc49e0e ADL: Add another hires6 detection entry 2019-07-19 22:42:00 +02:00
Walter van Niftrik a721160982 ADL: Correct a variable name 2019-07-19 14:44:19 +02:00
Walter van Niftrik c0a515bcf8 ADL: Add support for .WOZ floppy images 2019-07-19 14:24:43 +02:00
Walter van Niftrik 82ed1475f1 ADL: Refactor .NIB floppy image reading 2019-07-19 14:24:43 +02:00
Walter van Niftrik e937838b91 ADL: Add support for Serenia data blocks 2019-07-17 11:42:23 +02:00
Walter van Niftrik 14bfe02b81 ADL: Add support for 40/8/512 PC raw disk images 2019-07-17 09:54:14 +02:00
Walter van Niftrik f4f4d6119f ADL: Remove opcode counts from script interface 2019-07-17 08:41:34 +02:00
Walter van Niftrik ea777fc79d ADL: Replace 'using' with 'this->'
Hopefully fixes the build
2019-07-16 18:27:03 +02:00
Walter van Niftrik 9c7ed5c0da ADL: Silence MSVC warnings 2019-07-16 16:24:20 +02:00
Walter van Niftrik 338baf827c ADL: Fix debug mode hang in hires5 animation 2019-07-16 16:24:20 +02:00
Walter van Niftrik 39acda0c9f ADL: Clean up usage of override specifier 2019-07-16 16:24:20 +02:00
Walter van Niftrik ce8a840933 ADL: Remove APPLECHAR macro 2019-07-16 16:24:19 +02:00
Walter van Niftrik 0cd761086a ADL: Refactor graphics code 2019-07-16 16:24:19 +02:00
Walter van Niftrik 1cae66c128 Revert "ADL: Fix MSVC warnings"
This reverts commit e412bf5ee4.
2019-05-27 20:18:28 +02:00
Filippos Karapetis e412bf5ee4 ADL: Fix MSVC warnings
- Change APPLECHAR to APPLEBYTE, when its output is used as a byte
- Replace uses of strncpy with Common::strlcpy
- Merge redundant switch and if statements
- Remove redundant semicolons
2019-05-27 14:53:37 +03:00
Walter van Niftrik fa7688a931 ADL: Refactor opcodes 2019-03-30 23:18:02 +01:00
Walter van Niftrik 52c66f5efd Revert "ADL: Refactor opcode tables"
This reverts commit 76a0c20481.
2018-12-27 12:56:47 +01:00
Walter van Niftrik 76a0c20481 ADL: Refactor opcode tables 2018-12-27 12:33:10 +01:00
Walter van Niftrik 112d60d1d1 ADL: Silence float conversion warning 2018-12-26 14:42:18 +01:00
Walter van Niftrik 17a74d2bc7 ADL: Fix shadowing warning in some versions of GCC 2018-12-26 13:25:48 +01:00
Walter van Niftrik e59340e191 ADL: Add debug function to load commands from file 2018-12-26 12:28:09 +01:00
Walter van Niftrik 22ef407918 ADL: Change comment for hires6 detection entry
This detection entry also matches the floppy release. While the version on the
Roberta Williams Anthology has been patched to remove the copy protection,
this patch lies outside of our md5sum range.
2018-12-25 14:44:19 +01:00
Cameron Cawley f9489be3a9 ENGINES: Add missing dependencies for several engines 2018-06-30 00:22:34 +02:00
Bastien Bouclet cf1ebf2951 ENGINES: Add unknown game variants to the game detector results 2018-05-10 09:04:23 +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
Adrian Frühwirth a20f90cbb7 JANITORIAL: Fix formatting 2018-04-22 00:56:21 +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
Walter van Niftrik 0300979bdd ADL: Add support for another hires1 variant 2018-02-04 16:15:10 +01:00
Walter van Niftrik bdda3447a3 ADL: Add support for an early hires1 version 2018-02-03 23:36:18 +01:00
Walter van Niftrik a0631840f9 ADL: Remove hardcoded disk image filename from hires1 2018-02-03 23:36:18 +01:00
Walter van Niftrik 9e5b54ddc8 ADL: Remove unused array terminator 2018-02-02 23:38:52 +01:00
Walter van Niftrik 236e5da6cc ADL: Fix build error 2018-02-02 22:53:00 +01:00
Walter van Niftrik 44d9f583e0 ADL: Reduce sound volume 2018-02-02 22:18:26 +01:00
Walter van Niftrik aba2961899 ADL: Refactor NIB image error handling 2018-02-02 22:18:25 +01:00
Walter van Niftrik b497ec3065 ADL: Implement new detection method for disk images 2018-02-02 22:18:25 +01:00
Walter van Niftrik 23870196f5 ADL: Refactor disk image handling 2018-02-02 22:18:25 +01:00
Walter van Niftrik 9f479c9b17 ADL: Add sanity check to track/sector numbers read from NIB 2018-02-02 22:18:25 +01:00
Walter van Niftrik b64d8dbf3b ADL: Ignore broken sectors 2018-02-02 22:18:25 +01:00
Walter van Niftrik 1600c4dbb7 ADL: Do not pad out 13-sector .NIB disks to 16-sector format 2018-02-02 22:18:25 +01:00
Walter van Niftrik f0be784fde ADL: Add convert_disk debug command 2018-02-02 22:18:25 +01:00
Walter van Niftrik 4c3cb46bc8 ADL: Remove ADGF_TESTING for hires3+4 2017-11-11 23:41:59 +01:00
Walter van Niftrik be0e1371e8 ADL: Remove ADGF_TESTING for hires5+6 2017-11-11 10:39:16 +01: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
Walter van Niftrik 12e1466168 ADL: Enable ADGF_TESTING for hires3 2017-07-29 12:09:11 +02:00
Walter van Niftrik df2e4e8e2c ADL: Add hires3 support
Game starts up, but isn't playable yet
2017-07-25 14:08:40 +02:00
Walter van Niftrik 06b9cd195f ADL: Move broken-room handling into ADL v2 2017-07-25 14:08:35 +02:00
Walter van Niftrik 90a453a534 ADL: Add support for .d13 disk images 2017-07-25 14:08:22 +02:00
Walter van Niftrik 70092f7f25 ADL: Merge hires2 and hires0 classes 2017-06-26 11:36:45 +02:00
Walter van Niftrik d272351055 ADL: Set ADGF_TESTING for hires4 2017-06-11 15:58:35 +02:00