scummvm/engines/sci/engine
Colin Snover e12496bd0c SCI32: Read byte/string array values as signed in SCI2.1early-
KQ7 1.51 writes int16s from the save game catalogue into a Str
object, then retrieves byte 0 from the string and compares it to
-1. This happens to work out because (1) characters were treated
as signed in SCI2.1early and earlier, and (2) int16s in the save
game catalogue were little-endian.

In SCI2.1mid and later, this trick no longer works because
characters are treated as unsigned and get zero-extended instead.

Fixes Trac#9632.
2016-10-27 20:23:10 -05:00
..
features.cpp SCI: Fix pseudo mouse in various SCI1 games like e.g. Larry5 2016-08-13 14:58:07 +02:00
features.h SCI32: Split out detection of features that cross SSCI versions 2016-10-20 11:33:29 -05:00
file.cpp SCI32: Fix warnings and incompatible save games when built without SCI32 2016-09-29 19:39:16 -05:00
file.h SCI32: Fix warnings and incompatible save games when built without SCI32 2016-09-29 19:39:16 -05:00
gc.cpp SCI32: Rewrite kArray & kString 2016-09-29 19:39:16 -05:00
gc.h SCI: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
kernel.cpp SCI32: Rewrite kArray & kString 2016-09-29 19:39:16 -05:00
kernel.h SCI32: Clarify some identifiers 2016-10-09 11:21:46 -05:00
kernel_tables.h SCI32: Fix crash clicking quit button during LSL6hires credits 2016-10-15 20:57:48 -05:00
kevent.cpp SCI32: Change storage type of int16 arrays to hold reg_ts instead 2016-10-09 11:21:13 -05:00
kfile.cpp SCI32: Change storage type of int16 arrays to hold reg_ts instead 2016-10-09 11:21:13 -05:00
kgraphics.cpp JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
kgraphics32.cpp SCI32: Split out detection of features that cross SSCI versions 2016-10-20 11:33:29 -05:00
klists.cpp SCI32: Rewrite kArray & kString 2016-09-29 19:39:16 -05:00
kmath.cpp SCI: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
kmenu.cpp SCI: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
kmisc.cpp SCI32: Add support for kPrintDebug 2016-09-29 19:39:16 -05:00
kmovement.cpp SCI: kDoBresen adjustments for SCI<=1_EGA, thx wjp 2015-04-21 14:55:05 +02:00
kparse.cpp SCI: Handle pronouns in parser 2015-05-03 17:21:07 +02:00
kpathing.cpp SCI32: Change storage type of int16 arrays to hold reg_ts instead 2016-10-09 11:21:13 -05:00
kscripts.cpp SCI: Add prefix to global variable constants 2016-09-29 19:39:16 -05:00
ksound.cpp SCI: Minor cleanup of kDoSound 2016-06-20 21:02:21 -05:00
kstring.cpp SCI32: Fix compilation warnings 2016-09-29 19:39:16 -05:00
kvideo.cpp SCI: Fix memory leak 2016-10-09 11:32:01 -05:00
message.cpp SCI: Rename hexDigitToInt to indicate it's intentionally broken 2016-10-26 22:59:33 +02:00
message.h SCI: Rename hexDigitToInt to indicate it's intentionally broken 2016-10-26 22:59:33 +02:00
object.cpp SCI: Remove superfluous cast to boolean and fix code styling 2016-03-01 01:23:55 +02:00
object.h SCI3: Collect bits for managing kInfoFlagViewVisible 2016-02-29 16:00:13 +01:00
savegame.cpp SCI32: Change storage type of int16 arrays to hold reg_ts instead 2016-10-09 11:21:13 -05:00
savegame.h SCI: Bump save game number to fix save game compatibility 2016-09-30 19:05:14 -05:00
script.cpp SCI32: Fix zero-offset exports 2016-10-20 11:33:08 -05:00
script.h SCI32: Fix zero-offset exports 2016-10-20 11:33:08 -05:00
script_patches.cpp SCI32: Fix typos 2016-10-27 14:37:13 -05:00
script_patches.h SCI: Add missing parentheses to SIG/PATCH macros 2016-08-30 19:49:03 +02:00
scriptdebug.cpp SCI: Introduce accessors for SegmentObjTable entries. 2016-03-25 01:15:26 +01:00
seg_manager.cpp SCI32: Clarify some identifiers 2016-10-09 11:21:46 -05:00
seg_manager.h SCI32: Clarify some identifiers 2016-10-09 11:21:46 -05:00
segment.cpp SCI32: Fix garbage collection of objects stored in IntArrays 2016-10-11 19:40:08 -05:00
segment.h SCI32: Read byte/string array values as signed in SCI2.1early- 2016-10-27 20:23:10 -05:00
selector.cpp SCI32: Fix wrong value passed to updateInfoFlagViewVisible 2016-10-20 11:33:30 -05:00
selector.h SCI32: Implement kEditText 2016-03-06 21:34:43 -06:00
state.cpp JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
state.h SCI: Deduplicate call origin formatting 2016-09-29 19:39:16 -05:00
static_selectors.cpp SCI32: split up SCI2.1 into EARLY/MIDDLE/LATE 2015-12-29 01:44:11 +01:00
vm.cpp SCI: Ensure export breakpoints always trigger on export calls 2016-10-14 19:43:47 -05:00
vm.h SCI32: Sync subtitle text speed with ScummVM GUI 2016-09-30 20:08:09 -05:00
vm_types.cpp SCI: Deduplicate call origin formatting 2016-09-29 19:39:16 -05:00
vm_types.h SCI32: Add reg_t comparisons for graphics sorting 2016-03-07 16:46:25 -06:00
workarounds.cpp SCI32: Fix crash when clicking around the arterial blockage in SQ6 2016-10-16 19:30:47 -05:00
workarounds.h SCI32: Fix crash clicking quit button during LSL6hires credits 2016-10-15 20:57:48 -05:00