Commit graph

161 commits

Author SHA1 Message Date
Filippos Karapetis
db5c5e853a ADL: Use C++ 11 range-based for loops 2025-03-27 13:47:57 +08:00
Walter van Niftrik
e7fa316065 ADL: Remove broken strings in hires5
Fixes bug #15382.

Co-authored-by: Torbjörn Andersson <eriktorbjorn@users.sourceforge.net>
2024-11-28 11:31:46 +02:00
Torbjörn Andersson
f9e43981aa ADL: Keep screen updated while playing music 2024-09-28 22:12:18 +02:00
Torbjörn Andersson
63ad473aee ADL: Update screen while waiting
Even if the game doesn't draw anything to the screen, it can still
change from outside events e.g. by changing the scaler or - on some
systems - by dragging another window across the ScummVM window.
2024-09-13 19:29:47 +02:00
sluicebox
78552492b1 ADL: Move DiskImage into COMMON 2024-08-25 14:57:06 +03:00
Torbjörn Andersson
0220d3c597 ADL: Fix memory leak 2024-07-30 07:23:10 +02:00
Torbjörn Andersson
e4d12140a4 ADL: Fix string concatenation warnings
Instead of storing the encrypted string (which may contain zeroes) in a
String, decrypt it as it's read from file. While adding zeroes to a
string is allowed (for a brief time it wasn't), doing so is bad form.
2024-07-30 01:46:33 +03:00
Matthew Jimenez
5219c99400 GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
Eugene Sandulenko
ec2dd2726b ENGINES: Added optional parameter to canSave/LoadGameStateCurrently() for indicating the reason 2023-12-08 12:21:16 +01:00
Walter van Niftrik
01bb2bc689 ADL: Add support for three more hires4 versions 2023-06-05 14:26:21 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Cameron Cawley
2992675704 ADL: Add keymapper support 2021-08-07 17:11:02 +03:00
Walter van Niftrik
87a75ad02b ADL: Add support for more hires2 variants 2021-07-27 23:56:27 +02:00
Walter van Niftrik
56390d5f5f ADL: Add support for hires1 french (early version) 2021-07-24 00:56:51 +02:00
Walter van Niftrik
f32dde20bd ADL: Scan for executable strings in hires1 2021-07-24 00:56:51 +02:00
ysj1173886760
0cfdf7bb6e ADL: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +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
Thierry Crozat
cca6090454 ADL: Enable virtual keyboard when the engine is running 2020-08-29 16:31:37 +01:00
mataniko
581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
Paul Gilbert
9f175c4053 ENGINES: Cleanup of savegame filenames generation
This removes filename methods when it matched the Engine method.
Secondly, ensuring there was an overriden getSaveStateName method
for engines that didn't do the standard target.00x save filenames
2020-02-16 15:44:28 -08:00
Paul Gilbert
a00e44ba6c ENGINES: Merge saveGameState virtual methods into a single one 2020-02-16 15:44:28 -08:00
Paul Gilbert
19bf2b7b7b ADL: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet
61ac4a5ab4 ADL: Add override keywords 2020-02-09 12:42:42 +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
Cameron Cawley
a6aea5c201 ADL: Support using any pixel format for the display 2019-09-19 19:46:59 +01:00
Walter van Niftrik
d5c7e9d207 ADL: Refactor Display class 2019-08-11 23:36:27 +02:00
Walter van Niftrik
f4f4d6119f ADL: Remove opcode counts from script interface 2019-07-17 08:41:34 +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
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