Commit graph

68 commits

Author SHA1 Message Date
Paul Gilbert
3333432b4d TITANIC: Fix leak of movie event structures 2017-09-24 12:15:58 -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
8308341a98 TITANIC: Fix use-after-free in TTtalker when loading savegames 2017-08-18 22:30:38 -04:00
Paul Gilbert
6a7688ad10 TITANIC: Properly fix disappearing cconversation log text 2017-07-29 20:30:06 -04:00
Paul Gilbert
64cbcba420 TITANIC: Workaround Conversation area corruption when dragging items
When dragging an item, the bounds for the area of the screen affected
goes from the dragged item to the blinking cursor when the conversation
tab is active. This rect overlapping the conversation area somehow
starts erasing some of the conversation log. Despite some effort, I
haven't been able to track down the exact cause. So the easiest
workaround is simply to make the entire PET as dirty each frame when
dragging an item, which seems to fix the problem. Though it would be
nice, at some point, if the rooot cause could still be identified.
2017-07-24 08:09:00 -04:00
Paul Gilbert
558a409c00 TITANIC: Fix disappearing vision center on bar shelf 2017-07-08 16:27:05 -04:00
Paul Gilbert
562da310b8 TITANIC: Fix to only update modified parts of the screen 2017-07-07 20:55:12 -04:00
Paul Gilbert
deab63fbdd TITANIC: Fix resetting _movieRoom when changing views 2017-06-20 21:55:52 -04:00
Paul Gilbert
c92e1ec0f4 TITANIC: Fix tearing/incorrect blocks in starship crash cutscene 2017-06-18 20:29:40 -04:00
Paul Gilbert
6930f2b648 TITANIC: Rename viewChange to freeSurface 2017-06-11 17:06:46 -04:00
Paul Gilbert
3be659b5c1 TITANIC: CGameManager viewChange better named as roomChange 2017-06-11 16:19:54 -04:00
Paul Gilbert
27c80f012a TITANIC: Fix PET not showing on savegame load in front of nav helmet 2017-02-27 19:45:00 -05:00
Paul Gilbert
d56e4e4584 TITANIC: Further renamings for CGameObject 2017-02-16 21:34:59 -05:00
Paul Gilbert
61db7190a3 TITANIC: Clarify dirty rect methods in CGameManager 2017-01-14 18:19:12 -05:00
Paul Gilbert
b639f5389f TITANIC: Hopefully fix write after tree in CGameManager 2016-12-18 21:07:04 -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
a02adba842 TITANIC: Renamings of transitioning counter methods 2016-11-12 19:49:09 -05:00
Paul Gilbert
45d208b2ec TITANIC: Further work on mouse cursor enablement logic 2016-10-25 23:10:46 -04:00
Eugene Sandulenko
dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Paul Gilbert
d09535a4b4 TITANIC: Remove CTrueTalkManager update2 method
The original was actually the update method for an audio buffer list.
This is thus unneeded in ScummVM, which automatically handles sound updates
2016-08-29 22:43:54 -04:00
Paul Gilbert
7e3d91cd46 TITANIC: Implemented CTitania class 2016-08-14 14:57:23 -04:00
Paul Gilbert
386761f340 TITANIC: Added skeleton QMixer class for mixer interface 2016-08-05 13:11:12 -04:00
Paul Gilbert
41a3c83bc6 TITANIC: Fleshing out PET RealLife Load functionality 2016-07-22 12:44:14 -04:00
Paul Gilbert
0ed7b463e8 TITANIC: Fixes for saving & loading savegames 2016-07-20 21:51:44 -04:00
Paul Gilbert
d5bf17e73f TITANIC: Add movie _handled flag, simplify frame timinig code 2016-07-20 07:38:13 -04:00
Paul Gilbert
cc9bf88ed5 TITANIC: Major implementation of OSMovie and AVISurface classes 2016-07-15 19:27:33 -04:00
Paul Gilbert
fb06cb4dde TITANIC: Added CMovieManager class 2016-07-15 19:27:13 -04:00
Paul Gilbert
ef1d10e926 TITANIC: Implemented remaining CGameManager methods and others 2016-07-15 19:25:19 -04:00
Paul Gilbert
0820c3ffae TITANIC: Refactor CTitleEngine to use CFilesManager for PE resources 2016-07-10 16:39:01 -04:00
Paul Gilbert
74935b371f TITANIC: Implementing scriptChanged methods 2016-07-10 16:38:50 -04:00
Paul Gilbert
e85b171db8 TITANIC: Adding CTrueTalkManager support methods 2016-07-10 16:38:46 -04:00
Paul Gilbert
03a8cbaf98 TITANIC: Implemented TT manager loadAssets, beginnings of CDialogueFile 2016-07-10 16:38:30 -04:00
Paul Gilbert
9a6ad7d1e0 TITANIC: Implemented remote entertainment device glyph 2016-07-10 16:38:08 -04:00
Paul Gilbert
34c32e38e2 TITANIC: More font logic, beginnings of text cursor 2016-07-10 16:12:05 -04:00
Paul Gilbert
f7748622fa TITANIC: Further implementation of timers 2016-04-09 19:36:12 -04:00
Paul Gilbert
6405ba6ecb TITANIC: Starting to flesh out timers 2016-04-09 17:12:41 -04:00
Paul Gilbert
3d166fb8a9 TITANIC: More implementation code for movie playback 2016-04-09 14:24:52 -04:00
Paul Gilbert
e3d02532f7 TITANIC: Implementing preliminary video playback code 2016-04-08 20:46:03 -04:00
Paul Gilbert
1efbed5409 TITANIC: Move most of the root classes into new support/ folder 2016-04-03 16:16:35 -04:00
Paul Gilbert
c948e8812e TITANIC: Support methods needed by CTelevision 2016-03-24 21:02:25 -04:00
Paul Gilbert
bfcf006bbb TITANIC: Fixes for correct positioning of view background 2016-03-22 22:36:49 -04:00
Paul Gilbert
06bd62fed4 TITANIC: First scene starting to be displayed 2016-03-22 21:54:26 -04:00
Paul Gilbert
5cec3b3bd8 TITANIC: Implement object image loading and drawing 2016-03-22 07:44:45 -04:00
Paul Gilbert
217360d0c5 TITANIC: Add new derived Rect and Point classes 2016-03-21 20:53:49 -04:00
Paul Gilbert
ea54e6244e TITANIC: Fixes/renames for files manager 2016-03-20 00:01:40 -04:00
Paul Gilbert
8b5ad45f4a TITANIC: Minor fixes executing game manager update 2016-03-19 23:02:41 -04:00
Paul Gilbert
c6b239bdac TITANIC: Implemented CGameManager::update 2016-03-19 22:43:02 -04:00
Paul Gilbert
dbd8ab0f1c TITANIC: Implement view change logic 2016-03-19 20:56:29 -04:00
Paul Gilbert
4704d72d6a TITANIC: Implementing view item message handling 2016-03-19 18:19:45 -04:00