Commit Graph
83118 Commits
Author SHA1 Message Date
Colin Snover cac4dfe8e4 SCI32: Add Phantasmagoria IT detection entry
Fixes Trac#10157.
2017-11-19 22:07:58 -06:00
Colin Snover 511ff64c39 SCI32: Add KQ7 1.51 FR detection entry
Fixes Trac#10301.
2017-11-19 22:07:57 -06:00
Thierry Crozat d34a97451f I18N: Regenerate translations data file 2017-11-20 05:05:04 +01:00
Colin Snover e42ade073c AUDIO: Fix uninitialized data structures in PacketizedMP3Stream
If the audio thread called to readBuffer before any packet had been
added to the stream, the state of the stream would be changed from
INIT to EOS. Later, when a packet was received, the state would go
directly from EOS to READY, skipping decoder init, leaving garbage
memory in the decoder structs and causing a crash of the decoder.

Fixes Trac#9653.
2017-11-19 20:53:02 -06:00
Colin Snover 9fc24e19f2 AUDIO: Fix data race in PacketizedMP3Stream 2017-11-19 20:53:00 -06:00
Paul Gilbert dbba22e571 XEEN: Fix display of multi-page town messages 2017-11-19 16:57:18 -05:00
Paul Gilbert fb9d813ef4 XEEN: Cleaner implementation of changing script line number 2017-11-19 15:29:51 -05:00
Paul Gilbert 0878d8f573 XEEN: Extra comments for script methods 2017-11-19 15:25:12 -05:00
Filippos Karapetis 2a8e624bfe DRASCULA: Clean up logic in enterRoom() 2017-11-19 20:50:13 +02:00
Filippos Karapetis 33cb29d558 DRASCULA: Document several updateVisible() calls 2017-11-19 20:50:12 +02:00
Colin Snover 617497d094 SCI: Fix UB shifting negative integers 2017-11-19 12:48:14 -06:00
Paul Gilbert d874208520 XEEN: Clean up script execution line changes 2017-11-19 13:31:15 -05:00
Cameron Cawley 7689fd7308 DISTS/REDHAT: Add titanic.dat to scummvm.spec.in 2017-11-19 14:50:17 +01:00
Cameron Cawley 2abbbbaa0b DEVTOOLS: Remove NSIS script from update-version.pl
The NSIS script was removed in commit 4a1f3d7
2017-11-19 14:50:17 +01:00
Cameron Cawley 2627716010 DEVTOOLS: Add RISC OS !Boot file to update-version.pl 2017-11-19 14:50:17 +01:00
Paul Gilbert 64c88d4c4f XEEN: Implement do nothing opcode 2017-11-18 20:23:37 -05:00
Paul Gilbert aa04e311f1 XEEN: Fixes for cmdTakeOrGive script opcode 2017-11-18 19:37:29 -05:00
Paul Gilbert 79f448651d XEEN: Fix number of spells per class array & constant 2017-11-18 18:16:11 -05:00
Colin Snover 9f465b4062 TESTS: Remove unnecessary heap allocation 2017-11-18 16:52:15 -06:00
Paul Gilbert 62825c5cf8 XEEN: Fix size of quest flags, rename for clarity 2017-11-18 17:32:04 -05:00
Paul Gilbert 33b76cf5d0 XEEN: Fixes for Character class 2017-11-18 16:45:41 -05:00
Eugene Sandulenko 34d19ff424 DRASCULA: Fix ego manipulation for translated versions 2017-11-18 22:42:06 +01:00
Zbyněk Schwarz bcc608ce42 I18N: Update translation (Czech)
Currently translated at 96.5% (927 of 960 strings)
2017-11-18 22:35:25 +01:00
Colin Snover 2cc79fe9c8 FULLPIPE: Fix memory leaks restoring save games 2017-11-18 22:35:12 +01:00
Colin Snover e40b4a348a FULLPIPE: Fix memory leaks of arcade keys
Fixes Trac#9657.
2017-11-18 22:35:12 +01:00
Colin Snover a5060cf378 FULLPIPE: Remove manual memory management and fix in-game save/load 2017-11-18 22:35:12 +01:00
Colin Snover d0efcb7ad5 FULLPIPE: Fix use-after-free in ModalMainMenu
Pointers to objects which are invalidated when the scene gets
unloaded may continue to be accessed if a mouse hover event is
dispatched to the ModalMainMenu.
2017-11-18 22:35:12 +01:00
Colin Snover 8808817d56 FULLPIPE: Fix memory leaks of MessageQueues when clearing GlobalMessageQueueList 2017-11-18 22:35:12 +01:00
Colin Snover 2be96457b9 FULLPIPE: Make list item ownership comments more consistent 2017-11-18 22:35:12 +01:00
Colin Snover 0cc3d8f05d FULLPIPE: Fix leaks of ExCommands loaded from an archive
Nearly every construction of an ExCommand in the engine sets flag
2 of _excFlags. It may even be that the remaining ones that don't
are themselves bugs. This flag is needed in order for an ExCommand
to be cleaned up when its parent MessageQueue is deleted.
2017-11-18 22:35:12 +01:00
Colin Snover dcf8f588c7 FULLPIPE: Remove unnecessary member array clear in destructor 2017-11-18 22:35:12 +01:00
Colin Snover bd07925134 FULLPIPE: Fix leaks of MessageQueues 2017-11-18 22:35:12 +01:00
Colin Snover 51b19e97c8 FULLPIPE: Fix memory leaks of Interactions 2017-11-18 22:35:12 +01:00
Colin Snover c9327f2985 FULLPIPE: Fix memory leaks of PreloadItems 2017-11-18 22:35:12 +01:00
Colin Snover 7323bef77b FULLPIPE: Remove manual memory management of use list 2017-11-18 22:35:12 +01:00
Colin Snover 54f8cf55ea FULLPIPE: Fix memory leaks of InventoryPoolItem 2017-11-18 22:35:12 +01:00
Colin Snover a8b635e4cd FULLPIPE: Fix leaks of DynamicPhases
I am not entirely sure this is a correct fix for these leaks;
there is still the issue of the last member of _dynamicPhases being
invalidated and not removed sometime before the destruction of
Movement. Also, some of the items in this array are not actually
owned by Movement so deleting them will cause double-frees or
use-after-frees. It may be the case that a second list should be
maintained instead containing only the objects that are created
internally within Movement. Further testing will tell for sure.
2017-11-18 22:35:12 +01:00
Colin Snover cef4d77877 FULLPIPE: Fix memory leaks of MctlItems in MctlCompound 2017-11-18 22:35:12 +01:00
Colin Snover c7b1f6b26c FULLPIPE: Clarify ownership of DynamicPhase::_exCommand 2017-11-18 22:35:12 +01:00
Colin Snover a6fc77ec65 FULLPIPE: Clarify ownership of pointer arrays in StaticANIObject 2017-11-18 22:35:12 +01:00
Colin Snover 4cc64c4139 FULLPIPE: Fix memory leaks in PictureObject, Background 2017-11-18 22:35:12 +01:00
Colin Snover a2e2569347 FULLPIPE: Use flag enum 2017-11-18 22:35:12 +01:00
Colin Snover 7232f67fe9 FULLPIPE: Fix memory leak of graph nodes and lists 2017-11-18 22:35:12 +01:00
Colin Snover a475cec2aa FULLPIPE: Remove unnecessary constructors
These appear to be default member-wise copy constructors or POD
constructors that zero all members. I suspect that quite a few
pointer-taking constructors are actually supposed to be
copy-constructors but since they don't all just do default
member-wise copies I do not feel confident in changing them without
verifying that there are not separate copy constructors in the
disassembly, and I don't have the database for this game.
2017-11-18 22:35:12 +01:00
Colin Snover 715d4bd76a FULLPIPE: Fix memory leaks, ownership issues with various point lists 2017-11-18 22:35:12 +01:00
Colin Snover 6a13592633 FULLPIPE: Disable some unused code paths 2017-11-18 22:35:12 +01:00
Colin Snover d2249a1bed FULLPIPE: Annotate ownership rule of MfcArchive::readClass 2017-11-18 22:35:12 +01:00
Colin Snover bb26bf7994 FULLPIPE: Fix memory leaks and unnecessary indirect allocations in Motion and Sc2 2017-11-18 22:35:12 +01:00
Colin Snover ca5a86e703 FULLPIPE: Fix memory leak of global message queues 2017-11-18 22:35:12 +01:00
Colin Snover c2dcb27e35 FULLPIPE: Fix memory leaks in ModalMainMenu 2017-11-18 22:35:12 +01:00