Commit Graph

26 Commits

Author SHA1 Message Date
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
e830ddbc70 TITANIC: Bring movement rates in the starfield closer to the original
The original updated the camera during the general scene drawing,
which was done at a much higher rate than I wanted for the ScummVM
implementation. So I've added this workaround to update the camera
every 10ms when the player is in the star control scene. This gives
it a comparible rate of movement to the original.
2017-08-06 20:36:28 -04:00
Paul Gilbert
4fee9a492e TITANIC: Remap right mouse click to be a left click with Shift held.
This was a suggestion by dafioram; holding down Shift allows you
to skip scene transitions and edit the fragments of room glyphs.
Now with this remapping, you can alternatively just use right clicks.
2017-07-30 11:39:40 -04:00
Paul Gilbert
e8e7266214 TITANIC: Improve performance of event handling 2017-07-17 19:39:50 -04:00
Paul Gilbert
9dbd9c567e TITANIC: Fix maintaining total playtime for savegames 2017-06-17 13:39:13 -04:00
Paul Gilbert
3324b6ade0 TITANIC: Hopefully fix overlapping announcements 2016-12-20 21:12:18 -05:00
Paul Gilbert
f1615d83d7 TITANIC: Fix compiler warnings 2016-11-08 20:25:14 -05:00
Paul Gilbert
806e5827f1 TITANIC: Fix spurious drag starts happening after view changes 2016-11-08 20:11:11 -05:00
Paul Gilbert
0f4ca41dad TITANIC: Add support for mouse wheel scrolling conversations log 2016-11-01 22:30:21 -04:00
Paul Gilbert
22126a90d0 TITANIC: Implement manual mouse control used during intro 2016-10-31 08:25:22 -04:00
Paul Gilbert
b4beb09c94 TITANIC: Fix updating mixer during cutscenes, ending NPC speech 2016-09-03 17:31:37 -04:00
Paul Gilbert
74e94ac7f3 TITANIC: Hook up wave pump for callbacks 2016-08-11 21:18:12 -04:00
Paul Gilbert
3c9d724866 TITANIC: Added sound methods to CGameObject 2016-08-07 09:49:10 -04:00
Paul Gilbert
7821b84659 TITANIC: Add button handling and evil twin to Continue Save dialog 2016-07-22 22:42:46 -04:00
Paul Gilbert
4f08292c8c TITANIC: Add support for arbitrary window event targets
Also moved all standard game event methods to CMainGameWindow. This
will allow for the Continue Save dialog to be added in and get
events instead of the game window
2016-07-22 21:54:48 -04:00
Paul Gilbert
cc9bf88ed5 TITANIC: Major implementation of OSMovie and AVISurface classes 2016-07-15 19:27:33 -04:00
Paul Gilbert
36d60d7476 TITANIC: Added remainder of CCarry msg handlers 2016-07-10 16:10:57 -04:00
Paul Gilbert
63e2a01ecf TITANIC: Rename field in CGameState 2016-04-08 18:53:05 -04:00
Paul Gilbert
c5b73db7b9 TITANIC: Implement onIdle method for regular game updates 2016-04-08 18:49:57 -04:00
Paul Gilbert
43f183c207 TITANIC: Implement keyboard event handling 2016-03-31 23:40:30 -04:00
Paul Gilbert
83c6ebb466 TITANIC: Fix view message handling 2016-03-24 12:58:00 -04:00
Paul Gilbert
1e6a320010 TITANIC: Implementing view draw code 2016-03-21 21:51:29 -04:00
Paul Gilbert
217360d0c5 TITANIC: Add new derived Rect and Point classes 2016-03-21 20:53:49 -04:00
Paul Gilbert
dbd8ab0f1c TITANIC: Implement view change logic 2016-03-19 20:56:29 -04:00
Paul Gilbert
9565fbaeac TITANIC: Implement input translator event methods 2016-03-18 21:34:04 -04:00
Paul Gilbert
61947ef56b TITANIC: Create Event manager class 2016-03-18 20:04:54 -04:00