Commit Graph
9 Commits
Author SHA1 Message Date
Paul Gilbert a929c5aabc TITANIC: Add further strings to create_titanic tool 2017-08-26 11:13:34 -04:00
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 d0d00f6beb TITANIC: Rename CPetText to CTextControl
The class is used in several areas outside of the PET, so it makes
better sense to not have it in the pet_control/ folder and named so
2017-01-01 05:24:31 -05:00
Eugene Sandulenko dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Paul Gilbert 8eaf094bf5 TITANIC: Move text messages to DAT file 2016-09-10 23:16:15 -04:00
Paul Gilbert 03b45f44df TITANIC: Workaround for original using destroyed objects after save load
The original loads savegames by loading a new project hierarchy and then
deleting and replacing the existing one. This means that objects in the
original project, such as the PET control, are destroyed, leaving the
remainder of the PET code that called load operating on destroyed objects.

This workaround instead flags for a load to be done, and adds new code in
the game manager to take care of it. This way, the remainder of the PET
event handling can finish first, and it will be then safe to destroy the
original game project (including PET) and load the new savegame.
2016-07-22 13:28:32 -04:00
Paul Gilbert 41a3c83bc6 TITANIC: Fleshing out PET RealLife Load functionality 2016-07-22 12:44:14 -04:00
Paul Gilbert b398a5001b TITANIC: Implementing CPetLoad and CPetSave 2016-07-10 16:11:38 -04:00
Paul Gilbert 42206332d0 TITANIC: Adding new class stubs for PET Real Life btns & elements 2016-07-10 16:11:30 -04:00