Commit graph

2291 commits

Author SHA1 Message Date
Paul Gilbert
90636b367e TITANIC: Free wave files on game exit like original does 2017-09-25 19:41:46 -04:00
Paul Gilbert
f806b95eda TITANIC: DE: Properly implement CArboretumGate changes 2017-09-24 14:33:54 -04:00
Paul Gilbert
65811506f8 TITANIC: Don't launch further bot speeches when exiting game
Previously, notifying bots to the end of a speech fragment was
done in ~TTtalker. Which caused problems when in progress talkers
were freed when exiting the game with a speech was in progress,
since it would try to start the next following speech fragment.
2017-09-24 14:09:24 -04:00
Paul Gilbert
5ab826f135 TITANIC: Add some guards against using the game manager during game exit 2017-09-24 12:46:32 -04:00
Paul Gilbert
a6026fc1fc TITANIC: Fix crash if you exit the game whilst a bot is talking 2017-09-24 12:39:39 -04:00
Paul Gilbert
d9eebaf787 TITANIC: Fix leak of vocab synonyms on exit 2017-09-24 12:26:43 -04:00
Paul Gilbert
47f6c2e9b9 Merge pull request #1010 from dreammaster/debugger_params
GUI: Support double quoted debugger parameters
2017-09-24 12:18:15 -04:00
Paul Gilbert
3333432b4d TITANIC: Fix leak of movie event structures 2017-09-24 12:15:58 -04:00
Paul Gilbert
36ce79edb4 TITANIC: Fix access after free in shutdown 2017-09-24 10:55:50 -04:00
Paul Gilbert
947894ce1f TITANIC: Free any active wave files on exit 2017-09-24 10:48:04 -04:00
Paul Gilbert
b724ea6530 TITANIC: Fix compiler warnings in DeskbotScript 2017-09-24 10:34:13 -04:00
Paul Gilbert
2bc23ba6c3 TITANIC: Fix looking at broken pellerator after the first time 2017-09-24 09:46:27 -04:00
Paul Gilbert
d74e94950b TITANIC: DE: Merged German NPC script subclasses back in
There ended up not being enough custom German code in the scripts
to warrant having sub-classes that reimplemented entire methods
2017-09-23 21:18:25 -04:00
Paul Gilbert
e5cad39a58 TITANIC: DE: Updates for SuccUBusScript 2017-09-23 21:02:44 -04:00
Paul Gilbert
e9034ddffe TITANIC: DE: Added changes to MaitreDScript 2017-09-23 20:39:12 -04:00
Paul Gilbert
6f150abf15 TITANIC: DE: Added changes for LiftbotScript 2017-09-23 19:30:28 -04:00
Paul Gilbert
af71ec809b TITANIC: DE: Adding remaining DoorbotScript changes 2017-09-23 17:19:06 -04:00
Paul Gilbert
048bec6808 TITANIC: DE: Adding changes to DoorbotScript 2017-09-23 16:25:44 -04:00
Paul Gilbert
9e2d78446e TITANIC: DE: More BellbotScript changes 2017-09-22 22:31:42 -04:00
Paul Gilbert
5c6de7d2f2 TITANIC: DE: Adding new BellbotScript logic 2017-09-22 20:13:31 -04:00
Paul Gilbert
cd6927d39c TITANIC: DE: Added translations for BarbotScript::process 2017-09-22 07:41:55 -04:00
Paul Gilbert
8f6649cfb1 TITANIC: DE: Add miscellaneous missed sound translations 2017-09-21 20:27:18 -04:00
Paul Gilbert
9eb3e30fb2 TITANIC: DE: More sound translations 2017-09-21 20:06:35 -04:00
Paul Gilbert
9127f5245f TITANIC: DE: Adding sound translations 2017-09-20 22:33:18 -04:00
Paul Gilbert
32735d59e8 TITANIC: DE: Adding sound translations 2017-09-20 20:53:12 -04:00
Paul Gilbert
a7479b4f5b TITANIC: DE: Add translations for playGlobalSound calls 2017-09-20 06:43:10 -04:00
Paul Gilbert
7a184f0e7f TITANIC: DE: Add translations for loadSound calls 2017-09-20 06:28:34 -04:00
Paul Gilbert
37d0b401cb TITANIC: DE: Adding German translations 2017-09-19 22:50:39 -04:00
Paul Gilbert
00db751e7d TITANIC: DE: Sound changes for Bomb 2017-09-19 22:23:15 -04:00
Paul Gilbert
0a44b54ee2 TITANIC: Fix memory leaks on shutdown 2017-09-19 20:00:32 -04:00
Paul Gilbert
ba45fb2d60 TITANIC: Remove redundant surface ccreation from DirectDrawManager 2017-09-19 19:27:23 -04:00
Paul Gilbert
af99606db8 TITANIC: Fix identified redundant tests & assignments 2017-09-18 22:25:54 -04:00
Paul Gilbert
3d4bc3c59b TITANIC: Add missing return check in BellbotScript::process 2017-09-18 22:22:16 -04:00
Paul Gilbert
fce250372f TITANIC: Fix floor calculation in CChevCode::getChevFloorNum 2017-09-18 22:14:40 -04:00
Paul Gilbert
4cfbe02919 TTITANIC: Guard against TTstring items being self-assigned 2017-09-18 21:29:29 -04:00
Paul Gilbert
0c6b15d8d0 TITANIC: Fix regenerating CGameObject _movieRangeInfoList during saving 2017-09-18 21:26:04 -04:00
Paul Gilbert
1f1a4427f5 TITANIC: Change AVISurface _framePixels from ManagedSurface to bool 2017-09-18 21:19:06 -04:00
Paul Gilbert
0362b70225 TITANIC: Fix memory leak loading star control stars 2017-09-18 21:06:34 -04:00
Paul Gilbert
f6ef3cbc9e TITANIC: Fix memory leak on thumbnails when loading savegames 2017-09-18 21:00:39 -04:00
Paul Gilbert
31c9cca0fd TITANIC: DE: Fix ship announcements 2017-09-18 20:53:49 -04:00
Paul Gilbert
f9a86a6995 TITANIC: DE: Fixes for checking in 2017-09-18 20:17:36 -04:00
Paul Gilbert
5af8ed228d TITANIC: Add VocabMode enum, fix German vocab loading 2017-09-18 18:16:03 -04:00
Paul Gilbert
e6a1c5a9a0 TITANIC: Added German DeskbotScript process additions 2017-09-17 22:15:01 -04:00
Paul Gilbert
d48caed204 TITANIC: Add Deskbot German specific logic 2017-09-17 20:36:07 -04:00
Paul Gilbert
b033d1bbd9 TITANIC: Added German specific TTnpcScript doSentenceEntry code
I'm not entirely happy I had to put this in the base TTnpcScript
rather than somewhere in the new german/ subfolder, but I couldn't
think of any clean way to do it except nasty designs like diamond
multiple inheritance
2017-09-17 18:42:00 -04:00
Paul Gilbert
0a8167be75 TITANIC: Fix case sensitivity in header includes 2017-09-17 16:57:18 -04:00
Paul Gilbert
42b24e328a TITANIC: Add skeleton derived bot script classes for German version 2017-09-17 16:39:51 -04:00
Paul Gilbert
0b258ae16f TITANIC: Add translation.h missing from prior commit 2017-09-17 16:32:09 -04:00
Paul Gilbert
481e18ee1d TITANIC: Create a separate g_language global in it's own file
I was becoming concerned with more and more files having to add the
full engine definition and sub-classes thereof via titanic.h,
just so the TRANSLATE macro could call getLanguage. This way, files
just need to include the lightweight translation.h file instead
2017-09-17 16:24:26 -04:00
Paul Gilbert
6ef5948a06 TITANIC: German sound fixes for rest of prologue 2017-09-17 11:43:44 -04:00