36 Commits

Author SHA1 Message Date
Paul Gilbert
17606700c4 TITANIC: Fix use after free and remove IFDEF code from mouse cursors 2017-10-15 19:03:09 -05:00
Paul Gilbert
db5676fec2 TITANIC: Simplify cursors to build up as RGBA during loading 2017-10-15 19:03:09 -05: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
7c2265659a TITANIC: Fix display of busy cursor across entire TV throw cutscene 2017-01-21 21:16:39 -05:00
Paul Gilbert
c11f32f4aa TITANIC: Further compiler warning fixes 2017-01-15 10:21:52 -05:00
Paul Gilbert
eb7b57b6a8 TITANIC: Implement busy cursor like the original 2016-12-27 00:43:19 -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
3990eb2277 TITANIC: Fix transparency handling for PET glyph selection 2016-11-01 20:07:27 -04:00
Paul Gilbert
22126a90d0 TITANIC: Implement manual mouse control used during intro 2016-10-31 08:25:22 -04:00
Paul Gilbert
b34e784c8a TITANIC: Renamings of mouse methods 2016-10-30 19:25:46 -04:00
Paul Gilbert
21562fba08 TITANIC: Add yet another mouse hiding counter the game uses 2016-10-26 19:11:35 -04:00
Paul Gilbert
45d208b2ec TITANIC: Further work on mouse cursor enablement logic 2016-10-25 23:10:46 -04:00
Paul Gilbert
20092fb386 TITANIC: Implement hide counting for mouse cursor hide/show 2016-10-25 18:43:20 -04:00
Eugene Sandulenko
dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Paul Gilbert
6a1e5bd43a TITANIC: Cleanup usages of CTransparencySurface 2016-10-06 22:01:43 -04:00
Paul Gilbert
ab0bd3e227 TITANIC: Remove redundant includes in CMouseCursor 2016-10-03 18:04:17 -04:00
Paul Gilbert
9a2e16dda1 TITANIC: Fix rendering of cursors 2016-10-03 08:41:12 -04: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
9dd2e198ae TITANIC: Remove redundant CFilesManager::fn4
It looks like the original method scanned subfolders for the file,
and prefixed on the found path. We don't need this for ScummVM
2016-08-29 21:17:50 -04:00
Paul Gilbert
f01d1c649b TITANIC: Clarify CMouseCursor saveState as setPosition 2016-08-29 20:31:09 -04:00
Paul Gilbert
8b3829549a TITANIC: Cleanup of engine references 2016-08-22 20:22:41 -04:00
Paul Gilbert
1986fa6e83 TITANIC: Fixes for mouse cursor/movie frame handling 2016-07-17 13:09:32 -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
207e1cbb29 TITANIC: Remove old hard-coded video loading code from cursors loading 2016-07-15 19:27:44 -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
a1c181f949 TITANIC: Adding CGameObject methods 2016-07-15 19:25:36 -04:00
Paul Gilbert
0820c3ffae TITANIC: Refactor CTitleEngine to use CFilesManager for PE resources 2016-07-10 16:39:01 -04:00
Paul Gilbert
1ee3f334d3 TITANIC: Change back to using original AVIDecoder 2016-04-10 14:40:59 -04:00
Paul Gilbert
bc7a7deb77 TITANIC: Fix showing custom cursors when highlighting objects 2016-04-07 00:06:18 -04:00
Paul Gilbert
19e4bca41c TITANIC: Set up cursors enum with better names 2016-04-05 21:14:34 -04:00
Paul Gilbert
f65849084c TITANIC: Fix display of initial cursor 2016-04-05 13:01:53 -04:00
Paul Gilbert
1efbed5409 TITANIC: Move most of the root classes into new support/ folder 2016-04-03 16:16:35 -04:00