aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2017-11-18FULLPIPE: Fix memory leaks of arcade keysColin Snover
Fixes Trac#9657.
2017-11-18FULLPIPE: Remove manual memory management and fix in-game save/loadColin Snover
2017-11-18FULLPIPE: Fix use-after-free in ModalMainMenuColin Snover
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-18FULLPIPE: Fix memory leaks of MessageQueues when clearing GlobalMessageQueueListColin Snover
2017-11-18FULLPIPE: Make list item ownership comments more consistentColin Snover
2017-11-18FULLPIPE: Fix leaks of ExCommands loaded from an archiveColin Snover
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-18FULLPIPE: Remove unnecessary member array clear in destructorColin Snover
2017-11-18FULLPIPE: Fix leaks of MessageQueuesColin Snover
2017-11-18FULLPIPE: Fix memory leaks of InteractionsColin Snover
2017-11-18FULLPIPE: Fix memory leaks of PreloadItemsColin Snover
2017-11-18FULLPIPE: Remove manual memory management of use listColin Snover
2017-11-18FULLPIPE: Fix memory leaks of InventoryPoolItemColin Snover
2017-11-18FULLPIPE: Fix leaks of DynamicPhasesColin Snover
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-18FULLPIPE: Fix memory leaks of MctlItems in MctlCompoundColin Snover
2017-11-18FULLPIPE: Clarify ownership of DynamicPhase::_exCommandColin Snover
2017-11-18FULLPIPE: Clarify ownership of pointer arrays in StaticANIObjectColin Snover
2017-11-18FULLPIPE: Fix memory leaks in PictureObject, BackgroundColin Snover
2017-11-18FULLPIPE: Use flag enumColin Snover
2017-11-18FULLPIPE: Fix memory leak of graph nodes and listsColin Snover
2017-11-18FULLPIPE: Remove unnecessary constructorsColin Snover
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-18FULLPIPE: Fix memory leaks, ownership issues with various point listsColin Snover
2017-11-18FULLPIPE: Disable some unused code pathsColin Snover
2017-11-18FULLPIPE: Annotate ownership rule of MfcArchive::readClassColin Snover
2017-11-18FULLPIPE: Fix memory leaks and unnecessary indirect allocations in Motion ↵Colin Snover
and Sc2
2017-11-18FULLPIPE: Fix memory leak of global message queuesColin Snover
2017-11-18FULLPIPE: Fix memory leaks in ModalMainMenuColin Snover
2017-11-18FULLPIPE: Remove unnecessary and unsafe C-style castsColin Snover
2017-11-18FULLPIPE: Fix deleted queue leaks & clarify flagsColin Snover
2017-11-18FULLPIPE: Reduce chance of Scene leaks, remove unused SceneTag memberColin Snover
2017-11-18FULLPIPE: Remove unused gap data from EntranceInfoColin Snover
2017-11-18FULLPIPE: Fix memory leaks and ownership problems with Behavior objectsColin Snover
2017-11-18FULLPIPE: Correctly fix Bitmap leaksColin Snover
2017-11-18FULLPIPE: Fix memory leak of MGMItemColin Snover
2017-11-18FULLPIPE: Fix memory leaks of MovTable and remove unnecessary extra classColin Snover
2017-11-18FULLPIPE: Remove manual memory management of streamsColin Snover
2017-11-18FULLPIPE: Use bool literals instead of ints for bool propertiesColin Snover
2017-11-18FULLPIPE: Take references instead of pointers for required arguments in ↵Colin Snover
statics, remove unnecessary Picture allocation
2017-11-18FULLPIPE: Remove memory leaks and manual memory management in SceneColin Snover
2017-11-18FULLPIPE: Fix memory leaks of SceneTagColin Snover
2017-11-18FULLPIPE: Remove unnecessary and illegal C-style castsColin Snover
2017-11-18FULLPIPE: Fix memory leak of save game thumbnailColin Snover
2017-11-18FULLPIPE: Fix leaks and unnecessary extra allocations in FullpipeEngineColin Snover
2017-11-18FULLPIPE: Fix memory leak & unnecessary heap allocation of RectsColin Snover
2017-11-18FULLPIPE: Fix memory leaks of inventory icons and itemsColin Snover
2017-11-18FULLPIPE: Fix memory leaks in ModalVideoPlayerColin Snover
2017-11-18FULLPIPE: Handle quit/RTL events correctlyColin Snover
Fixes Trac#10316.
2017-11-18FULLPIPE: Remove unnecessary extra allocation for RNGColin Snover
2017-11-18FULLPIPE: Fix leaks of MGMSubItemColin Snover
2017-11-18FULLPIPE: Improve memory ownership in MotionColin Snover
2017-11-18FULLPIPE: Make TODO labelled so it is picked up by toolsColin Snover