61 Commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Torbjörn Andersson
b09968768a TITANIC: Make Esc at the start-up dialog quit the game
I.e. the dialog you get if you have saved games, where the game asks you
if you want to load or start a new game. Before, it would just make the
dialog unresponsive if you pressed Esc.
2021-06-11 08:18:49 +02:00
Paul Gilbert
7f90c4e961 TITANIC: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Paul Gilbert
0186bbae31 TITANIC: Use Engine save/load dialog methods 2020-02-04 19:05:26 -08:00
Paul Gilbert
36ce79edb4 TITANIC: Fix access after free in shutdown 2017-09-24 10:55:50 -04:00
Paul Gilbert
0a44b54ee2 TITANIC: Fix memory leaks on shutdown 2017-09-19 20:00:32 -04:00
Paul Gilbert
aa3adfb4b1 TITANIC: Allow GMM loading from the copyright and continue dialog 2017-09-05 23:01:12 -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
8e35f77e2d TITANIC: Implement F5 & F7 Saving and Loading 2017-08-18 21:53:57 -04:00
Paul Gilbert
388420c84a TITANIC: Ignore Ctrl+C key until actually in-game 2017-08-10 20:03:03 -04:00
Paul Gilbert
aef786fcc3 TITANIC: Hook in the original game's secret cheat room
You can either use a special Ctrl-C key combination, or use the
'cheat' command in the debugger
2017-08-07 21:10:24 -04:00
David Fioramonti
eb05082617 TITANIC: Allow last saved game to be loaded 2017-08-03 16:14:20 -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
690c792c8c TITANIC: Redraw screen after using PET to load a savegame 2017-07-26 20:07:55 -04:00
Bastien Bouclet
bc952807ec TITANIC: Adjust the switch/case fall-through comments
This way, GCC 7 does not generate a warning for those cases when
-Wimplicit-fallthrough=3 is enabled, which is now the default.
2017-07-23 11:12:12 +02:00
Paul Gilbert
deed634919 TITANIC: Renamings for nut bowl messages 2017-06-24 14:35:53 -04:00
Paul Gilbert
f827e27bfb TITANIC: Fix crash clicking mouse when copyright dialog is showing 2017-06-18 15:49:19 -04:00
Paul Gilbert
1342a45321 TITANIC: Enable initial copyright screen 2017-06-09 19:40:35 -04:00
Paul Gilbert
61db7190a3 TITANIC: Clarify dirty rect methods in CGameManager 2017-01-14 18:19:12 -05:00
Paul Gilbert
afb4b6227a TITANIC: Fixes for freeing project and engine objects on exit 2016-11-15 21:04:30 -05:00
Paul Gilbert
806e5827f1 TITANIC: Fix spurious drag starts happening after view changes 2016-11-08 20:11:11 -05:00
Paul Gilbert
f11033df65 TITANIC: Fix drawing screen after loading game using in-game PET 2016-11-07 21:56:03 -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
Eugene Sandulenko
dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Paul Gilbert
e143d5ef48 TITANIC: Further code cleanup, identified game mode 5 2016-08-29 20:55:04 -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
386761f340 TITANIC: Added skeleton QMixer class for mixer interface 2016-08-05 13:11:12 -04:00
Paul Gilbert
d979dcd020 TITANIC: Fixes for movie notification, computer game logic cleanup 2016-07-23 17:21:38 -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
0820c3ffae TITANIC: Refactor CTitleEngine to use CFilesManager for PE resources 2016-07-10 16:39:01 -04:00
Paul Gilbert
8e5f7a9453 TITANIC: Fix stopping movies 2016-07-10 16:10:50 -04:00
Paul Gilbert
5923ee5001 TITANIC: Implement CPetFrame::setArea 2016-03-31 22:31:13 -04:00
Paul Gilbert
fe79317bde TITANIC: Beginnings of PET drawing 2016-03-29 22:57:22 -04:00
Paul Gilbert
42208769f7 TITANIC: Enable drawing of view contents 2016-03-22 22:39:37 -04:00
Paul Gilbert
06bd62fed4 TITANIC: First scene starting to be displayed 2016-03-22 21:54:26 -04:00
Paul Gilbert
b7746eff42 TITANIC: Implement method for rendering view contents 2016-03-21 22:44:55 -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
4704d72d6a TITANIC: Implementing view item message handling 2016-03-19 18:19:45 -04:00
Paul Gilbert
d86941f8c6 TITANIC: Implement preEnterView and enterView 2016-03-19 11:03:03 -04:00
Paul Gilbert
abb9a549c8 TITANIC: Enable event handlng 2016-03-18 23:36:54 -04:00
Paul Gilbert
9565fbaeac TITANIC: Implement input translator event methods 2016-03-18 21:34:04 -04:00
Paul Gilbert
8ec499c177 TITANIC: Implementing setActiveView, surface clearing 2016-03-16 19:05:16 -04:00
Paul Gilbert
eaead0c6ae TITANIC: Starting to implement game view loading 2016-03-16 07:56:26 -04:00
Paul Gilbert
6a26539abb TITANIC: Fleshing out resource key and view loading 2016-03-15 23:49:18 -04:00
Paul Gilbert
3c29a10130 TITANIC: Further graphics setup, beginnings of files manager 2016-03-14 23:09:57 -04:00