Commit graph

115 commits

Author SHA1 Message Date
Le Philousophe
90b886097f ENGINES: Create a type aware advanced detector 2024-06-30 18:39:06 +02:00
Eugene Sandulenko
5d9d36f4f2
DIRECTOR: Implemented paused start and introduce loaded state
- Split out "Loaded" state for score
- Added two debugflags: paused, to start in paused mode and
  paudeonload, to pause every movie when it is loaded
- Use OSD for reflecting paused state
2024-06-04 22:29:38 +02:00
Eugene Sandulenko
749f811789
DIRECTOR: Added VW/VW2/D1 targets to detection 2024-06-03 14:00:11 +02:00
scemino
d592496750 DIRECTOR: Show imgui only when requested 2024-04-28 22:46:59 +02:00
Cameron Cawley
30b977c272 DETECTION: Mark more symbols as const 2023-12-26 20:23:59 +01:00
Le Philousophe
cf3eac29c3 DIRECTOR: Migrate engine to Path 2023-12-24 13:19:25 +01:00
Scott Percival
24c10f9597 DIRECTOR: Make DigitalVideo scale video to fit the widget 2023-11-25 02:03:38 +01:00
Scott Percival
0a3b7ee462 DIRECTOR: Load in external casts and members 2023-05-10 09:48:50 +02:00
Eugene Sandulenko
9cfa8bb1af
DIRECTOR: Let developers launch any movies at will
Now you may run as following

  ./scummvm -p /path/to/game --start-movie=movie.dir director

and ScummVM will report it as a director game and will let the user
launch it.

However, at this moment there is no way to determine Director file
version and we report Director v0.
2023-02-17 19:34:50 +01:00
Eugene Sandulenko
d3f9ddcb44
AD: Move canPlayUnknownVariants() override to a flag. 2023-01-09 18:56:50 +01:00
Vladimir Serbinenko
275379c3d2 ENGINES: Change getFileProperties to receive MD5Properties as argument 2022-12-28 12:56:22 +01:00
Cameron Cawley
28d7b361ea COMMON: Move more file format code into common/formats 2022-12-11 22:33:23 +01:00
Eugene Sandulenko
eddfa82896
DIRECTOR: Added comment 2022-11-30 00:40:34 +01:00
Scott Percival
f23675ab1d DIRECTOR: LINGO: Add more methods for SpaceMgr XObj 2022-10-22 19:53:22 +02:00
Scott Percival
4ec70de496 DIRECTOR: Add 'console' debug flag 2022-10-22 19:53:22 +02:00
Scott Percival
b8bff29967 DIRECTOR: Revert use of detection code 2022-09-13 23:19:00 +02:00
Scott Percival
3a096e60c3 DIRECTOR: Add version function to debugger 2022-09-12 15:52:18 +02:00
Scott Percival
7c9badd57c DIRECTOR: Add debug level for sound events 2022-07-23 23:49:35 +02:00
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Roland van Laar
db006fac21 DIRECTOR: Add debug option lingostrict
`--debugflags=lingostrict` drops into the debugger when hitting a Lingo error.

When encountering a lingo error the current lingo script execution will
stop but the engine continues as much as possible. This is great when
trying to run a game in the best possible way. It's not so great when
debugging issues, since it leaves the game in an unknown state.

