Commit Graph
53 Commits
Author SHA1 Message Date
Paul Gilbert c8c83145a8 TITANIC: The hasAudioTiming code was just an isActive flag 2017-09-11 19:35:21 -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 bc29ee474a TITANIC: Handle brief freeze if prologue credits are skipped 2017-07-31 22:20:50 -04:00
Paul Gilbert fe1617ac51 TITANIC: Fix pause during intro credits cutscene 2017-07-15 11:29:21 -04:00
Paul Gilbert 63c3df22f0 TITANIC: Handle -1 frameNumber in AVISurface::addEvent like original 2017-01-17 22:40:57 -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 afb4b6227a TITANIC: Fixes for freeing project and engine objects on exit 2016-11-15 21:04:30 -05:00
Paul Gilbert b7469085b5 TITANIC: Fix not being able to leave chicken dispensor 2016-11-12 08:12:49 -05:00
Paul Gilbert 37e4ca3fbc TITANIC: Fix doubling the size of half size video clips 2016-11-04 21:56:09 -04:00
Paul Gilbert 2bf087d2b9 TITANIC: Workaround for Doorbot's 'cloak off' movie playback
The original starts a movie for the Doorbot taking his cloak off,
but then plays a cutscene of the doorbot first appearing. Because of
this delay, our VideoDecoder wasn't correctly playing the movie after.
To fix that, new movies are initially paused when started, and then
resumed the first time we try to do events checking for it
2016-10-22 11:40:51 -04:00
Eugene Sandulenko dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Paul Gilbert dd2ee74cc0 TITANIC: Change mouse cursor to use transparency 2016-10-02 15:39:45 -04:00
Paul Gilbert aba58e6042 TITANIC: Clarify movie secondary video tracks as a transparency mask 2016-09-28 20:24:27 -04:00
Paul Gilbert 8b454a61ab TITANIC: Fix black flash at the start of view change clips 2016-08-31 23:18:33 -04:00
Paul Gilbert 2e9c21cd84 TITANIC: Improvements to view change animations 2016-08-31 23:12:53 -04:00
Paul Gilbert a1d51d3142 TITANIC: View change animations now partially working 2016-08-31 22:05:58 -04:00
Paul Gilbert 7e3d91cd46 TITANIC: Implemented CTitania class 2016-08-14 14:57:23 -04:00
Paul Gilbert 668c486f4f TITANIC: Implemented more sound related classes 2016-08-09 21:51:19 -04:00
Paul Gilbert de775c6bda TITANIC: Starting to flesh out sound loading 2016-08-05 19:18:27 -04:00
Paul Gilbert 3a466a29ea TITANIC: Fix compiler warnings 2016-08-02 20:04:06 -04:00
Paul Gilbert 1e806a885b TITANIC: Syntax fixes pointed out by criezy 2016-07-31 17:43:27 -04:00
Paul Gilbert 00c568e175 TITANIC: Fix for movie play ranges that end at the AVI file end 2016-07-23 14:39:07 -04:00
Paul Gilbert 9e02409ef4 TITANIC: Clarification and fixes for movie reverse and repeat flags 2016-07-23 13:15:24 -04:00
Paul Gilbert 382ba52e33 TITANIC: Fix exit crash when a movie is active 2016-07-23 12:45:29 -04:00
Paul Gilbert 71b76acc63 TITANIC: Fixes and simplification of AVISurface 2016-07-23 11:38:39 -04:00
Paul Gilbert c5792fce4b TITANIC: Clarify movie/surface has frame fields & variables 2016-07-20 07:56:26 -04:00
Paul Gilbert d5bf17e73f TITANIC: Add movie _handled flag, simplify frame timinig code 2016-07-20 07:38:13 -04:00
Paul Gilbert 6b250453f9 TITANIC: Further implementation of movie frame decoding 2016-07-17 13:09:27 -04:00
Paul Gilbert 513723c82d TITANIC: Making the AVISurface frameInfo a video surface 2016-07-17 13:09:24 -04:00
Paul Gilbert 6c56d5aa11 TITANIC: Named two remaining OSMovie virtual methods 2016-07-15 19:27:37 -04:00
Paul Gilbert cc9bf88ed5 TITANIC: Major implementation of OSMovie and AVISurface classes 2016-07-15 19:27:33 -04:00
Paul Gilbert 8b2d85f8e5 TITANIC: Figured out remainder of CMovieManager 2016-07-15 19:27:16 -04:00
Paul Gilbert fb06cb4dde TITANIC: Added CMovieManager class 2016-07-15 19:27:13 -04:00
Paul Gilbert 5ab33f117a TITANIC: Adding more video surface methods 2016-07-15 19:27:06 -04:00
Paul Gilbert 8ea5d53329 TITANIC: Added CGameObject saving, and movie range info methods 2016-07-15 19:26:02 -04:00
Paul Gilbert 0715be7926 TITANIC: Added CGameObject text methods 2016-07-15 19:25:41 -04:00
Paul Gilbert ef1d10e926 TITANIC: Implemented remaining CGameManager methods and others 2016-07-15 19:25:19 -04:00
Paul Gilbert f0889c17a4 TITANIC: Implementing lots of cGameObject methods 2016-07-15 19:23:44 -04:00
Paul Gilbert 4963c9f50b TITANIC: Implement CMovieEvent & CMovieRangeInfo 2016-07-10 16:38:18 -04:00
Paul Gilbert 066dd4f5cd TITANIC: Implementing PET inventory population 2016-07-10 16:11:17 -04:00
Paul Gilbert 91336a8611 TITANIC: Implement playing a range of frames within movie 2016-07-10 16:10:51 -04:00
Paul Gilbert 8e5f7a9453 TITANIC: Fix stopping movies 2016-07-10 16:10:50 -04:00
Paul Gilbert 9db15f6967 TITANIC: Allow television video to play multiple times 2016-07-10 16:10:49 -04:00
Paul Gilbert 1ee3f334d3 TITANIC: Change back to using original AVIDecoder 2016-04-10 14:40:59 -04:00
Paul Gilbert 78d03f9784 TITANIC: Television video is now playing 2016-04-10 09:19:37 -04:00
Paul Gilbert d5e346681f TITANIC: Fix deleting movies 2016-04-09 21:45:13 -04:00
Paul Gilbert 3d166fb8a9 TITANIC: More implementation code for movie playback 2016-04-09 14:24:52 -04:00
Paul Gilbert 09a3ca0728 TITANIC: Implement movie loading 2016-04-08 23:01:02 -04:00
Paul Gilbert e3d02532f7 TITANIC: Implementing preliminary video playback code 2016-04-08 20:46:03 -04:00