Commit Graph
3019 Commits
Author SHA1 Message Date
Eugene Sandulenko 0e2cc2f661 DIRECTOR: Use AD_ENTRY2s in the detection table 2020-11-28 14:03:06 +01:00
Eugene Sandulenko a151f5b19d DIRECTOR: Removing jewels two-minute download. We do not have a copy 2020-11-27 00:17:05 +01:00
Torbjörn Andersson ba37c52047 JANITORIAL: Remove some unnecessary semicolons 2020-11-17 07:22:49 +01:00
Eugene Sandulenko 7ff34bc9ec PLUGINS: MetaEngineStatic -> MetaEngineDetection 2020-10-11 23:14:39 +02:00
Eugene Sandulenko 7ea6781043 PLUGINS: PLUGIN_TYPE_METAENGINE -> PLUGIN_TYPE_ENGINE_DETECTION 2020-10-11 23:12:32 +02:00
Eugene Sandulenko 03d0a7b891 DIRECTOR: Added comments 2020-10-04 22:09:11 +02:00
Eugene Sandulenko 1395a8b4e5 DIRECTOR: Process '@' in file path conversion 2020-10-04 21:56:30 +02:00
aryanrawlani28 d26bbe521c ENGINES: ALL: Finish renaming ME & AME classes
- ME -> MetaEngineStatic (static parts)
- MEC -> MetaEngine (dynamic parts)
2020-10-03 14:56:36 +02:00
aryanrawlani28 a56dc094b9 ENGINES: ALL: Move detection_enums -> detection.h
- Cleans up headers quite a bit.
2020-10-03 14:56:36 +02:00
aryanrawlani28 4f55c1b689 DIRECTOR & KYRA: MODULES: Use workarounds to skip warnings.
- When these files are included for the second time, a warning is shown that the previous recipes will be overriden.
- Use_Rules helps with a workaround to disable these warnings.
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 f3b9477893 ENGINES: ALL: Add header guards for the new detection-header files. 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 7944a7b039 DIRECTOR: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
Bastien Bouclet 0f2c6cd9ea ENGINES: Change mac resource fork file detection to use the file cache
Common::MacResMan is now able to open files from a specified
Common::Archive. This is a bit hacky as dynamic_cast is used to break
the Archive encapsulation to retreive the underlying FSNode. It should
however be more correct than the previous code that assumed files were
at the root of the currently running game's path.

AdvancedDetector constructs a Common::Archive from its FileMap based
filesystem cache and uses it to detect the mac resource fork files.

