Commit graph

129 commits

Author SHA1 Message Date
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
e59340e191 ADL: Add debug function to load commands from file 2018-12-26 12:28:09 +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
44d9f583e0 ADL: Reduce sound volume 2018-02-02 22:18:26 +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
df2e4e8e2c ADL: Add hires3 support
Game starts up, but isn't playable yet
2017-07-25 14:08:40 +02:00
Walter van Niftrik
c88d30d8d3 ADL: Allow smaller delays 2017-03-05 21:16:58 +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
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
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
1693281079 ADL: Error out when picture is not found 2017-01-30 00:05:10 +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
Walter van Niftrik
635bbed7c3 ADL: Add Sound class 2017-01-14 00:32:38 +01:00
Walter van Niftrik
cfaf749c60 ADL: Implement hires5 game loop 2016-12-28 22:13:34 +01:00
Walter van Niftrik
f3e0c4d093 ADL: Silence CID 1356412/1356413 2016-12-26 15:31:20 +01:00
Walter van Niftrik
0f14f12d6d ADL: Init class members (CID 1354806) 2016-12-26 12:08:35 +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
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
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
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
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
9250bf58fe ADL: Load hires4 dropped-item offsets 2016-08-28 21:01:12 +02:00
Walter van Niftrik
70cd57892a ADL: Fix item description in debug output 2016-08-28 18:20:14 +02:00
Walter van Niftrik
df838f50eb ADL: Add "current picture" variable to state
This mimics the behavior of the original engine. Note that for hires2, this
patch adds some glitches that are also present in the original, and removes
some glitches that are not.
2016-08-21 12:41:31 +02:00
Walter van Niftrik
b9badf61bf ADL: Fix gfx vs console init order 2016-08-08 19:29:02 +02:00
Walter van Niftrik
9967ae8c52 ADL: Fix more GCC 4.9 shadow warnings 2016-06-06 20:35:49 +02:00
Walter van Niftrik
0c2d2b2c92 ADL: Fix GCC 4.9 shadow warnings 2016-06-06 20:35:49 +02:00
Walter van Niftrik
f8d75bbc86 ADL: Implement hires6 verb/noun error messages 2016-06-06 20:35:49 +02:00
Walter van Niftrik
2cdb1d49a5 ADL: Add stubs for hires6 opcodes 2016-06-06 20:35:49 +02:00
Walter van Niftrik
92b1b287b1 ADL: Preliminary support for hires6 disk changing 2016-06-06 20:35:49 +02:00
Walter van Niftrik
e79f26c9bc ADL: Implement hires6 item descriptions 2016-06-06 20:35:49 +02:00
Walter van Niftrik
04604ed602 ADL: Implement hires6 showRoom() var handling 2016-06-06 20:35:49 +02:00
Walter van Niftrik
b8c40f9a8b ADL: Implement hires6 cond opcode 0xa 2016-06-06 20:35:49 +02:00
Walter van Niftrik
7e9a8c0072 ADL: Partially implement hires6 var handling 2016-06-06 20:35:49 +02:00
Walter van Niftrik
bf520ca321 ADL: Fix restarting from AllCommands list 2016-06-06 20:35:49 +02:00
Walter van Niftrik
5fe95d51ea ADL: Separate game-specific state init 2016-06-06 20:35:49 +02:00
Walter van Niftrik
1842d0c45f ADL: Add loadMessage function 2016-06-06 20:35:49 +02:00
Walter van Niftrik
bc0fc246f0 ADL: Implement hires2 screen update routine 2016-06-06 20:35:49 +02:00