aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/messages/bilge_dispensor_event.cpp
AgeCommit message (Collapse)Author
2017-09-20TITANIC: DE: Adding sound translationsPaul Gilbert
2017-08-24TITANIC: Reduce header includes for titanic.hDavid Fioramonti
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-07-25TITANIC: Fix the CBilgeDispensorEvent not firingPaul Gilbert
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.
2016-08-14TITANIC: Implemented more game classesPaul Gilbert
2016-07-15TITANIC: Removed const modifier from all saveable objectsPaul Gilbert
Turns out that CGameObject::save regenerates the _movieRangeInfo list. So the const suffix can no longer be used for the entire hierarchy
2016-04-07TITANIC: Converting other message stubs to new formatPaul Gilbert
2016-03-24TITANIC: Cleanup and fixes for message hierarchyPaul Gilbert
2016-03-18TITANIC: Remove const prefix from passed messagesPaul Gilbert
Turns out that some of the messages have properties that the objects that handle them can set. For example, the CMouseDragStartMsg has a _dragItem property that an item that allows dragging will explicitly set, allowing the input handler to keep track of what was dragged.
2016-03-17TITANIC: Fixes to make message handling const, adding CEnterRoomMsg handlersPaul Gilbert
2016-03-02TITANIC: Implemented more saveable classesPaul Gilbert