Commit Graph

79 Commits

Author SHA1 Message Date
Adrian Frühwirth
cee4d6b853 JANITORIAL: Fix trailing whitespace 2018-05-24 15:30:55 +02:00
Paul Gilbert
8e0833e6de TITANIC: Remove accidentally committed cutscene slowdown 2017-10-14 22:17:12 -04:00
Paul Gilbert
55947e8ae8 TITANIC: Fix rotating on Top of Well balcony 2017-10-13 21:23:24 -04:00
Paul Gilbert
93e18ba7c3 TITANIC: DE: Translation for .avi files directly referred to 2017-10-02 21:40:46 -04:00
Paul Gilbert
1f1a4427f5 TITANIC: Change AVISurface _framePixels from ManagedSurface to bool 2017-09-18 21:19:06 -04:00
Paul Gilbert
d5df72998c TITANIC: Fix blocky squares during transitions on SGT level 2017-09-12 20:39:54 -04:00
Paul Gilbert
25ae67b870 TITANIC: Created custom stream reader to fix bad y222.avi header 2017-09-10 19:32:26 -04:00
Paul Gilbert
a2b05b5c63 TITANIC: Fix Doorbot doubletake in the prologue 2017-09-03 20:09:23 -04:00
David Fioramonti
c96b01b82e TITANIC: Reduce header includes for titanic.h
I reduced the header includes a lot in Titanic.h and forward
declared when I could. Titanic.h was including a lot and
a lot of functions that were including it were not using its
API. This will help make it more clear which implementation
files are using which class since they will just need to include
which ones they need.

I also moved the debug related items in Titanic.h into the debugger
header.

