Commit Graph

83107 Commits

Author SHA1 Message Date
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
Colin Snover
e2367f3ed2 FULLPIPE: Remove unnecessary and unsafe C-style casts 2017-11-18 22:35:12 +01:00
Colin Snover
39ea2f66ac FULLPIPE: Fix deleted queue leaks & clarify flags 2017-11-18 22:35:12 +01:00
Colin Snover
073692fd52 FULLPIPE: Reduce chance of Scene leaks, remove unused SceneTag member 2017-11-18 22:35:12 +01:00
Colin Snover
0e28f2be47 FULLPIPE: Remove unused gap data from EntranceInfo 2017-11-18 22:35:12 +01:00
Colin Snover
d07e9a0cf1 FULLPIPE: Fix memory leaks and ownership problems with Behavior objects 2017-11-18 22:35:12 +01:00
Colin Snover
384d68b679 FULLPIPE: Correctly fix Bitmap leaks 2017-11-18 22:35:12 +01:00
Colin Snover
7c66ffe5c8 FULLPIPE: Fix memory leak of MGMItem 2017-11-18 22:35:12 +01:00
Colin Snover
14a6ff0810 FULLPIPE: Fix memory leaks of MovTable and remove unnecessary extra class 2017-11-18 22:35:12 +01:00
Colin Snover
7514c5289b FULLPIPE: Remove manual memory management of streams 2017-11-18 22:35:12 +01:00
Colin Snover
b90f21597a FULLPIPE: Use bool literals instead of ints for bool properties 2017-11-18 22:35:12 +01:00
Colin Snover
350ddcee10 FULLPIPE: Take references instead of pointers for required arguments in statics, remove unnecessary Picture allocation 2017-11-18 22:35:12 +01:00