Commit Graph

26 Commits

Author SHA1 Message Date
Paul Gilbert
77b904ef8d TITANIC: Fix struct vs class forward declaration warning 2017-08-25 20:48:55 -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
4fee9a492e TITANIC: Remap right mouse click to be a left click with Shift held.
This was a suggestion by dafioram; holding down Shift allows you
to skip scene transitions and edit the fragments of room glyphs.
Now with this remapping, you can alternatively just use right clicks.
2017-07-30 11:39:40 -04:00
Paul Gilbert
1342a45321 TITANIC: Enable initial copyright screen 2017-06-09 19:40:35 -04:00
Paul Gilbert
806e5827f1 TITANIC: Fix spurious drag starts happening after view changes 2016-11-08 20:11:11 -05:00
Paul Gilbert
0f4ca41dad TITANIC: Add support for mouse wheel scrolling conversations log 2016-11-01 22:30:21 -04:00
Paul Gilbert
22126a90d0 TITANIC: Implement manual mouse control used during intro 2016-10-31 08:25:22 -04:00
Paul Gilbert
9e437d46a8 TITANIC: Cleanup of CPetInventory, removal of unused fields 2016-09-02 22:44:34 -04:00
Paul Gilbert
6b5e6a05ab TITANIC: Fix the isSpecialPressed method 2016-08-31 21:03:19 -04:00
Paul Gilbert
400d8308c2 TITANIC: Implement display of initial copyright screen
I've left it disabled for now, whilst the engine is still being worked on
2016-08-28 19:34:15 -04:00
Paul Gilbert
21e4d6686f TITANIC: Beginnings of Continue Save dialog 2016-07-22 21:56:16 -04:00
Paul Gilbert
4f08292c8c TITANIC: Add support for arbitrary window event targets
Also moved all standard game event methods to CMainGameWindow. This
will allow for the Continue Save dialog to be added in and get
events instead of the game window
2016-07-22 21:54:48 -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
1efbed5409 TITANIC: Move most of the root classes into new support/ folder 2016-04-03 16:16:35 -04:00
Paul Gilbert
217360d0c5 TITANIC: Add new derived Rect and Point classes 2016-03-21 20:53:49 -04:00
Paul Gilbert
fbc46ed5b4 TITANIC: Starting on frame rendering 2016-03-20 17:29:58 -04:00
Paul Gilbert
ea54e6244e TITANIC: Fixes/renames for files manager 2016-03-20 00:01:40 -04:00
Paul Gilbert
9565fbaeac TITANIC: Implement input translator event methods 2016-03-18 21:34:04 -04:00
Paul Gilbert
6a26539abb TITANIC: Fleshing out resource key and view loading 2016-03-15 23:49:18 -04:00
Paul Gilbert
c92bf22f03 TITANIC: Changed CGameStateSub to CGameLocation, properly implemented it 2016-03-13 15:07:27 -04:00
Paul Gilbert
bad72e2ae4 TITANIC: Implement various post-load methods 2016-03-12 19:23:00 -05:00
Paul Gilbert
63db0980e5 TITANIC: Rename of sub-folders for better clarity 2016-02-25 08:48:21 -05:00
Paul Gilbert
572fc8fc9e TITANIC: Implemented bulk of applicationStarting 2016-02-22 20:43:14 -05:00
Paul Gilbert
bc7bc8ab34 TITANIC: Class stubs and beginnings of CSaveableObject hierarchy 2016-02-07 16:22:16 -05:00
Paul Gilbert
ab28f87143 TITANIC: Beginnings of Image class 2016-02-05 23:39:27 -05:00
Paul Gilbert
08be41ac52 TITANIC: Added skeleton CMainGameWindow class 2016-02-05 22:11:02 -05:00