aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2009-09-27SCI: Fix scrolling in SCI1 list controls.Walter van Niftrik
svn-id: r44429
2009-09-27SCI: Remove directory prefix added by QfG3's char importWillem Jan Palenstijn
svn-id: r44423
2009-09-27SCI: Adjust isValidOffset to match changes from r44396,Willem Jan Palenstijn
and make maxSize report the valid space starting at offset. svn-id: r44421
2009-09-27Simplify kFormat slightlyMax Horn
svn-id: r44417
2009-09-27SCI: Add workaround for file mask used by QfG3Willem Jan Palenstijn
svn-id: r44411
2009-09-27SCI: turn assert into warning, as it used in QfG2 char importWillem Jan Palenstijn
svn-id: r44400
2009-09-27SCI: Fix crash when opening menu'sWillem Jan Palenstijn
svn-id: r44398
2009-09-27SCI: clear strcpy's dest string if src is invalid.Willem Jan Palenstijn
This fixes moving the plank at the start of KQ6 in Text mode. svn-id: r44397
2009-09-27SCI: change segment offsets in reg segments to be in half reg_t.Willem Jan Palenstijn
This makes offsets in raw and reg segments consistent, which fixes string addressing in savegame dialogs. svn-id: r44396
2009-09-27SCI: clean up kStrAtWillem Jan Palenstijn
svn-id: r44394
2009-09-27SCI: Major string handling update.Willem Jan Palenstijn
All string access to segments should now work with both raw and non-raw (reg_t) segments, using the new utility functions in segMan. There will likely be regressions. svn-id: r44388
2009-09-27SCI: Add utility functions for copying data between raw/non-raw segmentsWillem Jan Palenstijn
svn-id: r44387
2009-09-27SCI: Add warning when dereferencing non-aligned stack pointerWillem Jan Palenstijn
svn-id: r44386
2009-09-26SCI: Ignore size argument to FILEIO_WRITE_STRING.Willem Jan Palenstijn
This matches LSL5's expectations when saving the password. svn-id: r44385
2009-09-26SCI: Fix compile error with DEBUG_AVOIDPATHWillem Jan Palenstijn
svn-id: r44384
2009-09-26SCI: Fix regression in r44081 breaking walking in QfG2Willem Jan Palenstijn
svn-id: r44383
2009-09-26SCI: Fix copy/paste errorWillem Jan Palenstijn
svn-id: r44382
2009-09-25Create a define for the special "signal" offset used throughout the engine, ↵Filippos Karapetis
and fixed the arbitrary 0 values from commit #44294, set when some math functions do invalid calculations svn-id: r44359
2009-09-25SCI: Remove EngineState::game_version, it was only used for saving anyway. ↵Max Horn
Also remove syncCStr() svn-id: r44358
2009-09-25SCI: Fix a memory leakMax Horn
svn-id: r44357
2009-09-25SCI: Pedantic cleanupMax Horn
svn-id: r44356
2009-09-25Reverted commit #44316, as colors show up correctly now without dithering. ↵Filippos Karapetis
Dithering is now off again for SCI0 by default, an can optionally be turned on svn-id: r44339
2009-09-24SCI: When setting global palette, map all unused colours to index 0.Willem Jan Palenstijn
This fixes white artifacts outside the bar in the SQ4CD intro, but might cause regressions elsewhere. svn-id: r44320
2009-09-24SCI: Delete unused function declarationWillem Jan Palenstijn
svn-id: r44319
2009-09-24SCI: Fix spellingMax Horn
svn-id: r44318
2009-09-24SCI: Fix flat dithering by permuting the blended palette so that the EGA ↵Willem Jan Palenstijn
colours are the first 16 entries svn-id: r44317
2009-09-24Set dithering to the FreeSCI "enhanced" style by default for SCI0 games, as ↵Filippos Karapetis
disabling dithering makes some colors not show up correctly (e.g. the trees in Iceman and LSL3). Dithering can still be disabled on a per-game basis by using the "dither_mode" option svn-id: r44316
2009-09-24Fix what looks like a typo in the condition, which checks for a divide by zero.Johannes Schickel
svn-id: r44306
2009-09-24Fix warnings.Johannes Schickel
svn-id: r44304
2009-09-24Changed make_reg to accept the same type of parameters as a reg_t does - ↵Filippos Karapetis
i.e. 16-bit integers, instead of 32-bit ones svn-id: r44302
2009-09-24The maximum value that a signed 16-bit integer can hold is 32767, not 32768 ↵Filippos Karapetis
(0x8000) svn-id: r44294
2009-09-24Add "demo" to the extras field of the fallback detector for demosFilippos Karapetis
svn-id: r44291
2009-09-23SCI: Rename _sciVersion to s_sciVersion and made it local to resource.cpp ↵Max Horn
(i.e. follow CFG and achieve code/data isolation) svn-id: r44271
2009-09-23- Moved the SCI version in a global variableFilippos Karapetis
- Changed all the SCI version checks to use getSciVersion() - Also made getSciVersionDesc a global function (removes some ugly accessing of the SCI engine) The fallback detector should work correctly now svn-id: r44269
2009-09-23COMMON: Add "ignoreCase" parameter to matchString.Johannes Schickel
svn-id: r44265
2009-09-22- Merged scriptObjInit0() and scriptObjInit11()Filippos Karapetis
- Replaced some cases where getSciVersion() is used with _resMan->sciVersion(), as getSciVersion() will fail with the fallback detector (as the engine is not initialized). Object property accessors still crash currently, when used with the fallback detector svn-id: r44261
2009-09-22Copy the internal game name when loading, and don't recreate itFilippos Karapetis
svn-id: r44250
2009-09-22Removed unused variableFilippos Karapetis
svn-id: r44249
2009-09-22Simplified the code which creates the mouse cursorFilippos Karapetis
svn-id: r44248
2009-09-22SCI: Change SystemStrings to use RAW storage consistenlyMax Horn
svn-id: r44246
2009-09-22SCI: Add some FIXMEs, and print warning if accessing a raw segment as ↵Max Horn
non-raw or vice versa svn-id: r44245
2009-09-22SCI: Add new type SegmentRef which ultimately will allow us to distinguish ↵Max Horn
between raw and 'reg_t' memory blocks in client code svn-id: r44244
2009-09-22SCI: Change SystemString::name from char* to Common::StringMax Horn
svn-id: r44243
2009-09-22SCI: SegmentObj's now set their type in constructor; replace central ↵Max Horn
SegmentObj::createSegmentObj call in SegManager::allocSegment by several explicit 'new' statements; some extra cleanup svn-id: r44242
2009-09-21SCI: cleanupMax Horn
svn-id: r44241
2009-09-21SCI: Replace IntMapper Script::_objIndices and Common::Array ↵Max Horn
Script::_objects by a HashMap -- goodbye, class IntMapper svn-id: r44240
2009-09-21SCI: Workaround for crash in debugger's backtraceMax Horn
svn-id: r44239
2009-09-21SCI: Change kAnimate to actually tail recurseMax Horn
svn-id: r44238
2009-09-21SCI: Rename Object::flags and pos to _flags and _pos; tweak scriptObjInit0 ↵Max Horn
and scriptObjInit11 to be more similar svn-id: r44234
2009-09-17SCI: Add EngineState::_kernel member for convenienceMax Horn
svn-id: r44173