The `lingostrict` option makes it clear where a lingo error occurs.
2022-04-03 11:57:35 +02:00
trembyle
1b4b9bb4a7 DIRECTOR: Add D6 tag to fallback detection
PJ97 was used for D6. This section will probably need to be replaced
in the future, but we might as well add the missing value while we're
still using it.
2022-02-01 15:38:41 -05:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko
45b59aa96e
AD: Turn _matchFullPaths into kADFlagMatchFullPaths. Adapted Director and SCI 2021-11-30 23:59:23 +01:00
Eugene Sandulenko
85e8f765c1
DIRECTOR: Switch detection to full paths and modify lzone-win for using it 2021-11-30 23:59:23 +01:00
Orgad Shaneh
02cfffcb67 DIRECTOR: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Bernhard
7399dced7b DIRECTOR: Do not override tail flag in fallback detection 2021-10-24 17:33:57 +03:00
Eugene Sandulenko
8a7780cf52
DIRECTOR: Use tail md5 for the fallback detection 2021-10-23 23:00:54 +03:00
Eugene Sandulenko
c1c9e06573
DIRECTOR: Enable running unknown variants.
Since our fallback detection is pretty advanced, we may run games
not added to the detection tables.
2021-08-21 13:39:55 +02:00
Eugene Sandulenko
b53c87bf67
DIRECTOR: Re-add 32bpp debug flag 2021-07-16 22:03:13 +02:00
Cameron Cawley
be5452fccc DIRECTOR: Use the executable version info for fallback detection 2021-07-15 13:55:33 +02:00
Cameron Cawley
54b8ee6d41 DIRECTOR: Recognise files with "PJ01" version tags 2021-07-15 13:55:33 +02:00
Eugene Sandulenko
5ee3a2f51b
DIRECTOR: Extract platform/version from the falbback detection fienames 2021-06-21 12:11:40 +02:00
Cameron Cawley
5e304c9274 DIRECTOR: Fix compilation on platforms with dynamic detection 2021-06-13 14:17:06 +02:00
ysj1173886760
37a181f3db DIRECTOR: fix indent problem, and for custom target file name, we won't save it since we didn't use it. 2021-06-13 14:15:45 +02:00
ysj1173886760
073db5b715 DIRECTOR: resolve conflicts and remove warnings 2021-06-13 14:15:45 +02:00
ysj1173886760
6e3551049c DIRECTOR: pass extra info in fallback detection 2021-06-13 14:15:45 +02:00
ysj1173886760
7af3a3f84c ENGINES: introduce ADDectedGameExtraInfo to ADGameDetector, add extra info as parameter for fallback detect. 2021-06-13 14:15:45 +02:00
ysj1173886760
5ff5787cbf DIRECTOR: fix incorrect code of detection in director 2021-06-13 14:15:45 +02:00
ysj1173886760
ada288626d DIRECTOR: change customTargetList to hashmap 2021-06-13 14:15:45 +02:00
ysj1173886760
e1d047ca88 DIRECTOR: add comments for detect custom targets in director 2021-06-13 14:15:45 +02:00
ysj1173886760
55d1fd2042 DIRECTOR: add custom targets detect to director 2021-06-13 14:15:45 +02:00
Eugene Sandulenko
17b125b479
JANITORIAL: Fix indentation 2021-06-09 21:51:08 +02:00
trembyle
5094f0734d DIRECTOR: Fix directory globs
Correct the list to match their actual depth in directory structure
2021-06-09 21:49:28 +02:00
trembyle
bb84be66c9 DIRECTOR: Expose subdirectory list from detection
Clean up `director.cpp` by iterating over an exposed subdirectory
list from `detection.cpp`, rather than maintain similar data in two
places.
2021-06-09 21:49:28 +02:00
trembyle
9f3e3bc734 DIRECTOR: Add subdirectory matching
Add subdirectories to match in both detection and runtime
2021-06-09 21:49:28 +02:00
trembyle
7ba650d5bd DIRECTOR: Move game descriptions to detection_tables.h
The list will soon be getting very long and would require much
scrolling to view code in detection.cpp if not moved.
2021-06-09 21:49:28 +02:00
ysj1173886760
d7dfc15229 DIRECTOR: fix code style problem 2021-05-22 01:34:57 +02:00
ysj1173886760
d0ea1c5953 DIRECTOR: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Scott Percival
73d9aa2a83 DIRECTOR: Add P.A.W.S. to detection tables 2021-04-25 23:22:51 +08:00