Commit Graph

121 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
c55e83e776 TITANIC: Remove development link left in computer screen view 2017-08-06 17:45:27 -04:00
Paul Gilbert
07e70d9896 TITANIC: Create new CMovementMsg for new movement functionality
This also moves logic for detecting which movement is associated
with given keycodes and cursors to CMovementMsg and CLinkItem,
which are better suited to contain the logic
2017-08-06 11:58:06 -04:00
Paul Gilbert
6b80c13467 TITANIC: Fix the CBilgeDispensorEvent not firing
It seems in the original CGameManager::update, and thus frameMessage,
is called at an ultra high rate, allowing the dispensor's counter to
quickly reach a trigger level. Whereas in the ScummVM implementation,
the update method is only called at most a few times per frame.

Rather than needlessly increasing the rate the update method is called,
I've refactored CBilgeDispensorEvent to not need the counter. Though
it still derives from CAutoSoundEvent so savegame loading still works.
2017-07-25 22:04:28 -04:00
Paul Gilbert
3525d5d4c9 TITANIC: Fix crash trying to restart game after returning to launcher 2017-07-18 22:09:57 -04:00
Paul Gilbert
1972fd0537 TITANIC: Don't show Access Denied on MissiveOMat after successful login 2017-07-06 08:25:14 -04:00
Paul Gilbert
7ed7e022f1 TITANIC: Fix parrot to only eat hot plain chickens 2017-07-05 18:23:23 -04:00
Paul Gilbert
deed634919 TITANIC: Renamings for nut bowl messages 2017-06-24 14:35:53 -04:00
Paul Gilbert
2d80b931b3 WORKAROUND: Stop resetting bomb code wheels when loading savegames
The original kept resetting the bomb's code wheels whenever the view
was entered, which meant reloading a savegame, you lost any progress
you'd made. Presumably this was done as a quick and dirty hack in
case anyone was stupid enough to rearm the bomb after fixing it the
first time. I've added new code that now only resets the wheels when
the bomb is initially armed, and you can now save in the bomb
closeup, and it will remember all your selections
2017-02-19 22:57:31 -05:00
Paul Gilbert
80ba4b5592 TITANIC: Renaming and cleanup for CGondolierSlider 2017-02-18 18:34:27 -05:00
Paul Gilbert
8747e59c03 TITANIC: Renaming of phonograph fields 2017-02-13 22:40:50 -05:00
Paul Gilbert
534ec946dd TITANIC: Some phonograph cleanup, fix record button 2017-02-13 21:46:12 -05:00
Paul Gilbert
487d1a552f TITANIC: Renamings for SuccUBus & hose, minor fixes 2017-01-22 10:05:52 -05:00
Paul Gilbert
3e2f084b41 TITANIC: Rename light fields to more closely match original 2017-01-16 11:36:44 -05:00
Paul Gilbert
953e4e6d21 TITANIC: Renamings for light switches 2017-01-16 09:55:00 -05:00
Paul Gilbert
977a4a5df1 TITANIC: Further fixes and cleanup for MissiveOMat login 2016-12-31 05:21:19 -05:00
Paul Gilbert
2d3d45002b TITANIC: Better names for CEditControlMsg mode enum 2016-12-31 03:47:14 -05:00
Paul Gilbert
4029f32833 TITANIC: Convert CEditControlMsg _mode to an enum 2016-12-31 03:15:38 -05:00
Paul Gilbert
65a2e906a8 TITANIC: Fix panning away from parrot cage 2016-12-20 20:50:39 -05:00
Paul Gilbert
7519b368f5 TITANIC: Fix dragging magazine to inventory 2016-12-02 19:28:31 -05:00
Paul Gilbert
475289f35a TITANIC: Renamings and clarifications for mail methods 2016-12-01 20:22:37 -05:00
Paul Gilbert
23af9d1a3c TITANIC: Load more text strings from data file 2016-11-11 15:24:53 -05:00
Paul Gilbert
0f4ca41dad TITANIC: Add support for mouse wheel scrolling conversations log 2016-11-01 22:30:21 -04:00
Paul Gilbert
96153644e6 TITANIC: Cleanup of CServiceElevatorWIndow class 2016-10-30 08:10:36 -04:00
Eugene Sandulenko
dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Paul Gilbert
b4beb09c94 TITANIC: Fix updating mixer during cutscenes, ending NPC speech 2016-09-03 17:31:37 -04:00
Paul Gilbert
6e5072e1b2 TITANIC: Figured out sound durations for speeches & SFX 2016-09-02 20:10:48 -04:00
Paul Gilbert
4933b59e8e TITANIC: Implemented remaining game classes 2016-08-28 14:39:59 -04:00
Paul Gilbert
56c2ef9efc TITANIC: Implemented more game classes 2016-08-28 11:29:23 -04:00
Paul Gilbert
8f29f067a4 TITANIC: Implemented more game classes 2016-08-27 22:51:33 -04:00
Paul Gilbert
311006c84c TITANIC: Implemented restaurant related game classes 2016-08-27 18:29:16 -04:00
Paul Gilbert
40ec26b343 TITANIC: Implemented phonograph classes 2016-08-27 11:15:23 -04:00
Paul Gilbert
795cdb6365 TITANIC: Implemented PET game classes 2016-08-27 07:50:19 -04:00
Paul Gilbert
9968111810 TITANIC: Implemented other parrot related game classes 2016-08-26 22:15:58 -04:00
Paul Gilbert
9a71c9166b TITANIC: Implemented more game classes and music widget classes 2016-08-25 22:13:04 -04:00
Paul Gilbert
e81e3aefde TITANIC: Implemented CMissiveOMat class 2016-08-24 21:20:03 -04:00
Paul Gilbert
3a20dca0cb TITANIC: Implemented more game classes 2016-08-23 21:46:04 -04:00
Paul Gilbert
8b3829549a TITANIC: Cleanup of engine references 2016-08-22 20:22:41 -04:00
Paul Gilbert
e7d0047b53 TITANIC: Implemented more game classes 2016-08-21 21:41:48 -04:00
Paul Gilbert
449d8a02e0 TITANIC: Implemented CEditControl class 2016-08-19 22:05:15 -04:00
Paul Gilbert
cd8415cfd6 TITANIC: Implementing game classes 2016-08-18 23:52:58 -04:00
Paul Gilbert
912b3b15d2 TITANIC: Implemented CChevPanel class 2016-08-17 23:56:20 -04:00
Paul Gilbert
69083ae71f TITANIC: Finished CChevCode class 2016-08-17 23:13:20 -04:00
Paul Gilbert
bf5835b0dc TITANIC: Implementing game logic classes 2016-08-17 22:15:05 -04:00
Paul Gilbert
33e4afedde TITANIC: Implemented CHeadPiece and ear classes 2016-08-15 22:31:33 -04:00
Paul Gilbert
e54dc36035 TITANIC: Implemented CParrotSuccUBus class 2016-08-15 19:09:03 -04:00
Paul Gilbert
440f092757 TITANIC: Implemented more game classes 2016-08-14 22:19:06 -04:00
Paul Gilbert
6c3fdca97b TITANIC: Finished CParrot class 2016-08-14 08:55:37 -04:00
Paul Gilbert
e5c100cf9c TITANIC: Implemented CBellBot class 2016-08-13 18:29:12 -04:00
Paul Gilbert
786f2ca448 TITANIC: Implementing CBarbot game object class 2016-08-13 15:09:57 -04:00