Commit Graph
12 Commits
Author SHA1 Message Date
Paul Gilbert 3525d5d4c9 TITANIC: Fix crash trying to restart game after returning to launcher 2017-07-18 22:09:57 -04:00
Eugene Sandulenko 605d915d90 TITANIC: Fix warnings 2016-08-01 01:19:32 +03:00
Paul Gilbert 875002daea TITANIC: Add semicolon to DECLARE_MESSAGE_MAP usage 2016-07-24 20:52:21 -04:00
Paul Gilbert c6e2f4e680 TITANIC: gcc compilation fix 2016-07-24 20:48:44 -04:00
Paul Gilbert 4d79ee16c0 TITANIC: Add semicolon after CLASSDEF macro usage 2016-07-24 20:30:56 -04:00
Paul Gilbert eb98b984fb TITANIC: Add semicolon after EMPTY_MESSAGE_MAP macro usages 2016-07-24 20:11:49 -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 123966554a TITANIC: gcc compilation fixes 2016-07-15 19:25:47 -04:00
Paul Gilbert 5c2a39e74a TITANIC: Set up empty message targets for classes without messages 2016-07-15 19:25:44 -04:00
Paul Gilbert 51df4d98d3 TITANIC: In-progress converting message handling to be more like original
I currently was using multiple inheritance to define the message classes
that a class supports, but this caused problems when, for example, a
class tested to see if an object supported CMouseMsg. The class in
question supported several mouse messages, but a standard dynamic_cast
returned nullptr for the class, since it didn't directly support it
2016-04-06 22:17:26 -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 63db0980e5 TITANIC: Rename of sub-folders for better clarity 2016-02-25 08:48:21 -05:00