Commit Graph
183 Commits
Author SHA1 Message Date
Filippos Karapetis ec16ebbf96 Revert "SCUMM: Refactor the workaround for the broken sample in Indy4"
This reverts commit c59df76164.
2022-04-16 14:25:51 +03:00
Filippos Karapetis c59df76164 SCUMM: Refactor the workaround for the broken sample in Indy4
This makes the workaround code more self-contained
2022-04-16 14:23:02 +03:00
Filippos Karapetis deb2d48d71 TRECISION: Reuse muteTrack() and setMute() 2022-01-25 18:49:16 +02:00
Filippos Karapetis 13be0648f0 TRECISION: Refactor the video decoder classes
Change NightlongVideoDecoder to be a base class. This allows us to
remove it as an intermediate class and cleanly separate the PC Smacker
from the Amiga video decoder
2022-01-25 17:57:08 +02:00
Filippos Karapetis 32fb690aae TRECISION: Add support for audio in Amiga video
The audio is in raw format, like the rest of the sounds in the Amiga
port.

Overall:
- A new class has been created, NightlongVideoDecoder, which
  encapsulates the PC and Amiga video playing functionality
- The AnimManager class has been moved into animmanager.*
- The AnimType class has been moved from anim.* to animtype.*
2022-01-24 00:24:28 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Filippos Karapetis b882ef646b TRECISION: Use animation defines in patchAnimTab() 2021-07-15 03:06:09 +03:00
Filippos Karapetis 6be03a7801 TRECISION: Patch invalid animation rectangles - bug #12628 2021-07-14 22:18:03 +03:00
Filippos Karapetis 81b0aad541 TRECISION: Simplify shouldShowAnim() 2021-07-03 13:26:30 +03:00
Filippos Karapetis dc97c350d2 TRECISION: Simplify the code handling animation subareas 2021-07-03 13:23:49 +03:00
Filippos Karapetis febc95d486 TRECISION: Clean up drawSmkBackgroundFrame() 2021-07-03 10:44:49 +03:00
D G Turner ea17d9422a TRECISION: Fix Shadowing Warnings 2021-07-01 06:09:14 +01:00
Filippos Karapetis 7ebd9c9558 TRECISION: Janitorial - use unified naming for loop variables 2021-06-20 17:04:01 +03:00
Filippos Karapetis 76dfe88b9a TRECISION: Mark the video frame calculation fix as a workaround 2021-06-20 01:38:25 +03:00
D G Turner 3d6cdf3e7d TRECISION: Fix GCC Signed vs. Unsigned Comparison Warning 2021-06-19 16:03:53 +01:00
Filippos Karapetis 84d00f364a TRECISION: Fix playing videos without choices - bug #12622 2021-06-19 12:18:42 +03:00
Filippos Karapetis df607c7f8d TRECISION: Fix action animation rects - bugs #12629, #12639, #12640 2021-06-16 22:54:26 +03:00
Filippos Karapetis 3297cb2669 TRECISION: Fix incorrect actor dirty rects - bug #12639
Get rid of _actorRect, and reference the last dirty rect to be drawn
directly. Fixes invalid actor dirty rects causing Joshua to be drawn
over his action animations causing them be partially drawn, such as
the animation where Joshua is looking down the well at the castle
2021-06-16 01:18:52 +03:00
Filippos Karapetis 039cf08f4f TRECISION: Fix drawing frames from disabled animations - bugs #12624, #12626
Fixes the chain shown incorrectly when entering the platforms and the
shopkeeper's wife appearing frozen after she's left the storeroom
2021-06-14 03:56:13 +03:00
SupSuper 2caa965b30 TRECISION: Fix subtitle crash
SDText::calcHeight uses _rect so we have to reset it one at a time
2021-06-11 23:15:31 +01:00
Filippos Karapetis d721ecceea TRECISION: Draw video subtitles correctly
A regression from 6ce7d3a985
2021-06-09 01:49:14 +03:00
Filippos Karapetis 6ce7d3a985 TRECISION: Remove mask color params and simplify the blinking char code
The mask or shadow color was always MASKCOL, so we don't need to
specify it as a parameter
2021-06-09 00:38:47 +03:00
SupSuper 89819274af TRECISION: Workaround for background video loops 2021-06-07 23:45:42 +01:00
SupSuper 46eb7acb00 TRECISION: More accurate video seeking 2021-06-07 04:26:15 +01:00
Strangerke 5ecae9704d TRECISION: Fix warning in MSVC 2021-06-06 08:40:13 +01:00
SupSuper f45aefcf2b TRECISION: Move save listing to MetaEngine 2021-06-05 06:24:30 +01:00
SupSuper a308d82770 TRECISION: Skip missing videos 2021-06-04 06:59:26 +01:00
Filippos Karapetis f25b899e1d Revert "TRECISION: Fix drawing of the first Smacker frame in some animations"
This reverts commit a33b9877c1.
2021-05-31 22:26:15 +03:00
SupSuper 62f62b6b62 TRECISION: Add endianness to FastFile 2021-05-31 06:40:06 +01:00
SupSuper 229d9415a0 TRECISION: Amiga files are big-endian 2021-05-31 06:40:04 +01:00
Filippos Karapetis db484b2734 TRECISION: Rename a variable 2021-05-31 01:59:26 +03:00
Filippos Karapetis a33b9877c1 TRECISION: Fix drawing of the first Smacker frame in some animations 2021-05-31 00:19:00 +03:00
SupSuper d16fb074e7 TRECISION: Move MessageQueues into Scheduler 2021-05-29 21:25:09 +01:00
Strangerke f840836b3e TRECISION: Set SObject._mode private, add accessors 2021-05-29 21:25:08 +01:00
SupSuper 67674c9784 TRECISION: Fix videos not stopping immediately 2021-05-29 21:25:07 +01:00
Strangerke d22c218897 TRECISION: Set SObject._flg private, add accessors 2021-05-29 21:25:07 +01:00
Filippos Karapetis c6254cfc78 TRECISION: Fix compilation 2021-05-29 21:25:07 +01:00
Filippos Karapetis 0128994f3f TRECISION: Merge forceSeekToFrame() and forceSkip(). Some cleanup 2021-05-29 21:25:07 +01:00
SupSuper 23e36fe859 TRECISION: Fix loading original saves 2021-05-29 21:25:06 +01:00
Filippos Karapetis 3f583cd42e TRECISION: Move more screen update functionality into GraphicsManager 2021-05-29 21:25:06 +01:00
Strangerke bc3b343eb7 TRECISION: Make SRoom._flag private, add accessors,add sync and loading functions 2021-05-29 21:25:05 +01:00
Strangerke 639eba4896 TRECISION: Remove extra parenthesis while reviewing code 2021-05-29 21:25:05 +01:00
Filippos Karapetis 1e5a5f1d23 TRECISION: Fix regression with dialog completion checks 2021-05-29 21:25:05 +01:00
Filippos Karapetis a3ae0deb6e TRECISION: Add accessors to DialogManager's members
This allows for the following:
- Make class members of DialogManager private
- Cleaner, more readable code
- Remove unused code
2021-05-29 21:25:05 +01:00
Strangerke 33173bdb67 TRECISION: Move StackText to text.h, rename tcol and scol to improve readability 2021-05-29 21:25:04 +01:00
Strangerke a61b383d3c TRECISION: reduce if levels in loadStream and handleEndOfVideo 2021-05-29 21:25:04 +01:00
Filippos Karapetis cd28cdbd92 TRECISION: Remove handling and queues for animation class events
These were never actually used
2021-05-29 21:25:03 +01:00
Strangerke 7b4de1e6fb TRECISION: One more review of the includes 2021-05-29 21:25:00 +01:00
Filippos Karapetis 6390587914 TRECISION: Rename Smacker audio toggling functions. Some cleanup 2021-05-29 21:24:58 +01:00
Filippos Karapetis 6e3473a2b7 TRECISION: Remove unused events
These events are not used by the engine code or game scripts, so they
are dead code which can be safely removed
2021-05-29 21:24:54 +01:00