Commit Graph
128 Commits
Author SHA1 Message Date
Cameron Cawley 645f5d2e36 GRAPHICS: Remove overrideColor from ManagedSurface::transBlitFrom 2024-12-30 10:59:16 +02:00
Filippos Karapetis 86afda75f5 MTROPOLIS: Handle videos that have no video frames
In How To Build A Telemedicine Program, all the video files have no
video frames, and contain only audio. In this case, the QT player will
keep playing the video until the audio is finished. Handle such cases,
so that the game's UI is responsive
2024-09-21 18:10:16 -04:00
meekee7 4d19c379c6 JANITORIAL: MTROPOLIS: resolve various typos 2024-09-07 18:01:53 +03:00
elasota fdaa96daba MTROPOLIS: Convert Miniscript program runs from tasks to coroutines 2024-08-29 22:07:46 -04:00
elasota 590844d4d4 MTROPOLIS: Convert sound element tasks to coroutines 2024-08-29 22:07:46 -04:00
elasota 92759aa113 MTROPOLIS: Convert mToon element tasks into coroutines 2024-08-29 22:07:46 -04:00
elasota ff394892af MTROPOLIS: Convert MovieElement tasks to coroutines 2024-08-28 23:46:14 -04:00
elasota ddad333857 MTROPOLIS: Coroutines 2024-08-28 22:58:25 -04:00
elasota 07d303a38b MTROPOLIS: Add name auto-set for elements, always activate hot-loaded objects 2024-08-12 23:17:06 -04:00
elasota b5a067415a MTROPOLIS: Add object reparenting, cloning, and killing 2024-07-06 00:45:58 -04:00
elasota d13568b185 MTROPOLIS: Sink invalid attrib writes that are documented as allowed in 1.x 2024-07-04 21:40:35 -04:00
meekee7 6777f200f9 MTROPOLIS: add fallback palette to MovieElement blitting (#5811)
* MTROPOLIS: add fallback palette to MovieElement blitting

Without a palette, there would be assertions and nullptr segfaults
in Graphics::ManagedSurface::blitFromInner.
Observed in MindGym and The Day The World Broke

The palette content is not correct yet. Mind Gym renders the video
with the wrong colors.

* MTROPOLIS: use global palette as fallback for MovieElement
2024-07-03 14:54:47 -04:00
Michael b2cd9f66a0 MTROPOLIS: use VFS layer to resolve video path
This makes the handling of external Quicktime files
more similar to the AVI file handling below.
2024-05-24 19:25:19 -04:00
Michael dc49091a15 MTROPOLIS: remove subpath search loop
The SearchMan entry "Video" is used to find the right path instead.
2024-05-24 19:25:19 -04:00
Michael bd3ab79910 MTROPOLIS: add ability to play external video files 2024-05-24 19:25:19 -04:00
Matthew Duggan 704d1d0211 MTROPOLIS: Fix crash - correct movie chunk offset
Fixes a typo introduced in PR#5378 which used the wrong value as the chunk
offset.
2023-11-25 09:37:51 +11:00
Matthew Duggan 69d0293172 MTROPOLIS: Add support for 'Unit Re-Booted'
This is not much of a game, but uses some variants of the data format which are
nice to support and should help with future projects.
2023-10-28 11:45:58 -04:00
elasota c9ad0a2040 MTROPOLIS: Fix black chroma key not working 2023-08-21 19:16:53 -04:00
elasota baeff6a736 MTROPOLIS: Add hack to get MTI molasses wipe-off section working 2023-06-14 01:56:36 -04:00
elasota 6c0a2ac382 MTROPOLIS: Add hacks to handle several animations that are supposed to stay on-screen even though they've been removed 2023-06-13 23:48:10 -04:00
elasota 80a75d7236 MTROPOLIS: Add AVI movie support 2023-06-13 23:48:10 -04:00
elasota 3809557b5a MTROPOLIS: Add hack to fix intro animation in secret room not playing. Fix list delete not working correctly (fixes treasure drain looping). 2023-06-13 18:12:37 -04:00
elasota b683bf7b7a MTROPOLIS: Add hack to fix failed integrity check when disembarking the Hispaniola 2023-06-13 00:44:23 -04:00
elasota 830d4fb1e7 MTROPOLIS: Fix hang in MTI cannon scene 2023-06-11 02:53:35 -04:00
elasota 7423e92580 MTROPOLIS: Add hack to fix black square in MTI's MPZ-1000 screen 2023-06-10 17:55:57 -04:00
elasota f218c6169d MTROPOLIS: Fix mToon transparency regression. Fix mToon out-of-range cel wraparound behavior. 2023-06-09 17:44:57 -04:00
elasota cfae4f935e MTROPOLIS: Fix paletted mToon color keying not working. Replicate mTropolis 1.0 bug to fix MTI piano buttons playing 2 hints at once. 2023-06-09 01:03:05 -04:00
elasota 55d578078b MTROPOLIS: Add basic support for image effect modifiers, which should fix most object highlights in MTI 2023-06-07 23:48:36 -04:00
elasota bd33eb0f80 MTROPOLIS: Add support for "object" attrib of ObjectReferenceVariableModifierV1, and for sending play ranges to mToons. Fixes the pie minigame in MTI. 2023-06-07 01:53:52 -04:00
Cameron Cawley 71a8f4262d MTROPOLIS: Simplify palette code 2023-02-08 00:09:39 +01:00
elasota 029b6738cb MTROPOLIS: Add support for assigning sound assets and loading assets from other streams. 2023-01-23 23:06:49 -05:00
elasota 97acf91d6d MTROPOLIS: Implement path motion modifier and fix white chroma key not working.
Fixes the Obsidian bird poop easter egg.
2023-01-20 01:25:56 -05:00
elasota 3ace07f6ce MTROPOLIS: Fix movie elements ignoring Show/Hide commands. 2023-01-06 23:00:27 -05:00
elasota 0e6cccb2c2 MTROPOLIS: Add list delete attribute, fix mToon range set by label being off by 1, should fix the key plank in MTI Benbow. 2022-12-30 16:38:28 -05:00
elasota 606a1d0eb6 MTROPOLIS: Add support for setting mToon range to a label. Fixes MTI Benbow moose head. 2022-12-28 08:15:44 -05:00
elasota 501e3f219b MTROPOLIS: Add hack for returning from MTI pause menu. 2022-12-23 10:10:42 -05:00
Willem Sonke fdf0c42040 MTROPOLIS: Fixes for SPQR. Add "postponeredraws" WM attribute and allow mToon ranges to be set to a point. 2022-11-21 17:23:47 -05:00
elasota 806966389c MTROPOLIS: Add keybind to skip movies for debug purposes. 2022-11-13 18:19:49 -05:00
elasota 6e4245b962 MTROPOLIS: More accurate variable dereferencing and list behavior. Fix some Obsidian regressions. 2022-11-07 23:18:03 -05:00
elasota 197f59dd00 MTROPOLIS: Add asset ID debug inspector to images. 2022-11-06 00:15:57 -04:00
D G Turner d91072d798 MTROPOLIS: Fix Extra Parameters in Format GCC Compiler Warning 2022-11-01 05:24:34 +00:00
elasota 9a93ef2ff2 MTROPOLIS: Add more debug inspectors for mToon elements. 2022-10-31 03:53:59 -04:00
elasota 30b2242aa8 MTROPOLIS: Add support for sound media cues. 2022-10-31 01:12:36 -04:00
elasota c2a89b2513 MTROPOLIS: Add hack for MTI animations using the wrong rate flag. 2022-10-30 21:44:10 -04:00
elasota e9a6ef273f MTROPOLIS: Various MTI fixes. 2022-10-16 02:29:16 -04:00
elasota 7730a6c364 MTROPOLIS: Render MTI in 32-bit mode and fix more MTI things. 2022-10-11 21:48:58 -04:00
elasota 9d6562189d MTROPOLIS: Convert most Surface usages to ManagedSurface to fix tons of memory leaks from Surface not freeing memory when destroyed 2022-09-28 22:41:11 -04:00
elasota 8ba71d0a0f MTROPOLIS: Flatten QuickTime edit lists in Obsidian. 2022-09-18 20:12:17 -04:00
Eugene Sandulenko 2d3b4619a4 MTROPOLIS: Fix warnings about unused variables 2022-08-22 12:11:47 +02:00
elasota f7a3e571f0 MTROPOLIS: Add subtitles support 2022-08-09 21:54:08 -04:00