aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2016-05-28SCI32: Remove invalid TODO about CLUT for 16-bit graphicsColin Snover
The CLUT for 16-bit graphics is not saved in SSCI (nor is it normally even part of the palette manager).
2016-05-28SCI: Remove warning in kDisposeScriptColin Snover
The two-argument implementation is correct and works properly.
2016-05-28SCI32: Provide default value for vmap minDiffIndexColin Snover
SSCI did not initialise minDiffIndex and would always flow into the condition that sets it, but some compilers complain that the value may be used uninitialised, so we will just set it to map back to its original palette index by default.
2016-05-28SCI32: Simplify default text width equationColin Snover
2016-05-28SCI: Explicit type conversion. Avoids warnings on number of compilers.Eugene Sandulenko
2016-05-28SCI: Fix warningEugene Sandulenko
2016-05-28SCI32: Remove unused titled text bitmap codeColin Snover
Titled text bitmaps do not appear to be used by any game scripts. They seem to only be used by the error manager in SSCI, but ScummVM has its own error handling, so we don’t need this implementation.
2016-05-27SCI32: Add explicit checks for null pointersColin Snover
CID 1351617, 1351618, 1351619, 1351620, 1351621, 1351622, 1354791.
2016-05-27SCI32: Initialise pointers in CelObj scalerColin Snover
This ensures that if there is a bug in the drawing code that causes the row to be unset, it will not result in silently reading garbage out of random memory. CID 1354802
2016-05-27SCI32: Fix CelObj cacheColin Snover
The previous implementation did not work properly, assigning the next insertion index to the oldest object instead of filling empty cache slots on a cache miss.
2016-05-27SCI32: Use better name for fixed priority fieldColin Snover
The old name matches the selector, but isn’t as clear.
2016-05-26SCI32: Remove unused Plane fieldsColin Snover
These fields were written and never read in SSCI.
2016-05-25SCI32: Fix assertion failures in LSL6 hires caused by bad rectsColin Snover
LSL6 hires sends rectangles to kernel calls that have negative dimensions. SSCI did not care about this and would simply accept these invalid rects, so we do the same, at least for now.
2016-05-25SCI32: Update header parameters with const, to match implementationColin Snover
2016-05-25SCI32: Fix LSL6 hires control panel script bugColin Snover
The control panel initialisation script makes an invalid two-argument call to get the width of the settings dial; this only happens to work because the third argument on the stack was set to zero by an earlier call.
2016-05-25SCI: Allow debugging output of all VM variables in one shotColin Snover
2016-05-22SCI: Script patch for fixing 3 missing points in QfG3Omer Mor
The hero is unable to tell Rakeesh and Kreesha about the Simabani initiation, which would award him 3 points. This is caused by a heap bug in room 285: the local array of possible messages omits this message. The patch fixes the bug by adding this message to the array. Fixes bug #7086
2016-05-17ALL: Change main engine header guard defines to <directory>_<engine>_HEugene Sandulenko
Recently we started to use this as new semantics, although in the past we used simly <engine>_H. Now these guard defines are consistent with rest of the files which are used in the engines.
2016-05-16SCI: Removing redundant virtual destructor as per LordHoto's suggestionEugene Sandulenko
2016-05-16SCI: Make the Window destructor actually virtualEugene Sandulenko
2016-05-16SCI: Add virtual destructorEugene Sandulenko
2016-05-10Merge pull request #753 from OmerMor/atariEugene Sandulenko
SCI: Added several Atari ST games.
2016-04-17SCI: Fix spellingEugene Sandulenko
2016-04-16SCI: Added several Atari ST games.Omer Mor
2016-04-15SCI: Add Russian translate of Torin's Passage (Windows version)CrazyMax
2016-04-14JANITORIAL: Reduce audio header dependenciesOri Avtalion
2016-04-14JANITORIAL: Reduce GUI header dependenciesOri Avtalion
2016-04-13SCI: Added the Atari ST version of Codename: IcemanOmer Mor
2016-04-06SCI: Fix compilation for C++98.Johannes Schickel
2016-03-25SCI: Remove commented out code line.Johannes Schickel
2016-03-25SCI: Use aggregation to store objects in SegmentObjTable.Johannes Schickel
This allows to store pointers and fundamental types in a SegmentObjTable.
2016-03-25SCI: Introduce accessors for SegmentObjTable entries.Johannes Schickel
This makes code not use _table directly whenever possible. An exception is the save game code which is not easy to adapt due to design deficiencies.
2016-03-25SCI: Get rid of template hack for serialization.Johannes Schickel
The former template hack relied on specialized functions for various types. We use a hand crafted set of functions for serialization functionality now.
2016-03-21Merge pull request #704 from lordhoto/clone2727-audiocdJohannes Schickel
Implement Custom Audio CD Support for Win32, Linux, and Mac OS X.
2016-03-21SCI32: Add censorship info to Phantasmagoria 2 detection entriesMartin Kiewitz
+ add info that 001.0.06 is the US release + cleanup
2016-03-20SCI32: Clean up outdated/wrong commentsColin Snover
2016-03-20SCI32: Return correct value from kSetFontHeightColin Snover
2016-03-20SCI32: Do not change accumulator in non-returning kernel callsColin Snover
This did not cause any known bugs, but is wrong according to the way the actual engine works.
2016-03-20SCI32: Use signed values for displacement positionColin Snover
2016-03-20SCI32: Mark KQ7 1.51 Windows only detection entries actually as Windows.Johannes Schickel
2016-03-18SCI32: Add workaround for invalid temp read in TorinColin Snover
2016-03-18SCI32: Use correct script dimensions for later SCI32 gamesColin Snover
These values are hard-coded in the engine executable for each game.
2016-03-18SCI32: Add Phantasmagoria 1.000.000 signatureColin Snover
2016-03-18SCI32: Fix crashes in kIsOnMe caused by stale CelObjsColin Snover
2016-03-18SCI32: More correctly fix kStringCopy overflowColin Snover
This entire kString code needs to be reviewed/refactored, but at least this fix is more complete than the last one. Thanks to @lordhoto and @wjp for their assistance.
2016-03-18SCI32: Fix heap overflow (read) in kStringCopyColin Snover
2016-03-18SCI32: Fix incorrect double-read from CLUTColin Snover
2016-03-17SCI32: Correct KQ7 version splitColin Snover
The information in the wiki was wrong, KQ7 1.51 is always SCI 2.1 early.
2016-03-17SCI32: Add kq7 1.51 English, fix kq7 1.51 German detectionMartin Kiewitz
Also sort detection entries for kq7 by game version
2016-03-17SCI32: Code documentation improvementsColin Snover