aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2017-11-18FULLPIPE: Make TODO labelled so it is picked up by toolsColin Snover
2017-11-18FULLPIPE: Fix memory leaks, ownership issues, and endianness issues in ↵Colin Snover
graphics code
2017-11-18FULLPIPE: Fix whitespace errorsColin Snover
2017-11-18FULLPIPE: Make dimensions/coordinate getters pure functionsColin Snover
2017-11-18FULLPIPE: Remove illegal C-style cast to incompatible typeColin Snover
2017-11-18FULLPIPE: Improve memory safety and fix leaks in sound codeColin Snover
2017-11-18FULLPIPE: Improve memory safety and typing of NGIArchiveColin Snover
2017-11-18FULLPIPE: Fix illegal C-style cast to incompatible typeColin Snover
2017-11-18COMMON: Add limited support for custom deleters to ScopedPtrColin Snover
Custom deleters of ScopedPtr are not currently fully conforming to C++11's support for custom deleters in std::unique_ptr for the sake of simplicity of implementation. Unlike in the standard library, plain functions and lvalue references are not supported, nor may custom deleters be passed to the constructor at runtime. This can be improved in the future, if necessary, by doing what standard library implementations usually do and creating a Pair class that uses the Empty Base Optimization idiom to avoid extra storage overhead of the deleter instance when it is not needed, as in typical standard library implementations, plus some additional type traits to support the necessary metaprogramming for the different type overloads.
2017-11-18NEVERHOOD: fix musical hut crash in DR, bug #7085Ivan Avdeev
2017-11-17TITANIC: Fix compilation failure in C++11 modeColin Snover
2017-11-17SWORD25: Fix possible redefinition of FLT_EPSILONColin Snover
2017-11-17XEEN: Fix Coverity identified problemsPaul Gilbert
2017-11-17XEEN: Fix music channel loopPaul Gilbert
2017-11-16XEEN: Map and game flag fixesPaul Gilbert
2017-11-15XEEN: Fix some Coverity warningsPaul Gilbert
2017-11-15XEEN: Fix uninitialized instance field warningsPaul Gilbert
2017-11-14XEEN: Fix some Coverity warningsPaul Gilbert
2017-11-15Revert "DRASCULA: Revert range 4dbed774..1f1d8607"Filippos Karapetis
This reverts commit bf69b25e33189581848412e77624865aa55ba234. The original game had slight differences between the code for each chapter. Part of these changes was to simplify the code and unify some of these differences, particularly in the checks for clickable areas, where the code is using Common::Rects with contains() now. I have play tested the whole game with these changes, there are no visible regressions, and the game is still completable. Thus, I'm restoring the changes to the engine.
2017-11-14DRASCULA: Revert range 4dbed774..1f1d8607Willem Jan Palenstijn
This reverts 1f1d8607 DRASCULA: Merge the floor coordinates into _walkRect 1e1b6f7c DRASCULA: Rename gotoObject() to walkToPoint() and simplify it 2bf05c2a DRASCULA: Clean up room variables, and simplify some related checks Reverting due to unanswered questions about why the changes in behaviour in 2bf05c2a746065f373ac136c994714dae376cdbc are correct.
2017-11-14XEEN: Added missing initialization for new gamesPaul Gilbert
2017-11-14DRASCULA: Make remaining static texts translatableEugene Sandulenko
drascula.dat file version bumped
2017-11-13XEEN: Added giveBankInterest methodPaul Gilbert
2017-11-13XEEN: Added resetBlacksmithWares methodPaul Gilbert
2017-11-13XEEN: Fix compiler warningsPaul Gilbert
2017-11-13TITANIC: Fix switch fall throughsPaul Gilbert
2017-11-13COMPOSER: Fix the detection for the French Gregory versionBastien Bouclet
The commit message of 2739d8fa2 says this is for the French version. The language was set to English by mistake. Ref#6548
2017-11-12DREAMWEB: Use accurate memory reclamation for Ex transfersColin Snover
When the Ex memory regions are close to full, it is possible for the game to fail to purge objects and then crash with an OOM error even if it isn't actually out of memory. This patch calculates the amount of free memory truly needed when allocating to Ex memory to allow exactly the entire frame & text regions to be used, instead previously where a hard-coded amount of free space to maintain was used, which guaranteed that the entire memory region could not actually be used by the game. This change may be masking some underlying memory leak, or it may just be that near the end of the game the game naturally comes close to reaching the maximum memory region size. For the moment, I am assuming the latter. This commit also adds some assertion checks to the memory transfer functions to make sure the regions don't quietly overflow in other cases, since pickupConts performs transfers in a manner that doesn't ensure enough free memory exists for them to be successful. Fixes Trac#6820.
2017-11-12SCUMM: Fix race condition in MOD playerColin Snover
Fixes Trac#6272.
2017-11-12XEEN: Added How Much dialogPaul Gilbert
2017-11-12XEEN: Added resetYearlyBitsPaul Gilbert
2017-11-12XEEN: Added remainder of giveTakePaul Gilbert
2017-11-12SWORD25: Suppress GCC Cast Qualification Warnings.D G Turner
Since lua_pushlightuserdata and lua_touserdata operate on (void *) values, it is tricky to fix these warnings "correctly" without looking at invasive changes to a significant amount of Lua internal code. Since these pointers to consts are already being recast to drop the const qualifications, then removing the const on the underlying value declaration does not further expose this to change and stops the compiler warnings associated with this. Anyone with a better fix for this can restore the const qualifications later.
2017-11-12XEEN: Fix compiler warnings & AmigaOS errorsPaul Gilbert
2017-11-11XEEN: Added more giveTakePaul Gilbert
2017-11-11SCI32: Fix integer overflow calculating audio durationColin Snover
Due to the need to calculate the audio duration with millisecond precision from the file size, it is possible to overflow a 32-bit integer in games with long background audio loops, like RAMA, during the calculation of the duration. It is also not necessary to give some framerate here, so eliminate the unnecessary explicit Timestamp construction with the second argument.
2017-11-11XEEN: In progress implementing giveTakePaul Gilbert
2017-11-11ADL: Remove ADGF_TESTING for hires3+4Walter van Niftrik
2017-11-11DREAMWEB: Fix out-of-bounds read of frame animation dataColin Snover
The game reads until it sees 0xFF, which is not until frame 14 for some animations in the first interactive room of the game. This happened to work previously because the struct is packed so it would read into the b31.. members, but this was still technically an out-of-bounds read.
2017-11-11XEEN: Fix comparisons for script If opcodePaul Gilbert
2017-11-11XEEN: Debugger commands for gold and gemsPaul Gilbert
2017-11-11XEEN: Fix premature sound parsing endPaul Gilbert
2017-11-11DRASCULA: Merge the floor coordinates into _walkRectFilippos Karapetis
2017-11-11DRASCULA: Rename gotoObject() to walkToPoint() and simplify itFilippos Karapetis
2017-11-11DRASCULA: Clean up room variables, and simplify some related checksFilippos Karapetis
2017-11-11DRASCULA: Reduce the scope of framesWithoutActionFilippos Karapetis
2017-11-11DRASCULA: walkToObject is a boolean variableFilippos Karapetis
2017-11-11DRASCULA: Simplify the drawing code in BJ's roomFilippos Karapetis
2017-11-11DRASCULA: Remove superfluous variableFilippos Karapetis
2017-11-11DRASCULA: characterMoved and characterVisible are boolean variablesFilippos Karapetis