aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-06-10SCI: Move printObject from console to scriptdebugWillem Jan Palenstijn
2017-06-10SCI: Add break/log/backtrace actions for triggered breakpointsWillem Jan Palenstijn
The action can be set using the new console command bp_action/bpact.
2017-06-10SCI: Add underscores to Breakpoint member variablesWillem Jan Palenstijn
2017-06-10SCI: Remove union from BreakpointWillem Jan Palenstijn
2017-06-10SCI: Move backtrace output to scriptdebug.cppWillem Jan Palenstijn
2017-06-10SCI: Handle selector read/write breakpoints from opcodesWillem Jan Palenstijn
2017-06-10SCI: Move scriptdebug declarations to separate headerWillem Jan Palenstijn
2017-06-10SCI: Fix wildcard selector breakpointsWillem Jan Palenstijn
0f9c33e02f1cb2c740c1eb0dcaad96dd22ec29e7 in 2011 broke selector breakpoints of the type "ObjName::", which previously caught all selector sends of the named object. Thanks to TMM and snover for noticing.
2017-06-10SCI: Start engine at tick 1Colin Snover
In SSCI, games could never start at tick 0 because the video benchmarking code on game startup would take several ticks to run. In ScummVM, where the benchmarking code is disabled, it becomes possible for games to start at tick 0. This can break a lot of kernel code, which uses tick 0 as a special value indicating that a feature is not active. For example, in GK2, the music at the start of the game will not fade in on systems that are fast enough to start audio playback at tick 0, since a fade start tick of 0 is used to indicate audio fade is disabled. Fixes Trac#9830.
2017-06-10ADL: Add loading of hires4 game dataWalter van Niftrik
2017-06-10SCI32: Fix uninitialized temp read in TorinColin Snover
Fixes Trac#9810.
2017-06-10SCI32: Fix uninitialized temp read in LSL6hiresColin Snover
Fixes Trac#9811.
2017-06-10I18N: Update translations templatesThierry Crozat
2017-06-09SCI: Remove some unused #includesColin Snover
2017-06-09SCI: Return the original master sound volume when mute is onColin Snover
2017-06-09SCI32: Fix audio sync recursionColin Snover
Calling to SciEngine::syncSoundSettings from GuestAdditions recurses back into GuestAdditions, which is obviously not desirable. Even when it didn't manage to cause infinite recursion (as in SQ6 demo), it would make the UI behave in broken ways (e.g. the +/- buttons on the music slider in SQ6 would not work because the UI would just get updated immediately back to the closest rounded value).
2017-06-09SCI32: Implement kLock & kDoAudio(1) for SCI32Colin Snover
1. Unlocking all resources of a type using a resource ID of -1 is gone in SCI32; 2. Audio locks need to be serialized starting in GK2 for the game's modified kDoAudio(1) call; 3. Audio locks in SCI3 must work more like SSCI, since at least Lighthouse's `BackMusic::fade` method will attempt to unlock audio that was never locked by a script. In SSCI (and now in ScummVM too) this is a no-op; previously in ScummVM, it would remove Audio32's own lock on the audio resource, resulting in a use-after-free; 4. kDoAudio(1) starting in GK2 returns the number of active *not-in-memory* channels being played, not the total number of active channels. Fixes Trac#9675.
2017-06-09SCI: Do not lock Audio36/Sync36 in kLock for SCI1.1Colin Snover
This is not known to fix any problem, but was a noted difference in the implementation between ScummVM and SSCI.
2017-06-09SCI: Lock Audio resource types when digital SFX is enabledColin Snover
This seems to have been added in SCI1.1 and continued through SCI32; older games with digital SFX (like KQ5CD) did not convert the resource type in kLock. This is not known to fix any problem, but was a noted difference in the implementation between ScummVM and SSCI.
2017-06-09SCI: Remove unnecessary conditionColin Snover
Argument count validation for kernel calls is performed through the kernel table signature, so checking here is not necessary.
2017-06-09SCI: Fix typo in commentColin Snover
2017-06-09SCI: Remove unhelpful commentColin Snover
2017-06-09SCI: Add serialization for ResourceIdColin Snover
2017-06-09SCI32: Fix include pathColin Snover
2017-06-09SCI: Get LRU from list directly, instead of from a reverse iteratorColin Snover
2017-06-09SCI: Implement Serializable for ObjectColin Snover
2017-06-09TITANIC: Fix jerkiness in end creditsPaul Gilbert
2017-06-09TITANIC: Field renamings for CCreditTextPaul Gilbert
2017-06-09TITANIC: Enable initial copyright screenPaul Gilbert
2017-06-09I18N: Update translations templatesThierry Crozat
2017-06-09GUI: Improve calculation for savegame thumbnail labelsTarek Soliman
Instead of shrinking the rect based on how many labels aren't there, expand the rect based on how many labels are there. Closes gh-958
2017-06-09GUI: Fix savegame thumbnail label layoutTarek Soliman
The Save/Load screen has a preview area with labels for date and time. The bottom label was drawing past the bottom of the rect.
2017-06-09GUI: Use dashes in default save descriptionTarek Soliman
Closes gh-956
2017-06-09ENGINES: Display savestate date as YYYY-MM-DDTarek Soliman
This avoids confusion in locales that use MM/DD/YYYY vs DD/MM/YYYY
2017-06-08COMMON: Take immutable reference in SpanOwner copy assignmentColin Snover
Thanks again to @waltervn.
2017-06-08COMMON: Make SpanOwner copy assignment make a copy of the owned SpanColin Snover
To move data from one SpanOwner to another, use `moveFrom`. Thanks @waltervn for pointing out the problem.
2017-06-08SCI32: Clarify code comment about Steam GK2 RESMAP.001Colin Snover
2017-06-08SCI32: Fix wave resource patch offsetColin Snover
This bug was only reproducible when loading a game using the multi-disc RESSFX.00x bundles. Fixes Trac#9832.
2017-06-07TITANIC: Fix color of starfield crosshairsPaul Gilbert
2017-06-07TITANIC: Rename CStarControlSub2 to CStarFieldBasePaul Gilbert
2017-06-07TITANIC: Renamings for camera mover classesPaul Gilbert
2017-06-07TITANIC: Renamings for automatic camera mover classesPaul Gilbert
2017-06-07TITANIC: Fix rotating starview when 2 markers are locked inPaul Gilbert
2017-06-06TITANIC: 2nd marker lock on now workingPaul Gilbert
2017-06-06TITANIC: Fix calculations in DVector fn1Paul Gilbert
2017-06-06TITANIC: Further fixes for locking marker 2Paul Gilbert
2017-06-05TITANIC: Rewrite of lockMarker2Paul Gilbert
2017-06-05TITANIC: Add some const prefixes to mover proc2Paul Gilbert
2017-06-04TITANIC: Simplifications in lockMarker2Paul Gilbert
2017-06-04TITANIC: Simplify DVector fn1Paul Gilbert