Commit Graph

351 Commits

Author SHA1 Message Date
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
Walter van Niftrik
900ae1d064 ADL: Fix hires4 dropped item drawing 2017-06-11 14:40:45 +02:00
Walter van Niftrik
4cfb93c227 ADL: Add loading of hires4 game data 2017-06-10 17:07:17 +02:00
Walter van Niftrik
8b9d9bcf84 ADL: Fix incorrect delete (CID 1371758) 2017-03-06 17:01:26 +01:00
Walter van Niftrik
56206fef9f ADL: Implement hires4 intro (1986 re-release) 2017-03-05 21:16:58 +01:00
Walter van Niftrik
3beb48f5ce ADL: Fix error() when opening GMM during intro
This is a regression from 516815d
2017-03-05 21:16:58 +01:00
Walter van Niftrik
494682de90 ADL: Add byte-access functions to Display class 2017-03-05 21:16:58 +01:00
Walter van Niftrik
33c8073bc2 ADL: Make framebuffer loader static 2017-03-05 21:16:58 +01:00
Walter van Niftrik
19b07a7c12 ADL: Move multi-disk handling into v2 2017-03-05 21:16:58 +01:00
Walter van Niftrik
c88d30d8d3 ADL: Allow smaller delays 2017-03-05 21:16:58 +01:00
Walter van Niftrik
6bd7ca75f9 ADL: Move shape drawing into base gfx class 2017-03-05 21:16:57 +01:00
Walter van Niftrik
e97973a930 ADL: Skip deleted files when reading VTOC 2017-03-05 21:16:57 +01:00
Walter van Niftrik
4d25ed9638 ADL: Enable ADGF_TESTING for hires6 2017-02-23 16:38:06 +01:00
Walter van Niftrik
516815d5f5 ADL: Fix hires6 canSaveGameStateCurrently() 2017-02-23 16:12:48 +01:00
Walter van Niftrik
6a6058a1cc ADL: Reset linesPrinted in game loop 2017-02-23 14:36:32 +01:00
Walter van Niftrik
23bc483ab7 ADL: Fix hires6 room description printing 2017-02-22 23:17:41 +01:00
Walter van Niftrik
69ae262bf2 ADL: Add comments to hires6 direction opcode 2017-02-22 23:17:41 +01:00
Walter van Niftrik
cca341804b ADL: Add detection entry for hires4 2017-02-21 11:35:31 +01:00
Walter van Niftrik
9865ee16f7 ADL: Use 0-sample for speaker silence
This reduces popping noises
2017-02-21 11:35:31 +01:00
Walter van Niftrik
8ca719b2bc ADL: Clean up/comment hires6 string printing 2017-02-20 22:53:04 +01:00
Walter van Niftrik
27c956a255 ADL: Fix hires6 flute opcode 2017-02-20 22:53:04 +01:00
Walter van Niftrik
2cc4c7329c ADL: Implement hires6 game loop hacks 2017-02-20 17:22:28 +01:00
Walter van Niftrik
b152ef4eaf ADL: Implement hires6 action opcode 0x1e 2017-02-20 11:07:56 +01:00
Walter van Niftrik
cc1f975a9c ADL: Implement hires6 action opcode 0x1d 2017-02-19 17:41:34 +01:00
Walter van Niftrik
8b93142467 ADL: Implement hires6 direction opcodes 2017-02-19 12:33:43 +01:00
Walter van Niftrik
2e3e425d5b ADL: Implement hires6 action opcode 0x12 2017-02-19 12:33:43 +01:00
Walter van Niftrik
549ac7ca47 ADL: Implement hires6 save/restore 2017-02-18 11:46:12 +01:00
Walter van Niftrik
9ed63332fa ADL: Fix restoring of global vars in v4+ 2017-02-18 11:46:12 +01:00
Walter van Niftrik
fee0b81b39 ADL: Fix hires6 action opcode 0x0c 2017-02-17 21:24:47 +01:00
Walter van Niftrik
d405e9e09b ADL: Implement hires6 action opcode 0x0b 2017-02-17 21:09:52 +01:00
Walter van Niftrik
41f097fe1a ADL: Fix hires6 conditional opcode 0x0a 2017-02-15 22:22:16 +01:00
Walter van Niftrik
441f940069 ADL: Bring hires6 in line with hires5 2017-02-10 00:52:54 +01:00
Walter van Niftrik
2841dd2bc3 ADL: Set ADGF_TESTING for hires5 2017-02-02 11:58:37 +01:00
Walter van Niftrik
1ae539d44d ADL: Increase robustness of graphics code 2017-02-02 09:49:45 +01:00
Walter van Niftrik
a113b1c0e8 ADL: Fix saving inside first-visited rooms 2017-01-31 19:23:43 +01:00
Walter van Niftrik
2a74a975a3 ADL: Allow stray data bytes in pics
This triggers in hires5, region 5, room 20
2017-01-31 10:05:29 +01:00
Walter van Niftrik
05e36920b3 ADL: Fix add opcode 2017-01-30 23:08:48 +01:00
Walter van Niftrik
f6214df664 ADL: Clear screen with white in v2+
This fixes hires5, region 14, room 29
2017-01-30 21:56:11 +01:00
Walter van Niftrik
e7446adaf2 ADL: Fix hires5 direction opcodes 2017-01-30 00:05:10 +01:00
Walter van Niftrik
113887cdf7 ADL: Fix hires5 room state restoring 2017-01-30 00:05:10 +01:00
Walter van Niftrik
1693281079 ADL: Error out when picture is not found 2017-01-30 00:05:10 +01:00
Walter van Niftrik
10766eb46f ADL: Add support for printing bell character 2017-01-27 23:14:19 +01:00
Walter van Niftrik
d87b4b3f18 ADL: Remove word wrapping from hires5 item check 2017-01-27 23:14:19 +01:00
Walter van Niftrik
5a79b99564 ADL: Fix word wrapping when last line is full 2017-01-27 23:14:19 +01:00
Walter van Niftrik
8c854897fd ADL: Implement hires5+ flood fill 2017-01-25 16:03:11 +01:00
Walter van Niftrik
55f3bef837 ADL: Merge graphics code into a single file 2017-01-25 16:03:11 +01:00
Walter van Niftrik
2e00dfd47c ADL: Implement hires5 time machine animation 2017-01-17 23:27:10 +01:00
Walter van Niftrik
9f5004ceda ADL: Implement hires5 'win game' opcode 2017-01-15 23:17:46 +01:00
D G Turner
8b4460e310 ADL: Fix Signed vs. Unsigned Compiler Warnings.
This is a subtle issue associated with the Common::Frac usage. The
frac_t type is signed (int32), but the symbols such as FRAC_ONE are
defined by an enumeration which will default to unsigned int for
members. Unsure if the common code needs changing, but other usages fix
the warning by casting the enumeration values to frac_t so doing this
for now.
2017-01-15 07:10:38 +00:00
Walter van Niftrik
635bbed7c3 ADL: Add Sound class 2017-01-14 00:32:38 +01:00
D G Turner
64a3f893d1 ADL: Fix Uninitialized Variable Compiler Warnings. 2017-01-12 04:11:28 +00:00
Walter van Niftrik
cfaf749c60 ADL: Implement hires5 game loop 2016-12-28 22:13:34 +01:00
Walter van Niftrik
4f1a821e66 ADL: Implement hires5 save/restore/restart 2016-12-27 19:06:57 +01:00
Walter van Niftrik
f3e0c4d093 ADL: Silence CID 1356412/1356413 2016-12-26 15:31:20 +01:00
Walter van Niftrik
480713a46c ADL: Silence CID 1354788/1354789/1354790 2016-12-26 12:36:25 +01:00
Walter van Niftrik
0f14f12d6d ADL: Init class members (CID 1354806) 2016-12-26 12:08:35 +01:00
Walter van Niftrik
3c07d75825 ADL: Fix warnings 2016-12-23 23:47:25 +01:00
Walter van Niftrik
0dc67a0a6e ADL: Implement hires5 savegames 2016-12-23 20:59:02 +01:00
Walter van Niftrik
33dc1c88f2 ADL: Make 'room' debug command behave like opcode 2016-12-22 22:33:02 +01:00
Walter van Niftrik
a1236d5782 ADL: Add 'region' debug command 2016-12-22 16:42:04 +01:00
Walter van Niftrik
d658f0c0b6 ADL: Add region support to script dumper 2016-12-22 16:42:04 +01:00
Walter van Niftrik
2c62e5f99c ADL: Add workarounds for hires5 2016-12-18 18:41:02 +01:00
Walter van Niftrik
87609ef75a ADL: Add workaround for hires5 region 15 2016-12-18 18:41:02 +01:00
Alyssa Milburn
973aef5574 ADL: Only warn about (and skip) sectors with invalid NIB checksums. 2016-12-17 17:20:06 +01:00
Alyssa Milburn
fb3f76cde9 ADL: Seek to start before re-reading item pics (v4). 2016-12-17 16:14:04 +01:00
Walter van Niftrik
5f46bbff72 ADL: Add item region checks 2016-12-16 18:27:24 +01:00
Walter van Niftrik
1f801bee43 ADL: Partially implement hires5 opcodes 2016-12-16 15:29:38 +01:00
Walter van Niftrik
64ff20acbc ADL: Unify inventory opcodes 2016-12-11 16:51:14 +01:00
Walter van Niftrik
0b6b5a34b0 ADL: Load hires5 dropped item coords 2016-12-11 16:51:14 +01:00
Walter van Niftrik
ec73249ff8 ADL: Fix warning 2016-12-11 14:25:06 +01:00
Walter van Niftrik
6b132706d3 ADL: Load hires5 data 2016-12-11 13:36:22 +01:00
Walter van Niftrik
c4bf56960d ADL: Add skeleton base class for hires5 2016-12-11 13:36:22 +01:00
Alyssa Milburn
2a01424f0e ADL: Support wrapped sectors in NIB files. 2016-12-09 09:34:59 +01:00
Walter van Niftrik
a22e3bceac ADL: Add skeleton for hires5 2016-11-13 12:02:52 +01:00
Walter van Niftrik
89f1e9939c ADL: Wait for key in quit opcode
This fixes the hires2 ending issue reported in #9575.
2016-11-10 15:07:27 +01:00
Walter van Niftrik
2a62adc1e0 ADL: Use a quit flag instead of calling quitGame()
This makes the game quit promptly instead of waiting for the quit event to
come through the pipeline.
2016-11-10 14:15:38 +01:00
Walter van Niftrik
d349e911b8 ADL: Fix warnings 2016-11-06 16:38:39 +01:00
Torbjörn Andersson
58a32cddec ADL - Fix overflow causing infinite loop in word-wrapping (bug #9628)
When the text to word-wrap was longer than 255 characters, the
'pos' and 'endPos' counters would overflow, causing it to never
reach the end of the string to word-wrap.
2016-11-06 10:48:22 +01:00
Eugene Sandulenko
dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Eugene Sandulenko
de715ca446 ADL: Enable hires0-3 for the release 2016-10-07 11:53:31 +02:00
Walter van Niftrik
f9590e4ef0 ADL: Fix detection entry for hires4-atari8 (#9561) 2016-09-17 10:08:39 +02:00
Walter van Niftrik
866f7cbf62 ADL: Fix curPicture OB1 bug when restoring
This is a regression introduced in df838f5. Fixes #9560.
2016-09-16 17:04:28 +02:00
Walter van Niftrik
6e8d69524e ADL: Add md5sum for hires4-atari disk side 1B 2016-09-15 21:29:17 +02:00
Eugene Sandulenko
cad834a69c JANITORIAL: Fix include statements 2016-09-03 15:19:37 +02:00
Eugene Sandulenko
bfbfbd3e1a Merge pull request #788 from Tkachov/cloud
ALL: Add Cloud storage support
2016-08-30 13:54:12 +02:00
Walter van Niftrik
d2fd0a9a67 ADL: Merge hires?.h files into the cpp files 2016-08-29 21:31:14 +02:00
Walter van Niftrik
e4ab446e3d ADL: Move all hires4 code into Atari-specific class 2016-08-29 14:27:03 +02:00
Walter van Niftrik
31b5a0bf63 ADL: Fix hires4 disk swapping 2016-08-29 14:27:03 +02:00
Walter van Niftrik
a199672540 ADL: Change some SeekableReadStream to ReadStream 2016-08-28 21:01:12 +02:00
Walter van Niftrik
1cfc4832bb ADL: Load more hires4 strings 2016-08-28 21:01:12 +02:00
Walter van Niftrik
9250bf58fe ADL: Load hires4 dropped-item offsets 2016-08-28 21:01:12 +02:00
Walter van Niftrik
177206cc2e ADL: Load hires4 commands and item pictures 2016-08-28 18:20:14 +02:00
Walter van Niftrik
70cd57892a ADL: Fix item description in debug output 2016-08-28 18:20:14 +02:00
Walter van Niftrik
90d2dd3b40 ADL: Load hires4 global pictures 2016-08-28 18:20:14 +02:00