aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-27SCI32: Remove dead codeColin Snover
2017-05-27SCI32: Remove invalid interaction cursor spinloop in KQ7Colin Snover
2017-05-27TITANIC: Rename _powers array to _speedsPaul Gilbert
2017-05-27SCI32: Update some old comments related to virtual filesFilippos Karapetis
2017-05-27SCI: Remove a leftover SCI32 hackFilippos Karapetis
2017-05-27GRAPHICS: Include bytesPerPixel in toString representationVincent Pelletier
2017-05-26TITANIC: Fix calculation of acceleration powers tablePaul Gilbert
2017-05-26TITANIC: Simplify FVector addAndNormalizePaul Gilbert
2017-05-26TITANIC: Fix orientation threshold check in CStarControlSub24Paul Gilbert
2017-05-26SCI32: Fix warningWillem Jan Palenstijn
2017-05-26SCI32: Fix kArrayFillHein-Pieter van Braam
The ScummVM implementation of class SciArray::fill() has a bug where it will overwrite the array[index] with the value count times, rather than fill the array starting from index count times. This patch fixes that behavior. This was noticed because the LSL7 dice game was broken, it was impossible to lose. After this patch the dice game works as expected. Closes gh-953.
2017-05-25TITANIC: Fix calculating orientation transition matrixesPaul Gilbert
2017-05-25SCI32: Fix SCI3 object names > 0xFFFFColin Snover
2017-05-24SCI32: Fix typo in script patch nameMartin Kiewitz
2017-05-24SCI32: Add script patch for lsl7 cheese maker priority bugMartin Kiewitz
This issue also happens when using the original interpreter.
2017-05-24SCI32: Add script patch for cheese maker issueMartin Kiewitz
Room 540, was game breaking, but effectively a script bug, that just happened to work in SSCI.
2017-05-24I18N: Update translations templatesThierry Crozat
2017-05-23SCI32: Add 'music/' subdir to file path for LSL7 GOGHein-Pieter van Braam
LSL7 originally came with music in two qualities in subdirectories of the 'music' directory, 22s8 and 22s16. The gog.com release doesn't do this and only ships the hq music in the root of 'music/'. This PR adds it to the search path. Closes gh-951.
2017-05-23SCI32: Fix selector search for SCI2/2.1 games with missing vocab.997Colin Snover
Fixes Trac#9796.
2017-05-23TITANIC: Rename DMatrix fn3 to loadTransformPaul Gilbert
2017-05-23TITANIC: Fix result of CMatrixTransform fn5 methodPaul Gilbert
2017-05-22TITANIC: Renamed CStarControlSub26 to CMatrixTransformPaul Gilbert
2017-05-22I18N: Update translation (German)Lothar Serra Mari
Currently translated at 100.0% (957 of 957 strings)
2017-05-22I18N: Update translation (Dutch)Ben Castricum
Currently translated at 100.0% (957 of 957 strings)
2017-05-21TITANIC: Further renamings for orientation changer usePaul Gilbert
2017-05-22I18N: Regenerate translations data fileThierry Crozat
2017-05-21TITANIC: Rename transition percent fields in Starfield classesPaul Gilbert
2017-05-21TITANIC: Rename Sub25 class to COrientationChanger, fixes & cleanupPaul Gilbert
2017-05-21SCI32: Fix return value of kWebConnectColin Snover
On macOS, the return code from OSystem::openUrl was the opposite of what it was supposed to be; it is now fixed, so this caller needs to be fixed too.
2017-05-21MACOSX: Fix flipped return value of openUrlColin Snover
2017-05-21I18N: Update translations templatesThierry Crozat
2017-05-21I18N: Update translation (German)Lothar Serra Mari
Currently translated at 99.8% (956 of 957 strings)
2017-05-21I18N: Update translation (Finnish)Timo Mikkolainen
Currently translated at 100.0% (957 of 957 strings)
2017-05-21BACKENDS: Compress screenshots using PNG if availableColin Snover
Closes gh-948.
2017-05-21I18N: Update translation (Italian)Paolo Bossi
Currently translated at 100.0% (957 of 957 strings)
2017-05-20SCI: Add resource hash to resource_info debugger commandColin Snover
Bad resources that need to be blacklisted sometimes seem to have the same size as good resources. In such cases, the bad resources can be identified by hash instead. Adding a hash output to resource_info will make it easy for users to provide the hash of questionable resources inside of resource bundles that we do not have access to. Refs Trac#9797.
2017-05-21I18N: Update translations templatesThierry Crozat
2017-05-20SCI: Stop leaking locals segments during script reuseColin Snover
When a game deletes a script and then loads the same script again before it has been fully deallocated, SegManager::instantiateScript tries to reuse the same script & locals segments, but it was failing to reuse the old locals segment because Script::freeScript would unconditionally clear the old locals SegmentId, which meant the old locals segment would just leak. This patch does not fix old save games which may contain orphaned locals segments, but should prevent the problem from occurring going forward. (It is possible to clean up these old save games, but this is not a big leak so it doesn't seem worth the extra effort to do so.)
2017-05-20SCI: Fix warning about missing base object when loading save gamesColin Snover
This situation occurs rarely, but normally, when unreachable but not yet GC'd objects use a superclass which has already been GC'd. Thanks to @wjp for looking at this with me and clarifying what was going on.
2017-05-20SCI: Minor punctuation fix in buggy script alertColin Snover
2017-05-20SCI: Find and store the original static names of objectsColin Snover
See code comment in Object::init for more details. Fixes Trac#9780.
2017-05-20SCI: Refactor relocation codeColin Snover
This groundwork enables an object to look up its static name separately from the normal process that is used to populate Object::_variables when an object is first constructed. (The static name property needs to be able to be retrieved from objects inside of earlier save games whose name properties may have already been modified at runtime, so the code cannot simply pluck the value out of Object::_variables when they are first initialised and then persisted into the save game, as nice and easy as that would have been.) This commit also helps to clarify the situation with relocation tables in SCI1 games that start with a zero entry. Refs Trac#9780.
2017-05-20SCI32: Remove bad assertion in relocateSci3Colin Snover
While extremely rare (only Rama script 64948 seems to have this profile), it *is* possible for an object to have zero properties (and thus, zero property offsets).
2017-05-20SCI: Nitpicky cleanup of some magic numbers and what-not-why commentsColin Snover
2017-05-20SCI: Remove duplicate relocateBlock functionColin Snover
2017-05-20SCI: Always use SegManager::getObjectName to get object namesColin Snover
This ensures that all object name reading code works the same and is in one place in the codebase.
2017-05-20SCI: Stop making copies of ObjMap and remove related dead codeColin Snover
ObjMap owns Objects, so every time this map gets copied instead of referenced, it creates a copy of every single object in the associated script. This is expensive, and it breaks things like the `Object::syncBaseObject` call in savegame.cpp, which hasn't actually been doing anything since 58190c36b4cc84b3200239211d91b0291301db56 because it has been operating on copies.
2017-05-20SCI: Add more support for >16-bit SCI3 offsetsColin Snover
Basically just grepped for getOffset calls being assigned to uint16s and expanded those to uint32 when they looked trivial. While some of these changes seem superfluous, at least for the US/English SCI3 games where potentially impacted game scripts are not large enough to have a problem with 16-bit offsets (e.g. when feature detecting the sound type), at least some of these changes are necessary for correct operation of the find_callk debugger command in SCI3 games. There should not be a reason why any of these variables need to be kept as uint16, in any case.
2017-05-20SCI32: Fix kPlatform operation for SCI2 through SCI2.1earlyColin Snover
Fixes Trac#9795.
2017-05-20SCI: Ignore patch resources with .DOS and .WIN extensionsColin Snover
Type mismatch is triggered on THEGUIDE.DOS and THEGUIDE.WIN from at least Phant1 French 1.100.000.