Commit Graph

120 Commits

Author SHA1 Message Date
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
Walter van Niftrik
ed0653e393 ADL: Update save game format for hires2
Note: this breaks loading earlier savegames
2016-06-06 20:35:49 +02:00
Walter van Niftrik
09146fba6e ADL: Move restartGame() into opcode 2016-06-06 20:35:49 +02:00
Walter van Niftrik
97168fa200 ADL: Load line feeds string 2016-06-06 20:35:49 +02:00
Alyssa Milburn
dd5ce7ebbb ADL: Add valid_cmds debug command 2016-06-06 20:35:49 +02:00
Walter van Niftrik
cf6bc0e438 ADL: Add script dump and trace for hires2 2016-06-06 20:35:49 +02:00
Walter van Niftrik
2c8e0cefb1 ADL: Store items in a List instead of an Array
Item IDs are not necessarily sequential
2016-06-06 20:35:49 +02:00
Walter van Niftrik
b24f30527b ADL: Add script dump and trace for hires1 2016-06-06 20:35:49 +02:00
Walter van Niftrik
367cb511d1 ADL: Add Console 2016-06-06 20:35:49 +02:00
Walter van Niftrik
760d5ac733 ADL: Move drawPic() into base class 2016-06-06 20:35:49 +02:00