I also reordered several of the the header includes to be local to
global.
2017-08-24 04:06:54 -07:00
Paul Gilbert
62ab066457 TITANIC: Fix not being able to close ScummVM during prologue credits 2017-07-31 22:39:28 -04:00
Paul Gilbert
bc29ee474a TITANIC: Handle brief freeze if prologue credits are skipped 2017-07-31 22:20:50 -04:00
Bastien Bouclet
ec49730711 VIDEO: Allow setting the mixer sound type used to play audio tracks 2017-07-27 06:40:07 +02:00
Paul Gilbert
9752d7bb43 TITANIC: Don't load prior frame for videos when in reverse mode 2017-07-20 07:28:56 -04:00
Paul Gilbert
679c0e72b1 TITANIC: Fix scaling in scene transition cutscenes 2017-07-16 18:33:36 -04:00
Paul Gilbert
fe1617ac51 TITANIC: Fix pause during intro credits cutscene 2017-07-15 11:29:21 -04:00
Paul Gilbert
51ebb01915 TITANIC: Fix Titania's nose remaining present after being picked up
Fixing this required reverting the previous fix I'd done for the
Doorbot's 'Cloak Off' animation during the prologue. What the proper
fix for it, seems to be, is that when a video is full 32-bit ARGB,
if it has a second transparency track, then simply ignore the alpha
in the first track, and simply use the RGB values for each pixel
2017-07-11 21:59:21 -04:00
Paul Gilbert
d5ebd9ae92 TITANIC: Fix switching between forward & backwards movie clips 2017-07-02 21:30:00 -04:00
Paul Gilbert
4ca01a6965 TITANIC: Reset movie framerate when setting up decompressor 2017-07-01 17:54:32 -04:00
Paul Gilbert
feef98dd22 TITANIC: Fix crash going up service elevator in prologue 2017-07-01 17:48:01 -04:00
Paul Gilbert
72423657e2 TITANIC: Fix service lift indicator when going down floors 2017-07-01 17:40:51 -04:00
Paul Gilbert
372610a907 TITANIC: Refactor out _isReversed from AVI Surface 2017-07-01 17:32:42 -04:00
Paul Gilbert
28c461e2f9 TITANIC: Don't set movie framerate until after movie has started 2017-06-30 22:59:29 -04:00
Paul Gilbert
e4ba3fccc3 TITANIC: Update AVISurface to use refactored AVIDecoder 2017-06-30 21:33:09 -04:00
Paul Gilbert
1b03df5313 TITANIC: Fix Doorbot animation during starting cutscene 2017-06-28 19:53:25 -04:00
Paul Gilbert
6ccbdf78e5 TITANIC: Fix Bellbot walking off during checkin 2017-06-19 20:43:50 -04:00
Paul Gilbert
eb68a94527 TITANIC: Fix empty holes appearing in room transition videos 2017-06-18 22:09:24 -04:00
Paul Gilbert
eedbb7df4e TITANIC: Fix single incorrect frame showing when Bellbot leaves 2017-06-15 21:24:24 -04:00
Paul Gilbert
f0e08796b0 TITANIC: Work around cylinder holder 8-bit frame with no palette
The video for the cylinder holder has a single 8-bit frame at the
start of the sequence for opening when there's no cylinder inside.
This fix works around it by ignoring 8-bits frame when there's
no palette available.
2017-02-14 23:05:59 -05:00
Paul Gilbert
7d7e8c4af1 TITANIC: Fix TV playback during prologue 2017-01-18 23:02:30 -05:00
Paul Gilbert
63c3df22f0 TITANIC: Handle -1 frameNumber in AVISurface::addEvent like original 2017-01-17 22:40:57 -05:00
D G Turner
60867811cc TITANIC: Fix Several Valgrind Warnings. 2017-01-16 17:39:32 +00:00
Paul Gilbert
c11f32f4aa TITANIC: Further compiler warning fixes 2017-01-15 10:21:52 -05:00
Paul Gilbert
baf6b58313 TITANIC: Fix chicken dispensor 2017-01-15 10:11:40 -05:00
Paul Gilbert
290bd977a2 TITANIC: Fix size mismatch assert on Gondolier controls close-up 2017-01-14 21:32:22 -05:00
Paul Gilbert
2ebb0a37b5 TITANIC: Fix assert on bad video frame in the Promenade 2017-01-03 15:17:47 -05:00
Paul Gilbert
203a239ee3 TITANIC: Further AVISurface fixes for reverse movie playback 2016-12-07 19:09:14 -05:00
Paul Gilbert
c332251f59 TITANIC: In progress code for reverse playback in AVISurface 2016-12-05 23:17:18 -05:00
Paul Gilbert
32e7086b88 TITANIC: Handle 16-bit source movie frames 2016-11-30 20:00:03 -05:00
Paul Gilbert
8b4a1a7660 TITANIC: Transparency in movie frames now working
Turns out the movie frames didn't need to be 32-bit, it just needed
custom copying code to replace transparent pixels with the transparency
color, so when blitted to the screen, the pixels aren't drawn.
2016-11-28 22:50:22 -05:00
Paul Gilbert
63ec47e62f TITANIC: Add support for 32-bit surfaces
Some of the game videos have alpha levels, which are lost if the surfaces
are converted to 16-bit. This adds better support for creating 32-bit
video surfaces, so the information won't be lost
2016-11-26 15:25:20 -05:00
Paul Gilbert
dd7525320f TITANIC: Simplify movie rendering due to ManagedSurface blit enhancements 2016-11-22 21:19:54 -05:00
Paul Gilbert
2a20ce75c3 TITANIC: Defer creating movie frame surfaces until renderFrame 2016-11-22 19:25:23 -05:00
Paul Gilbert
7e35499c89 TITANIC: Fix memory leak 2016-11-21 20:18:11 -05:00
Paul Gilbert
4e515ea3fe TITANIC: Properly handle videos with some frames being paletted 8-bit 2016-11-14 22:51:10 -05:00
Paul Gilbert
b7469085b5 TITANIC: Fix not being able to leave chicken dispensor 2016-11-12 08:12:49 -05:00
Paul Gilbert
5348f4f34f TITANIC: Support cutscene frame counting beyond end of video
The intro credits cutscene at least, uses an end frame beyond the
video as a way of adding an extra delay after the video finishes
2016-10-30 18:20:14 -04:00
Paul Gilbert
f04174aa8a TITANIC: Fix playing past very last frame of videos 2016-10-30 11:13:51 -04:00
Paul Gilbert
6ffa5228c1 TITANIC: Fix setting different video framerates 2016-10-30 08:10:18 -04:00
Paul Gilbert
525c9100e8 TITANIC: Fix playback elevator background at correct speed 2016-10-29 22:41:37 -04:00
Paul Gilbert
4740f16b7f TITANIC: Fix playing cutscenes to the very of a video 2016-10-28 22:59:17 -04:00