Commit Graph

351 Commits

Author SHA1 Message Date
Bastien Bouclet
4b42112721 ENGINES: Add an engine ID to all the engines 2019-11-03 11:43:00 +01:00
D G Turner
3bd273fc8e ADL: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-13 18:17:46 +01:00
Henrik "Henke37" Andersson
41a1d446dd ADL: The engine does not support midi. Mark the games as such. 2019-09-29 19:34:16 +03:00
Cameron Cawley
a6aea5c201 ADL: Support using any pixel format for the display 2019-09-19 19:46:59 +01:00
Walter van Niftrik
2d7635736f ADL: Fix compilation for openpandora 2019-08-12 02:47:54 +02:00
Walter van Niftrik
32824ea83f ADL: Improve color accuracy
This adds two new display modes to replace the old one. One is a
16-color mode and the other does TV "emulation" based on code in
AppleWin. Both of these modes should deliver more accurate colors,
including NTSC artifact colors.
2019-08-12 02:18:34 +02:00
Walter van Niftrik
d5c7e9d207 ADL: Refactor Display class 2019-08-11 23:36:27 +02:00
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