63 Commits

Author SHA1 Message Date
aryanrawlani28
a56dc094b9 ENGINES: ALL: Move detection_enums -> detection.h
- Cleans up headers quite a bit.
2020-10-03 14:56:36 +02:00
aryanrawlani28
29ceb07959 ENGINES: ALL: Revert detection submodule to be directly present in the engine directory
- DETECT_OBJS are present and added inside an engine's modules.mk file.
2020-10-03 14:56:36 +02:00
aryanrawlani28
8189a05316 ENGINES: ALL: Adapt to changes for new plugins by defining a new detection module
For each engine:
- Make a new folder detection
- Move detection-related files inside the folder
- Add a new module "enginename/detection"
- Add DETECT_OBJS here
- Adjust the normal engine module to remove detect_objs
- Adjust every file for the new changes.
2020-10-03 14:56:36 +02:00
aryanrawlani28
d57f84205c ADL: Seperate detection.h into two headers to improve dependencies
- Also makes it match other engine conventions.
- Engine files get a copy of detection_enums, while metaengine & detection.cpp get a copy of detection.h as well as detection_enums.
2020-10-03 14:56:36 +02:00
Walter van Niftrik
d5c7e9d207 ADL: Refactor Display class 2019-08-11 23:36:27 +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
fa7688a931 ADL: Refactor opcodes 2019-03-30 23:18:02 +01:00
Walter van Niftrik
52c66f5efd Revert "ADL: Refactor opcode tables"
This reverts commit 76a0c20481bd68d60d8347fd922a74b292421d51.
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
a0631840f9 ADL: Remove hardcoded disk image filename from hires1 2018-02-03 23:36:18 +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
06b9cd195f ADL: Move broken-room handling into ADL v2 2017-07-25 14:08:35 +02: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
19b07a7c12 ADL: Move multi-disk handling into v2 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
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
5a79b99564 ADL: Fix word wrapping when last line is full 2017-01-27 23:14:19 +01:00
Walter van Niftrik
3c07d75825 ADL: Fix warnings 2016-12-23 23:47:25 +01:00
Walter van Niftrik
2c62e5f99c ADL: Add workarounds for hires5 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
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
Walter van Niftrik
a199672540 ADL: Change some SeekableReadStream to ReadStream 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
90d2dd3b40 ADL: Load hires4 global pictures 2016-08-28 18:20:14 +02:00
Walter van Niftrik
9dc3c78827 ADL: Load hires4 messages 2016-08-28 18:20:14 +02:00
Walter van Niftrik
bcd5df5c6e ADL: Load hires4 rooms 2016-08-28 11:23:34 +02:00
Walter van Niftrik
70588aecdc ADL: Load hires4 verbs, nouns and items 2016-08-28 11:23:34 +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
d435f5b4eb ADL: Fix item rendering in hires6 2016-06-06 20:35:49 +02:00
Walter van Niftrik
12fe7dabab ADL: Fix debug output in 'move all items' opcode 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
7e9a8c0072 ADL: Partially implement hires6 var handling 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
8cc5100afd ADL: Fix OB1 bug in ADL v2 word wrapping 2016-06-06 20:35:49 +02:00
Walter van Niftrik
4f932afd60 ADL: Load messages on demand 2016-06-06 20:35:49 +02:00
Walter van Niftrik
a320b319eb ADL: Load more hires6 data
Now shows pic of first room
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
4ee8cf4f9e ADL: Move some hires2 functionality into ADL_v2 2016-06-06 20:35:49 +02:00
Walter van Niftrik
f275add1e5 ADL: Use pointer for hires2 disk image 2016-06-06 20:35:49 +02:00
Alyssa Milburn
3b7813d971 ADL: Fix debug print for MOVE_ALL_ITEMS 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
ffbc4da0b0 ADL: Use display class to print init disk message 2016-06-06 20:35:49 +02:00
Walter van Niftrik
a82ac8973d ADL: Implement hires2 save/restore opcodes
Note: underlying save/restore/restart code still incomplete
2016-06-06 20:35:49 +02:00