Commit graph

8 commits

Author SHA1 Message Date
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
6a9923ec07 TITANIC: Implemented some game object classes 2016-08-12 23:53:18 -04:00
Paul Gilbert
4d79ee16c0 TITANIC: Add semicolon after CLASSDEF macro usage 2016-07-24 20:30:56 -04:00
Paul Gilbert
5ccc0a66da TITANIC: Removed const modifier from all saveable objects
Turns out that CGameObject::save regenerates the _movieRangeInfo list.
So the const suffix can no longer be used for the entire hierarchy
2016-07-15 19:25:58 -04:00
Paul Gilbert
7375394b81 TITANIC: Converting saveable objects hierarchy to have type data
This is necessary for at least message sending, and probably other
areas, that needs to be able to pass class filtering for message
targets. And I could figure out a clean way to use the built-in RTTI
2016-03-06 19:12:49 -05:00
Paul Gilbert
3ae4e63c80 TITANIC: Implemented more saveable classes 2016-03-02 22:05:25 -05:00
Paul Gilbert
9080781b08 TITANIC: Add mouse events, cleanup of existing events 2016-02-27 23:22:38 -05:00
Paul Gilbert
c5847f5b80 TITANIC: Start of new messages sub-folder 2016-02-26 00:16:25 -05:00
Renamed from engines/titanic/core/auto_sound_event.h (Browse further)