aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2017-11-21XEEN: Add a new iterator class for reading event parametersPaul Gilbert
This make things cleaner for reading in 16 and 32 bit parameters in different opcodes. Also, it solves a crash in the give/take opcode where the third mode/value pair isn't used for all sub-modes, so the code was previously reading beyond the end of the parameters
2017-11-21TSAGE: Fix loading savegames with unreferenced dynamic objectsPaul Gilbert
2017-11-21MADS: Fix crash when Rex is locked in cellPaul Gilbert
2017-11-21FULLPIPE: Fix big picture array indexingBastien Bouclet
Fixes #10322.
2017-11-20TSAGE: Fix crash on RTLColin Snover
2017-11-20TSAGE: Fix deadlocks in audio codeColin Snover
Fixes Trac#6618, Trac#6638, Trac#7011.
2017-11-20TSAGE: Fix invalid C-style casts to unrelated classesColin Snover
2017-11-20TSAGE: Remove member access of null pointerColin Snover
2017-11-20Merge pull request #1064 from csnover/tinsel-oomPaul Gilbert
TINSEL: Increase maximum number of objects
2017-11-20PRINCE: Added detection for alternative Russian versionEugene Sandulenko
2017-11-20FULLPIPE: Fix loading inventory items from savesBastien Bouclet
In C++ the function parameter evaluation order is undefined. The count property was being read first from the stream, instead of the itemId. Fixes #10324.
2017-11-19TINSEL: Increase maximum number of objectsColin Snover
This needs to be at least 374 to avoid crashes in the in-game save/load dialogues with save games using the maximum 40 letters per save game, so just round up to the next power of two (which increases memory usage by a whopping ~20KiB) to give more than enough space for long save game names. Fixes Trac#6748.
2017-11-19SCI32: Add Phantasmagoria IT detection entryColin Snover
Fixes Trac#10157.
2017-11-19SCI32: Add KQ7 1.51 FR detection entryColin Snover
Fixes Trac#10301.
2017-11-19XEEN: Fix display of multi-page town messagesPaul Gilbert
2017-11-19XEEN: Cleaner implementation of changing script line numberPaul Gilbert
2017-11-19XEEN: Extra comments for script methodsPaul Gilbert
2017-11-19DRASCULA: Clean up logic in enterRoom()Filippos Karapetis
2017-11-19DRASCULA: Document several updateVisible() callsFilippos Karapetis
2017-11-19SCI: Fix UB shifting negative integersColin Snover
2017-11-19XEEN: Clean up script execution line changesPaul Gilbert
2017-11-18XEEN: Implement do nothing opcodePaul Gilbert
2017-11-18XEEN: Fixes for cmdTakeOrGive script opcodePaul Gilbert
2017-11-18XEEN: Fix number of spells per class array & constantPaul Gilbert
2017-11-18XEEN: Fix size of quest flags, rename for clarityPaul Gilbert
2017-11-18XEEN: Fixes for Character classPaul Gilbert
2017-11-18DRASCULA: Fix ego manipulation for translated versionsEugene Sandulenko
2017-11-18FULLPIPE: Fix memory leaks restoring save gamesColin Snover
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