This cuts the time it takes to run the detection code with all the
engines enabled as dynamic plugins on the 3DS to 30 s from 280 s.
2020-09-20 16:33:45 +02:00
Cameron Cawley 51789f8fea DIRECTOR: Show the unknown game dialog for fallback detection entries 2020-09-19 23:21:44 +02:00
Eugene Sandulenko 53c485d85b DIRECTOR: Add catchers for unprocessed chunks 2020-08-27 18:00:44 +02:00
Eugene Sandulenko ab9be9aba3 DIRECTOR: LINGO: Remove obsolete and now unneeded file 2020-08-26 01:32:55 +02:00
Eugene Sandulenko 92bd514902 DIRECTOR: LINGO: Make sure video is rendered on 'updateStage' 2020-08-25 10:43:47 +02:00
djsrv d7ea3450e3 DIRECTOR: LINGO: Fix birth version number 2020-08-24 21:52:58 -04:00
Eugene Sandulenko 233e0e21a8 DIRECTOR: Draw video only when it is truly changed 2020-08-24 20:53:37 +02:00
Eugene Sandulenko e8d9dfe62b DIRECTOR: Proper implementation of 'directToStage' 2020-08-23 20:31:48 +02:00
Eugene Sandulenko 806c946fd6 DIRECTOR: Attempt to implement 'directToStage'
Not working, as it is not clear how to change priority of a channel
2020-08-23 19:46:58 +02:00
Eugene Sandulenko 564b5f104e DIRECTOR: LINGO: Play video when 'updateScreen' is called 2020-08-23 19:46:58 +02:00
Roland van Laar ab9fe9706a DIRECTOR: LINGO: spelling fix for fallthrough
Make implicit fallthrough explicit
2020-08-23 10:08:55 +02:00
Eugene Sandulenko b438f6fb07 DIRECTOR: Fix warnings 2020-08-23 01:23:28 +02:00
Eugene Sandulenko 9a9c32f663 DIRECTOR: LINGO: Fix warnings 2020-08-23 01:16:57 +02:00
Eugene Sandulenko cfa0be7e35 DIRECTOR: Fix signed/unsigned comparison 2020-08-23 01:15:17 +02:00
Eugene Sandulenko 6c69c02442 DIRECTOR: LINGO: Reword b_play(), so it is simpler and works with "play done"
"play done" bytecode generates "play" without arguments
2020-08-22 19:06:35 +02:00
Eugene Sandulenko f6f669c953 DIRECTOR: Setting loop for stopped DV should actually play it 2020-08-22 18:02:10 +02:00
Eugene Sandulenko d1b0c5a986 DIRECTOR: Render last frame from paused or stopped videos 2020-08-22 18:02:10 +02:00
Eugene Sandulenko f3f0816bd3 DIRECTOR: Fixed showing initial frame on stopped videos 2020-08-22 18:02:10 +02:00
Eugene Sandulenko cc2e31a2b3 DIRECTOR: Simplify expression 2020-08-22 10:38:06 +02:00
djsrv d50b9a8a37 DIRECTOR: LINGO: Add chunk tests 2020-08-21 21:52:54 -04:00
djsrv 5201974ec7 DIRECTOR: LINGO: Comment out bad chunk tests 2020-08-21 21:52:54 -04:00
djsrv c147a5c979 DIRECTOR: LINGO: Implement chunk refs 2020-08-21 21:52:54 -04:00
djsrv 3bf6f79a3e DIRECTOR: Fix crash on mouse move in lingotests 2020-08-21 21:52:54 -04:00
djsrv 4c7593659b DIRECTOR: LINGO: Fix 0 indices in c_charToOf 2020-08-21 21:52:54 -04:00
Nathanael Gentry 828595c9fc DIRECTOR: Don't override shape dimensions 2020-08-21 16:52:07 -04:00
Nathanael Gentry 0bab9810c0 DIRECTOR: Fix getWidgetRect code path
This is morally equivalent to getWidgetRect, but takes into account the changes
to dimensions that MacText makes for borders and gutters and a text shadow.
Thus, these features are working again.
2020-08-21 16:34:06 -04:00
Nathanael Gentry d650738f9f DIRECTOR: Add puppet check on kTheCastNum 2020-08-21 14:35:12 -04:00
Nathanael Gentry 5c7b8fce47 DIRECTOR: LINGO: Add GetVolume XFCN as builtin 2020-08-21 14:35:12 -04:00
djsrv a6fc2ee3dc DIRECTOR: JANITORIAL: Add explicit int->bool casts
for sprite properties.
2020-08-21 12:58:52 -04:00
djsrv c883a98b72 DIRECTOR: JANITORIAL: Make int->bool cast explicit 2020-08-21 12:38:42 -04:00
djsrv 8313c2cf6a DIRECTOR: LINGO: Fix unsafe int/bool comparison 2020-08-21 12:38:42 -04:00
Eugene Sandulenko 45c49b1195 DIRECTOR: Load DVs only on demand 2020-08-21 10:52:08 +02:00
Eugene Sandulenko 6372c5d845 DIRECTOR: Implemented DV looping 2020-08-21 09:37:33 +02:00
djsrv ccfd1c8fd4 DIRECTOR: LINGO: Fix installMenu in D4 movies 2020-08-21 01:02:53 -04:00
djsrv f2291b2c53 DIRECTOR: LINGO: Handle installMenu 0 2020-08-21 01:02:53 -04:00
djsrv 1e476e1446 DIRECTOR: LINGO: Assert cast member error in tests 2020-08-21 00:20:26 -04:00