Filippos Karapetis
c4861605df
SCI: Fix a typo, the interpreter can handle robot video versions 3 - 5
...
svn-id: r55753
2011-02-03 14:44:58 +00:00
Filippos Karapetis
74caf6cd71
SCI21: Some robot related changes
...
- Don't reallocate the frame buffer on each update if its dimensions haven't changed
- Don't attempt to display the currently unsupported v4 robot files (used in PQ:SWAT)
- Signed/unsigned fixes
- Disabled the unused getFrameRect() function
- Some cleanup and reordering
svn-id: r55752
2011-02-03 14:37:50 +00:00
Matthew Hoops
496ca9a669
SCI: Fix KQ6 Mac audio resources
...
A regression from r55715
svn-id: r55751
2011-02-03 12:42:52 +00:00
Matthew Hoops
7c3d65912d
SCI: Fix GK1 Mac messages
...
svn-id: r55750
2011-02-03 05:10:24 +00:00
Matthew Hoops
4088e735a9
SCI: Properly reset the array/string segment ids
...
svn-id: r55749
2011-02-03 04:06:22 +00:00
Matthew Hoops
4c0af01d6a
SCI: Disable the special QFG1 Mac icon bar
...
The original interpreter completely ignores it in favor of the regular one.
svn-id: r55748
2011-02-03 02:26:57 +00:00
Matthew Hoops
c62e507890
SCI: Fix GK1 Mac scaling
...
svn-id: r55744
2011-02-02 22:29:14 +00:00
Lars Skovlund
441c5e0211
SCI: Fix memory leaks in GfxRobot
...
svn-id: r55740
2011-02-02 21:05:38 +00:00
Matthew Hoops
d3e30f3038
SCI: Fix SCI32 Mac fonts
...
svn-id: r55725
2011-02-02 16:22:58 +00:00
Matthew Hoops
f1f86646de
SCI: Fix SCI32 Mac pictures
...
svn-id: r55724
2011-02-02 16:15:49 +00:00
Matthew Hoops
24e983610d
SCI: Fix GK1 Mac views, the game now starts
...
svn-id: r55721
2011-02-02 15:33:33 +00:00
Matthew Hoops
3c04db1ebf
SCI: Set Mac cursors as a non-compressable type too
...
svn-id: r55720
2011-02-02 15:21:24 +00:00
Matthew Hoops
47b2611f50
SCI: Add comment about GK1 Mac using kSetFontRes
...
svn-id: r55719
2011-02-02 14:52:02 +00:00
Matthew Hoops
a6891a4372
SCI: Fix Mac sync resource support
...
svn-id: r55716
2011-02-02 02:20:25 +00:00
Matthew Hoops
1e14752d4d
SCI: Add support for Mac audio36/sync36 resources in resource forks
...
svn-id: r55715
2011-02-02 00:23:46 +00:00
Matthew Hoops
e1bdfe16e3
SCI: Make Hoyle4 workarounds without names so they work in the Mac version (that has no class names)
...
svn-id: r55711
2011-02-01 21:15:26 +00:00
Matthew Hoops
26f5523156
SCI: Mac SCI1.1+ games can use SYNC as the resource type for sync resources too
...
svn-id: r55708
2011-02-01 15:17:39 +00:00
Matthew Hoops
1ac0680a77
SCI: Fix SCI1.1+ Mac views with uint16 rle lengths (thanks, Walter)
...
svn-id: r55705
2011-02-01 03:50:29 +00:00
Matthew Hoops
956dc54e3d
SCI: Update the Mac version detection comments
...
svn-id: r55697
2011-01-31 23:09:22 +00:00
Matthew Hoops
4c8a9ab24a
SCI: Add support for Mac SCI1.1+ resource compression
...
Mac SCI1.1+ games should now start up. QFG1 and Hoyle4 are playable. GK1 starts its scripts, but errors out soon after. There are still some View bugs with each (somehow, view decompression seems to be adding a blank line after each line?).
*Much* thanks to Walter for his help.
svn-id: r55696
2011-01-31 22:45:51 +00:00
Sven Hesse
250f5a97fa
SCI: Add missing initializations
...
_resourceData, _imageStart, _audioStart and _audioLen
svn-id: r55689
2011-01-31 18:18:39 +00:00
Filippos Karapetis
a6e9fe69c3
SCI: Set the printLang and parseLang selectors again when restarting, if necessary.
...
This sets the language again correctly to the language selected in the launcher when
restarting multilingual games.
svn-id: r55561
2011-01-27 10:49:11 +00:00
Willem Jan Palenstijn
190bd60505
SCI: Make SCI3 propertyId endianness hack a bit cleaner
...
svn-id: r55542
2011-01-26 16:51:18 +00:00
Max Horn
fec516e2b0
SCI: cleanup
...
svn-id: r55539
2011-01-25 20:21:57 +00:00
Lars Skovlund
e1a9c866bf
SCI3: Fix script abort during startup on Big Endian platforms
...
svn-id: r55525
2011-01-25 10:21:44 +00:00
Lars Skovlund
aa5e8e6c2b
SCI/Robot: Simplify ::setPalette()
...
svn-id: r55498
2011-01-24 11:17:47 +00:00
Lars Skovlund
3b61cb57d4
SCI/Robot: Fix typo
...
svn-id: r55497
2011-01-24 10:57:19 +00:00
David Turner
a7f7b90aee
SCI: Fixed possible use of uninitialized variable in SCI Script Debugger.
...
svn-id: r55487
2011-01-23 23:25:34 +00:00
Eugene Sandulenko
caa6684752
VIDEO: Move video classes to Video:: namespace
...
svn-id: r55479
2011-01-23 19:08:09 +00:00
Eugene Sandulenko
806ccf5d25
GRAPHICS: Move graphics/video/ to video/. Step 1/2
...
svn-id: r55473
2011-01-23 17:14:43 +00:00
Lars Skovlund
bcf62fa8b9
SCI/Robot:Don't ifdef out ::playAudio, since it is only used for debugging
...
svn-id: r55449
2011-01-22 21:58:33 +00:00
Filippos Karapetis
7dd28c024a
SCI: Moved the robot audio playing test code inside GfxRobot::playAudio()
...
svn-id: r55428
2011-01-22 14:58:17 +00:00
Lars Skovlund
8a44af63af
SCI/robot: Correct detection of null preload
...
svn-id: r55427
2011-01-22 14:32:39 +00:00
Lars Skovlund
dc27a22026
SCI: Added stub for playing robot audio from the console
...
svn-id: r55424
2011-01-22 13:12:01 +00:00
Filippos Karapetis
89087b18c7
SCI21: Allow the game scripts to sync robot videos, like in SSCI. Also, references of the SciEngine class to itself via g_sci have been removed
...
svn-id: r55422
2011-01-22 13:01:10 +00:00
Filippos Karapetis
8928dc3cf5
SCI: Changed the expensive and inaccurate floating-point divisions to integer divisions. Fixes asserting of 90.rbt in Phantasmagoria (the game's logo video)
...
svn-id: r55405
2011-01-22 03:28:14 +00:00
Filippos Karapetis
84a04d6876
SCI: Code formatting
...
svn-id: r55404
2011-01-22 02:51:39 +00:00
Lars Skovlund
9f1904d661
SCI: Fix robot palette activation
...
svn-id: r55397
2011-01-21 22:50:30 +00:00
Lars Skovlund
4818b2ae08
SCI: Add comment for GK1 workaround.
...
svn-id: r55391
2011-01-21 19:56:23 +00:00
Lars Skovlund
cd62c3ae42
SCI: Fix robot memory leak
...
svn-id: r55390
2011-01-21 19:52:52 +00:00
Lars Skovlund
74f8462a7b
SCI: Fix GK1 breaking into the debugger when watching the intro
...
svn-id: r55386
2011-01-21 19:33:36 +00:00
Lars Skovlund
0e33dd9164
SCI: Partial robot support, currently disabled since it does not run
...
asynchronously as it should.
svn-id: r55382
2011-01-21 18:53:35 +00:00
Matthew Hoops
476eeb69e6
COMMON: Move SCI's DCL decompression code to common
...
svn-id: r55367
2011-01-21 01:55:44 +00:00
Filippos Karapetis
0309f36552
SCI: Plugged 2 memory leaks, reported by digitall
...
- Plugged 2 memory leaks in the SCI0 menu code (the lists of menu and submenu entries)
- Got rid of the _listCount variable
svn-id: r55254
2011-01-15 23:55:35 +00:00
Filippos Karapetis
f680e24146
SCI: Added a hack to fix bug #3122075 - "LB1: Game play freezes when taking shower"
...
This is a regression from the new kInitBresen/kDoBresen functions, enabled in r52467.
Many thanks to waltervn for his work in bisecting this. The actual bug should be
found, but since only this death scene has an issue, it's not really worth the
effort. The old functions are based on observations, so there are many differences in
the way that they behave. If another test case is found, then this shall be examined
further. Until then, this simple and unobtrusive hack will do.
svn-id: r55251
2011-01-15 18:25:10 +00:00
Filippos Karapetis
0f9c33e02f
SCI: cleaned up checkSelectorBreakpoint()
...
svn-id: r55250
2011-01-15 12:18:13 +00:00
Filippos Karapetis
c8b3200dd3
SCI: Extended the bpk debug command so that it can also disable a breakpoint on a kernel function
...
svn-id: r55249
2011-01-15 11:54:20 +00:00
Filippos Karapetis
47d109a093
SCI: Bugfix for r55246: Don't send init commands when resuming a sound
...
svn-id: r55247
2011-01-15 09:28:42 +00:00
Filippos Karapetis
cd108d3a81
SCI: Fixed bug #3034974 - "SCI: Music out of tune after loading a save"
...
svn-id: r55246
2011-01-15 00:29:02 +00:00
Filippos Karapetis
bb3fd747d4
SCI: Fixed bug #3155550 - "SQ4 Russian: Script error in Scate-o-rama"
...
svn-id: r55218
2011-01-12 23:53:14 +00:00
Filippos Karapetis
c215d85c33
SCI: Added a workaround for script bug #3156472 - "King's Quest 5 cdrom version crash on escape"
...
svn-id: r55217
2011-01-12 23:33:30 +00:00
Filippos Karapetis
d8682a74a5
SCI: Simplified the kMoveCursor code
...
svn-id: r55216
2011-01-12 23:30:59 +00:00
Johannes Schickel
645ba4c379
SOUND: Get rid of unused forward declarations in mixer.h.
...
svn-id: r55197
2011-01-10 22:20:51 +00:00
Filippos Karapetis
bbd2cd460f
SCI2.1: Some further work on robot files
...
svn-id: r55190
2011-01-09 18:18:16 +00:00
Filippos Karapetis
db11b626c7
SCI2: Implemented proper text splitting
...
svn-id: r55184
2011-01-09 13:28:34 +00:00
Filippos Karapetis
6b6e7fcfb3
SCI2: Some documentation/stubs
...
- Fully documented the parameters of kSetShowStyle
- Added another subop stub for kCreateTextBitmap
svn-id: r55183
2011-01-09 13:27:00 +00:00
Filippos Karapetis
5d7729be32
SCI: Cleanup
...
svn-id: r55182
2011-01-09 13:21:19 +00:00
Filippos Karapetis
cf94a99bb7
SCI: Changed the bShow parameter of GfxText16:Box() into a bool
...
svn-id: r55179
2011-01-09 00:32:26 +00:00
Filippos Karapetis
505e1888e5
SCI: Some function renaming
...
Draw_Status -> DrawStatus
Draw_String -> DrawString
svn-id: r55178
2011-01-08 23:16:44 +00:00
Filippos Karapetis
8c554a8ec2
SCI2: Updated comments
...
svn-id: r55177
2011-01-08 23:15:10 +00:00
Filippos Karapetis
da52b3a267
SCI2.1: Added a comment with the SCI2.1 games using a SCI2 kernel
...
svn-id: r55176
2011-01-08 23:14:11 +00:00
Filippos Karapetis
dd6fd0ef27
SCI2.1: Added some information about kSetPalStyleRange, kNewRoom and kMorphOn
...
svn-id: r55165
2011-01-08 12:44:11 +00:00
Filippos Karapetis
12b44f2fc0
SCI2.1: Some stubs used by SQ6
...
- Added a stub and some info about the (large) kScrollWindow kernel call
- Added info about kMovePlaneItems
svn-id: r55163
2011-01-08 12:28:47 +00:00
Filippos Karapetis
c2acabd710
SCI2.1: Some functionality for Phantasmagoria 1 and MUMG Deluxe
...
- Added a stub for kSetLanguage, used in MUMG Deluxe - this needs support at the resource
manager level
- Made kGetSierraProfileInt a stub function (it's used in the Windows version of
Phantasmagoria 1 to override the video speed setting obtained from kGetConfig)
svn-id: r55161
2011-01-08 11:19:20 +00:00
Filippos Karapetis
dd026268aa
SCI: Fixed typo
...
svn-id: r55160
2011-01-08 10:34:04 +00:00
Filippos Karapetis
87a3fcaf03
SCI: Fixed a typo
...
svn-id: r55159
2011-01-08 10:25:12 +00:00
Filippos Karapetis
fc83afc5f2
SCI2.1: Added/documented some functionality used by Shivers 1
...
- Added kFileIO subop 17 (create save slot)
- Added information about a (probably debug) kernel function used in a puzzle, kCelInfo
- Added some information on two kSave subops
- Added 2 workarounds for uninitialized variables
svn-id: r55158
2011-01-08 10:23:27 +00:00
Filippos Karapetis
2b87eebdb0
SCI: Moved the handling of the op_line debug opcode inside readPMachineInstruction()
...
The handling has been moved inside readPMachineInstruction(), instead of run_vm(), as a
lot of parts of the code depend on this function handling all opcodes correctly (e.g. the
script dissassembler, the features class, find_callk etc)
svn-id: r55154
2011-01-07 20:24:49 +00:00
Filippos Karapetis
59d00fca17
SCI: Removed leftover end markers from the opcode formats array
...
svn-id: r55153
2011-01-07 19:31:19 +00:00
Filippos Karapetis
6b250f8c9b
SCI2/2.1: Improvements to the find_callk debug function, and some kernel function updates
...
- Improved the find_callk function to properly find the end of script objects, by
monitoring jump calls
- Added three extra special calls to find_callk: find kernel function calls to dummy,
unused and unmapped kernel functions
- Updated several kernel function calls because of the above functionality
- The above functionality has also uncovered a VM bug in some SCI2/2.1 opcode - added
a FIXME for it
svn-id: r55151
2011-01-07 18:25:38 +00:00
Filippos Karapetis
576efc526b
SCI: The SCI2.1 SVGA version of MUMG is named "Mixed-Up Mother Goose Deluxe"
...
svn-id: r55139
2011-01-07 00:19:54 +00:00
Filippos Karapetis
1796e7afdd
SCI2.1: Kernel function changes (after looking through all of the SCI2.1 games)
...
- Replaced the stub kWinDLL (unused), as well as the not fully implemented kPrintDebug
functions with empty function calls
- Marked several unused or debug kernel functions as stub
- Added some games where the rest of the unimplemented SCI2.1 kernel functions are used
svn-id: r55138
2011-01-07 00:12:18 +00:00
Filippos Karapetis
49f965a547
SCI2.1: Added a sanity check for VMD video positioning, for the demo of Lighthouse
...
svn-id: r55137
2011-01-07 00:07:33 +00:00
Filippos Karapetis
a6994413ea
SCI2.1: Show the kernel table used in the "version" console command
...
Transitive SCI2.1 games (e.g. QFG4CD and PQ4CD, as well as GK2 demo) used a SCI2 table,
with some added functions. If a SCI2.1 game is loaded, show what kernel table it uses
svn-id: r55136
2011-01-07 00:05:14 +00:00
Filippos Karapetis
2d5dc8c638
SCI: Cleanup
...
svn-id: r55123
2011-01-04 23:19:04 +00:00
Filippos Karapetis
f2234f8ee3
SCI: Fixed part of bug #3150767 - "KQ5 French crash on startup, only partial English text"
...
This is a regression from r54510
svn-id: r55122
2011-01-04 23:11:19 +00:00
Filippos Karapetis
34ae92033c
SCI: Moved the "SCI" bit to the extras field, to preserve the original naming of the games
...
svn-id: r55119
2011-01-04 19:46:18 +00:00
Filippos Karapetis
9fe6540dd9
SCI: Corrected game description for LSL1 (thanks Raziel)
...
svn-id: r55118
2011-01-04 19:23:05 +00:00
Filippos Karapetis
d050b811bb
SCI: Slight cleanup to the garbage collector
...
svn-id: r55116
2011-01-04 12:29:23 +00:00
Filippos Karapetis
77a1915377
SCI: Some changes to the naming scheme of some games
...
- For remakes like KQ1, KQ4 and LSL1, the "SCI remake" bit has been moved to the game
description (as it's part of the description, not the extras)
- The "VGA" bit has been removed from the extras. Only the "EGA" bit remains for EGA
versions, to distinguish them from their VGA counterparts, when they exist
svn-id: r55115
2011-01-04 09:09:56 +00:00
Filippos Karapetis
32d7e687ee
SCI: debugC calls no longer require a debug level of 2 to show output
...
svn-id: r55086
2011-01-01 12:48:12 +00:00
Filippos Karapetis
d44a105e7f
SCI: Disable continuous list checking by default
...
svn-id: r55085
2011-01-01 12:43:09 +00:00
Filippos Karapetis
e48b07e3bd
SCI: Added workaround for script bug #3148418 - "QFG2: Script Error On last screen"
...
svn-id: r55075
2010-12-31 11:32:19 +00:00
Filippos Karapetis
7bc1ff065b
SCI: Fixed script bug #3038870 - "SCI Fanmade - Demo Quest: ScummVM hangs with typo" and
...
removed a related FIXME
svn-id: r55056
2010-12-28 21:05:30 +00:00
Filippos Karapetis
1528a3d904
SCI: A more efficient solution for bug #3037874 (SCI high CPU usage), which will hopefully
...
not clash with the speed throttler. This is a more proper fix for bug #3058865 , and a
partial fix for bug #3127824
svn-id: r55046
2010-12-26 15:28:02 +00:00
Matthew Hoops
1bbe49dba9
SCI: Silence a gcc warning
...
svn-id: r55043
2010-12-26 14:56:51 +00:00
Filippos Karapetis
bc9442d6d8
SCI: Fixed bug #3059860 - "LB2CD: Glitch in Act 6 coroner answer buttons"
...
svn-id: r55034
2010-12-24 15:53:06 +00:00
Filippos Karapetis
5e5410f891
SCI: Only sync the synonyms vocabulary if the game actually has one (thanks wjp)
...
svn-id: r55033
2010-12-24 14:56:04 +00:00
Filippos Karapetis
9af30a2546
SCI: Now saving/loading the list of synonyms (set by kSetSynonyms), like SSCI did
...
This is a more correct way of fixing bug #3037618 than in rev #55017 .
- Changed replaceant/replacement to be uint16's (they're very small positive
values, usually smaller than 4096)
- Changed SynonymList to an Array (so that it can be saved/loaded)
- Removed the PQ2 script patch to Game::replay()
- Added savegame history
svn-id: r55032
2010-12-24 14:47:47 +00:00
Lars Skovlund
a03a3fd411
Fix code formatting
...
svn-id: r55026
2010-12-23 14:05:16 +00:00
Lars Skovlund
5b2071487f
SCI: Unbreak script loading on big-endian machines. Thanks to [md5] and wjp.
...
svn-id: r55025
2010-12-23 14:03:58 +00:00
Filippos Karapetis
401a8c355d
SCI: Some initial work on the sound of robot videos (doesn't work yet, seems to be a problem with the encoding of the customized SOL audio files in robot videos)
...
svn-id: r55023
2010-12-23 13:11:10 +00:00
Filippos Karapetis
f891323f1f
SCI: Fixed typo
...
svn-id: r55022
2010-12-23 12:54:47 +00:00
Filippos Karapetis
8e26ae0f92
SCI: Fixed bug #3037618 - "PQ2 : Restoring in Scuba Van causes Parser Issues"
...
svn-id: r55017
2010-12-22 22:18:21 +00:00
Filippos Karapetis
1d98bf484e
SCI: Also reset flags when resetting the video state
...
svn-id: r55007
2010-12-22 14:19:38 +00:00
Filippos Karapetis
f922c29002
SCI: Limit the speech/subtitle settings sync to SCI1.1 CD games only. Earlier
...
versions (like SCI1, e.g. KQ5CD and Jones CD) didn't have such settings
svn-id: r55006
2010-12-22 14:04:39 +00:00
Filippos Karapetis
a5db890260
SCI: Sync in-game speech/subtitle options with the ones from the ScummVM GUI.
...
- Obtain speech/subtitle options from the ScummVM GUI and set them in CD games.
- Also, set simultaneous speech and subtitles in games that support them
(currently SQ4 CD and Freddy Pharkas CD). There is no GUI option for setting
simultaneous speech and subtitles in Freddy Pharkas CD, so this is the only
current way of achieving this (unless the text speed slider inside the Freddy
Pharkas options window is repurposed - but that will require extensive changes)
svn-id: r55005
2010-12-22 13:58:28 +00:00
Filippos Karapetis
166f3f2dfd
SCI2+: Set pictureCels to 0 after deleting them
...
svn-id: r55004
2010-12-22 13:52:25 +00:00
Filippos Karapetis
430dc10c49
SCI: VMD video related changes
...
- VMD videos are now properly started from the associated play subop of the
kPlayVMD kernel call, and are now properly positioned on screen, and doubled
only if the games require them to be
- Added an enum for VMD video flags
svn-id: r55003
2010-12-22 13:51:35 +00:00
Filippos Karapetis
5a3ed29a4b
SCI: Changed the check for NULL values inside kArray(Cpy) to only ignore such values in SCI3
...
svn-id: r55002
2010-12-22 13:17:19 +00:00
Filippos Karapetis
42dc70bb83
- SCI: Added code to free the _baseVars value in SCI3 as well. Both free() operations
...
have been commented out for now, as MSVC complains about heap corruption in SCI3 games
- Code formatting fixes
svn-id: r54991
2010-12-21 21:18:25 +00:00
Filippos Karapetis
7680ed0be7
Added back the null check in kArray(cpy): it happens in SCI3
...
svn-id: r54990
2010-12-21 20:54:33 +00:00
Lars Skovlund
7b0760f1bc
Make Object::_baseMethod a Common::Array. This is intended to clean up
...
the Object class, and it also plugs a leak.
svn-id: r54986
2010-12-21 15:36:27 +00:00
Lars Skovlund
f1cd95e462
Simplify SCI3 relocation code, also making it correct.
...
svn-id: r54985
2010-12-21 15:34:02 +00:00
Filippos Karapetis
3a14a7760e
SCI: Fixed bug #3092115 - "ECOQUEST2: Initial text not cleared during ecorder intro"
...
svn-id: r54984
2010-12-21 15:31:59 +00:00
Filippos Karapetis
75649f8903
SCI: Reset the portrait bitmap to the "closed mouth" state, when skipping dialogs
...
in the Windows version of KQ6
svn-id: r54983
2010-12-21 07:53:34 +00:00
Filippos Karapetis
26dfb6affa
SCI: Fixed bug #3041153 - "SCI Fanmade Games: Message window glitch"
...
The left window dimension adjustment (rev #48772 ) has been moved from
GfxPorts::setOrigin() into GfxPorts::addWindow(), as the updated dimension is
later used when filling the contents of the window (apparent in some fan made
games)
svn-id: r54976
2010-12-20 15:30:31 +00:00
Filippos Karapetis
4b836d611f
SCI: Fixed bug #3037945 - "PQ3 : Graphical Glitch with White Mercedes on Freeway"
...
svn-id: r54975
2010-12-20 12:21:18 +00:00
Filippos Karapetis
d3340b0d0c
SCI: Commented out unused signal flags
...
svn-id: r54974
2010-12-20 12:19:28 +00:00
Filippos Karapetis
91bee3e7b0
SCI: Added another English version of QFG3 (bug #3125559 )
...
svn-id: r54962
2010-12-19 15:48:51 +00:00
Matthew Hoops
1ead0d8436
VIDEO: Make VideoDecoder::getPalette() return a const byte pointer
...
svn-id: r54928
2010-12-16 01:41:11 +00:00
Matthew Hoops
375f32fbe9
VIDEO: Make VideoDecoder::decodeNextFrame() return a const Surface pointer
...
svn-id: r54927
2010-12-16 01:35:13 +00:00
Filippos Karapetis
aa15235858
SCI: Slight cleanup
...
svn-id: r54925
2010-12-15 23:35:21 +00:00
David Turner
58b7295193
SCI: Fixed View Cel RLE Decoding when RLE Code 0x40 is used (Corrects Bug #3135872 "LSL1VGA: "Pause Game" problem")
...
In the copy case, the runLength can be up to 127, not 64 i.e. the LSB of the RLE code forms part of the runLength.
svn-id: r54924
2010-12-15 22:36:55 +00:00
David Turner
f2205a5a01
SCI: Close Memory Leaks in SCI Resource Loading, reported by Valgrind.
...
svn-id: r54916
2010-12-14 23:30:22 +00:00
Max Horn
6edc86a19b
DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engine
...
svn-id: r54815
2010-12-07 18:54:21 +00:00
Filippos Karapetis
fdd2d980c6
SCI: Bumped up the save game version for rev #54805
...
Initially, I thought that older ScummVM versions will work with these saved games.
However, they will probably crash when trying to load saved games after rev #54805 ,
as the heap is reset when loading, and the system strings segment is no longer
initialized (thanks wjp).
svn-id: r54809
2010-12-07 16:49:53 +00:00
Matthew Hoops
65f218dce0
SCI: Silence warnings
...
svn-id: r54806
2010-12-07 01:12:48 +00:00
Filippos Karapetis
de2ef2edc0
SCI: Removed the system strings code and replaced it with a much more simplified version, thus greatly simplifying handling of system strings
...
svn-id: r54805
2010-12-07 00:47:05 +00:00
Matthew Hoops
c2ec6020e3
SCI: Fix uninitialized reads (and therefore, GK1)
...
svn-id: r54799
2010-12-06 19:37:19 +00:00
Johannes Schickel
c14399c229
SCI: Slight formatting fix.
...
svn-id: r54737
2010-12-02 17:03:21 +00:00
Filippos Karapetis
4fe03f1b66
SCI: Enabled the GUI option to play speech and show subtitles simultaneously in SQ4CD
...
svn-id: r54736
2010-12-02 13:37:39 +00:00
Lars Skovlund
0ac28d1fbf
Disable error message regarding RESOURCE.AUD/.SFX for now.
...
svn-id: r54735
2010-12-02 13:29:49 +00:00
Filippos Karapetis
94801fcea3
SCI: Fixed bugs #3041044 , #3046543 and #3046513
...
svn-id: r54690
2010-12-01 00:40:52 +00:00
Filippos Karapetis
b837366871
SCI: Added an uninitialized read script workaround for QFG1VGA
...
svn-id: r54663
2010-11-30 00:27:36 +00:00
Filippos Karapetis
6c73f8266e
SCI: Fixed bug #3053093 - "QFG1VGA and QFG3: Text box glitches"
...
svn-id: r54662
2010-11-30 00:26:00 +00:00
Filippos Karapetis
0b5f6d4c97
SCI: Fixed bug #3034471 - "SCI, Castlebrain/Amiga: Invisible text in word search"
...
Fixed some endianness issues in Amiga versions, thanks to wjp. Amiga
versions expect a BE VM, thus we adjust accordingly in the places
where memory is accessed directly (i.e. kStrAt, kMemory and all places
that set/get characters from memory)
svn-id: r54521
2010-11-28 14:57:56 +00:00
Filippos Karapetis
c76422412d
SCI: Compensate for buggy KQ5CD saved games (before r54510)
...
svn-id: r54513
2010-11-27 18:46:12 +00:00
Filippos Karapetis
0312235f67
SCI: Removed bogus warning
...
svn-id: r54512
2010-11-27 18:27:02 +00:00
Filippos Karapetis
91e42bbcb9
SCI: Reverted changes to savegame.cpp made in r54510, as that still occurs
...
svn-id: r54511
2010-11-27 18:23:39 +00:00
Filippos Karapetis
3485d433c5
SCI: Fixed bug #3034713 - "ICEMAN Demo: Fails to find base object"
...
This could happen because objects in scripts can be in the wrong order.
Same thing happens in the French and German version of KQ5 (bug #3035396 ).
Removed the scriptObjRemove() method, which is in fact a hack.
svn-id: r54510
2010-11-27 18:08:47 +00:00
Filippos Karapetis
49afe9ccff
SCI: Fix for bug #3119713 - "PQ2: song-specific reverb changes are ignored" (thanks to waltervn)
...
svn-id: r54509
2010-11-27 17:29:42 +00:00
Walter van Niftrik
52b89206c0
SCI: Pull reverb default directly from control channel.
...
svn-id: r54499
2010-11-26 14:35:46 +00:00
Walter van Niftrik
3d38a383bb
SCI: Only filter channels for early SCI0, as GM currently uses all channels.
...
svn-id: r54498
2010-11-26 14:35:28 +00:00
Filippos Karapetis
5562f9e087
SCI: Added a define to turn off channel remapping (for debugging)
...
svn-id: r54496
2010-11-26 14:25:18 +00:00
Filippos Karapetis
d3b14e1445
SCI: Implemented FR #3101338 : "King's Quest 6 Windows Mouse Icons"
...
Added an option to use the original Windows cursors in the Windows version of KQ6
Also, added an update on how the Mac cursors are handled (perhaps the handling is
the same)
svn-id: r54495
2010-11-26 12:37:24 +00:00
Filippos Karapetis
ce9f7c0df1
SCI: Fixed keyboard input when numlock is on, and cleaned up the way some special keys are translated
...
svn-id: r54493
2010-11-26 10:03:24 +00:00
Filippos Karapetis
1d4e452c78
SCI: Send the SCI0 reverb init after reading the reverb data
...
svn-id: r54492
2010-11-26 06:41:45 +00:00
Filippos Karapetis
e793d62c8d
Fixed bug with r54485
...
svn-id: r54488
2010-11-26 00:10:51 +00:00
Filippos Karapetis
069309f88a
SCI: set the reverb setting of the current song when a relevant event is fired from the MIDI stream
...
svn-id: r54485
2010-11-26 00:05:27 +00:00
Filippos Karapetis
af15ac6f6a
SCI: Some reverb-related changes in the MIDI driver, based on a patch by waltervn
...
svn-id: r54484
2010-11-25 22:23:14 +00:00
Filippos Karapetis
3a8648c4db
SCI: Initialize reverb in the music driver correctly. Based on a patch by waltervn
...
svn-id: r54483
2010-11-25 22:17:23 +00:00
Filippos Karapetis
11ac03b7ab
SCI: Global reverb can't be 127. Some cleanup
...
svn-id: r54482
2010-11-25 22:16:22 +00:00
Filippos Karapetis
1cf26f67e0
SCI: Initialize global reverb correctly. Fixes bug #3118700 - "SCI KQ5: Assertion in midi.cpp" (regression from r54478)
...
svn-id: r54481
2010-11-25 22:14:38 +00:00
Filippos Karapetis
601494cad4
SCI: implemented reverb handling and related functionality
...
svn-id: r54478
2010-11-25 16:09:45 +00:00
Filippos Karapetis
16006c78f5
SCI: Fixed a bug in the show_instruments console command
...
svn-id: r54477
2010-11-25 15:59:30 +00:00
Filippos Karapetis
2c2f3a97e6
SCI: Added support for the alternate Windows MIDI soundtracks of the CD versions of EcoQuest, Jones, KQ5 and SQ4
...
svn-id: r54476
2010-11-25 14:22:09 +00:00
Filippos Karapetis
394daa5704
SCI: Added engine method isCD()
...
svn-id: r54475
2010-11-25 14:19:02 +00:00
Filippos Karapetis
29395974ca
SCI: Remove the Windows versions of Freddy Pharkas. This one has an alternative sound track, but it's handled in a different manner
...
svn-id: r54474
2010-11-25 14:16:46 +00:00
Filippos Karapetis
d9f429716f
SCI: Fixed compilation
...
svn-id: r54473
2010-11-25 13:01:45 +00:00
Filippos Karapetis
69da6a6dd6
SCI: added Windows entries for all games with alternate GM tracks
...
These are the CD versions of EcoQuest, Jones, KQ5, Pharkas and SQ4
Also, added AGDF_CD to all CD versions that have corresponding floppy versions
svn-id: r54472
2010-11-25 12:44:17 +00:00
Walter van Niftrik
8c4ebc434d
SCI: Fix bug in MT-32 checksum computation. Thanks Sven for finding this.
...
svn-id: r54471
2010-11-25 11:19:46 +00:00
Filippos Karapetis
52898b6336
SCI: Fixed digital audio at the beginning of KQ5CD and removed a hack for the Windows version
...
svn-id: r54466
2010-11-25 02:21:07 +00:00
Filippos Karapetis
ff58eea2ce
SCI: Set _useMT32Track correctly for KQ5 Windows, thus simplifying the code
...
svn-id: r54465
2010-11-25 01:31:03 +00:00
Filippos Karapetis
7508260954
SCI: Added support for the alternative GM tracks of the Windows version of KQ5CD (bug #3041239 )
...
Note that the empty GM track for the Sierra logo makes the game hang, so the
MT-32 track is used, which sounds awful
svn-id: r54464
2010-11-25 01:19:45 +00:00
Filippos Karapetis
169c6be32b
SCI: Fixed a bug in the script disassembler
...
svn-id: r54463
2010-11-24 21:32:34 +00:00
Filippos Karapetis
dcd1326970
SCI: Some renaming and added several TODOs concerning reverb
...
svn-id: r54461
2010-11-24 16:01:30 +00:00
Filippos Karapetis
1ebae78ff1
SCI/SOUND: Applied patch #3117577 - "SCI: MT-32 plays "warble" of notes when music resumes", with some slight modifications
...
This is only used by SCI for now, but it is probably correct to apply this for
all engines, thus an appropriate TODO has been added
svn-id: r54460
2010-11-24 15:12:43 +00:00
Filippos Karapetis
9493b9add5
SCI: Moved handling of special reverb value 127 outside of the MIDI driver
...
svn-id: r54459
2010-11-24 14:51:29 +00:00
Filippos Karapetis
c3cb4c92a8
SCI: Placed some selectors added in SCI1.1 in a separate table
...
svn-id: r54458
2010-11-24 14:38:08 +00:00
Filippos Karapetis
364d37b302
SCI: some changes to the way reverb is handled
...
- "Invalid" SCI reverb values (127) are properly handled now
- SCI kDoSound(reverb) sets the global reverb (renamed it accordingly)
- kDoSound(reverb) can also return the current reverb if no parameter is sent
svn-id: r54457
2010-11-24 14:21:31 +00:00
Filippos Karapetis
642d15e43f
SCI: Added a getReverb() accessor to the SciMusic class
...
svn-id: r54456
2010-11-24 14:15:46 +00:00
Filippos Karapetis
7fc171e3bc
SCI: Some slight changes to get the "find_callk" console command working in KQ5
...
- Ignore invalid object in KQ5 script 784
- Script 980 looks to be an unused leftover, as its object contain references to
classes placed in script 988, which is missing
svn-id: r54455
2010-11-24 11:57:11 +00:00
Filippos Karapetis
332a438ccf
SCI: Added a TODO for the default reverb value
...
svn-id: r54454
2010-11-24 11:26:48 +00:00
Filippos Karapetis
fcd8a04c64
SCI: Read MT-32 reverb data correctly (patch #3117434 )
...
svn-id: r54453
2010-11-24 11:19:27 +00:00
Filippos Karapetis
d66c43eb5e
SCI: added a workaround for script bug #3116892 - "SQ4 German: crash when shooting with laser", by applying the one for the English version
...
svn-id: r54447
2010-11-23 22:42:03 +00:00
Filippos Karapetis
d438b739cf
SCI: Also send a sustain off on a notes off event (patch from bug #3116608 )
...
svn-id: r54429
2010-11-23 16:03:30 +00:00
Filippos Karapetis
23bd8a1c26
SCI: Ignore polyphonic/channel aftertouch (0xa0 / 0xd0) in the MIDI driver, like in the Adlib driver. SSCI doesn't handle these, so we shouldn't handle them either
...
svn-id: r54428
2010-11-23 15:47:54 +00:00
Filippos Karapetis
c140e43a35
SCI: Added entries for the GOG versions of Phantasmagoria 1 and 2 (patch #3112884 )
...
svn-id: r54427
2010-11-23 12:07:21 +00:00
Filippos Karapetis
fe17f26af8
SCI: Added support for the keypad +/- keys
...
svn-id: r54420
2010-11-22 18:39:06 +00:00
Filippos Karapetis
eba5c441b2
SCI: Fixed bug #3044050 - "SQ4FLOPPY: Crash while flying in Skate-o-Rama"
...
Fixed Object::locateVarSelector() for SCI0-SCI1 games, as it wasn't checking the
class for object variables
svn-id: r54415
2010-11-22 10:23:53 +00:00
Filippos Karapetis
d8afddac63
SCI: Patched the QFG3 character import screen the same way as with QFG2
...
This prevents random crashes and slow refreshing, same as with QFG2
svn-id: r54414
2010-11-22 00:20:00 +00:00
Filippos Karapetis
0b06a1fe7b
SCI: Proper fix for the QFG2 character import screen crashes (bug #3037996 )
...
Script 944 does constant reallocations whenever the selection changes,
which leads to all sorts of unpredictable crashes. Thanks to waltervn for
his help on this issue
svn-id: r54413
2010-11-21 23:43:14 +00:00
Filippos Karapetis
8045c4f87a
SCI: Fix for bug #3037996 - "QFG2: Crash during import dialog after time (import works)"
...
svn-id: r54407
2010-11-21 11:04:52 +00:00
Filippos Karapetis
788598a689
SCI: Fixed the "version" console command in SCI1.1 and earlier games
...
svn-id: r54406
2010-11-21 10:31:02 +00:00
Filippos Karapetis
f2498b54ce
SCI: Added 3 uninitialized temp fixes for the RAMA demo, which is now working
...
svn-id: r54404
2010-11-21 02:08:35 +00:00
Filippos Karapetis
57d9de00f8
SCI: Removed the correct subops from kString in late SCI2.1/SCI3 games (thanks to waltervn)
...
svn-id: r54403
2010-11-21 02:07:55 +00:00
Filippos Karapetis
ac7c488c7c
SCI: kArray wasn't changed in late SCI2.1/SCI3 games (thanks to waltervn)
...
svn-id: r54402
2010-11-21 02:06:20 +00:00
Filippos Karapetis
97d31c6ac6
SCI: Added the kString/kArray type in the "version" console command
...
svn-id: r54401
2010-11-21 00:58:06 +00:00
Filippos Karapetis
ffcd6783c7
SCI: Removed incorrect pointer arithmetic support for SCI2 strings
...
There was never pointer arithmetic support in SCI2 and newer games
svn-id: r54400
2010-11-21 00:49:54 +00:00
Filippos Karapetis
cd69472be9
SCI: Adapted kArray/kString to use the new heuristic for late SCI2.1/SCI3 games, and updated their subops accordingly
...
svn-id: r54399
2010-11-21 00:47:56 +00:00
Filippos Karapetis
d275461958
SCI: Added a heuristic to detect the modified late SCI2.1/SCI3 kString/kArray kernel functions
...
svn-id: r54398
2010-11-21 00:44:04 +00:00
Filippos Karapetis
d886c037dd
SCI: Fix ScummVM freezing during the credits scene in EcoQuest 1 (bug #3101846 )
...
svn-id: r54395
2010-11-20 19:52:31 +00:00
Filippos Karapetis
b2ba35124c
SCI: Fixed timer bug #3109139 - "SQ4: Crash after exiting Skate-o-Rama during chase"
...
svn-id: r54391
2010-11-20 00:52:05 +00:00
Filippos Karapetis
c8ef70ea1c
SCI: Some minor fixes for Phantasmagoria 2 (which doesn't work at all, since it has some differences in its views)
...
svn-id: r54390
2010-11-20 00:20:05 +00:00
Max Horn
2180b2d6b5
COMMON: Split common/stream.h into several headers
...
svn-id: r54385
2010-11-19 17:03:07 +00:00
Willem Jan Palenstijn
a24d5ba2f4
SCI: Only compile kGetConfig for SCI32
...
svn-id: r54382
2010-11-19 14:19:02 +00:00
Lars Persson
3c7f9aa34a
SCI : data field is only supported if building for SCI32
...
svn-id: r54379
2010-11-19 13:56:11 +00:00
Filippos Karapetis
5d53673e93
SCI: Also send system strings to kString(). This makes LSL7 continue into the actual game! :D
...
svn-id: r54377
2010-11-19 13:23:20 +00:00
Lars Persson
c7cf764890
SCI: Only handle seg_type_string if ENABLE_SCI32 is defined
...
svn-id: r54376
2010-11-19 13:03:31 +00:00
Lars Skovlund
5ecac66c6a
Some subfunctions changed positions in SCI3 kString. WIP.
...
And with this, LSL7 starts up. Yeah, baby!
svn-id: r54374
2010-11-19 12:52:17 +00:00
Lars Skovlund
84d4a4a89f
Implement a couple of NULL checks in kArray
...
svn-id: r54373
2010-11-19 12:49:46 +00:00
Lars Skovlund
1a6597ebc2
SCI3: Implement new opcode 0x4c.
...
svn-id: r54370
2010-11-19 12:47:47 +00:00
Lars Skovlund
fbf5a453c7
SCI: Implement the GetConfig call for LSL7
...
svn-id: r54369
2010-11-19 12:46:36 +00:00
Filippos Karapetis
c19e8377f9
SCI: Added pointer arithmetic support for SCI2 strings
...
svn-id: r54365
2010-11-19 10:28:43 +00:00
Filippos Karapetis
6ec8ec416b
SCI: Added support for script -> string copying (used by late SCI2.1 and SCI3 games)
...
svn-id: r54364
2010-11-19 10:27:22 +00:00
Filippos Karapetis
763ddd2203
SCI: Fixed comment
...
svn-id: r54362
2010-11-19 08:19:14 +00:00
Filippos Karapetis
3b07056a47
SCI: Moved the Object class in a separate file
...
svn-id: r54361
2010-11-19 08:18:24 +00:00
Filippos Karapetis
c87ef6f307
SCI: Added KQ4 Atari ST version from bug report #3110941
...
svn-id: r54360
2010-11-19 07:43:47 +00:00
Max Horn
a0df86955f
ALL: Push down deps on stream.h from .h to .cpp files
...
svn-id: r54358
2010-11-19 01:37:04 +00:00
Filippos Karapetis
34272e2529
SCI: Added a stub for a new subop in kString, and disabled trackOriginAndFindWorkaround() for SCI3 games for now
...
svn-id: r54352
2010-11-18 22:46:29 +00:00
Filippos Karapetis
4609f11137
SCI: Added species selector functionality for SCI3
...
svn-id: r54351
2010-11-18 22:27:56 +00:00
Filippos Karapetis
9e418e6eaf
SCI: Removed SCI3 hacks in kClone/kDisposeClone
...
svn-id: r54350
2010-11-18 22:26:58 +00:00
Johannes Schickel
94d3d82f59
SCI: Slight formatting fix and use \t instead of a tab character in debugN.
...
svn-id: r54349
2010-11-18 21:45:31 +00:00
Lars Skovlund
c325d815d2
SCI: Fix debugger disassembly of property accesses in SCI3
...
svn-id: r54348
2010-11-18 21:41:13 +00:00
Lars Skovlund
f0fea21639
SCI3: Fix new opcode 0x4e
...
svn-id: r54347
2010-11-18 21:38:00 +00:00
Filippos Karapetis
49468fdfff
SCI3: Added another previously unused opcode (0x27 / 0x4e)
...
svn-id: r54341
2010-11-18 19:20:30 +00:00
Filippos Karapetis
c2bdba2ea6
SCI2: Treat SCI2 raw arrays (type 3) as strings in kArray
...
SCI2 strings inherit from arrays, plus kArray and kString are almost the
same, so this is all possible. This is needed, as SCI scripts copy
strings on arrays and then process them as such (e.g. in RAMA and LSL7)
However, we really need to merge SCI2 array types with the SCI2 string
types, and ultimately merge the code with the SCI1 array and string types.
svn-id: r54340
2010-11-18 19:18:11 +00:00
Lars Skovlund
487feb3843
Get rid of a const_cast.
...
svn-id: r54333
2010-11-18 17:38:56 +00:00
Johannes Schickel
b593b15c50
SCI: Slight formatting fix.
...
svn-id: r54330
2010-11-18 17:25:09 +00:00
Lars Skovlund
0001a6b74d
SCI3: implement setInfoSelector() for SCI3, fixes infinite recursion
...
svn-id: r54328
2010-11-18 17:13:01 +00:00
Lars Skovlund
c5252071db
SCI3: Add proper support for the calle instruction
...
svn-id: r54327
2010-11-18 17:04:00 +00:00
Lars Skovlund
1621e7d5c0
Fix operator precedence problem
...
svn-id: r54324
2010-11-18 16:58:25 +00:00
Filippos Karapetis
34c18f20d8
SCI: Added hacks in kClone/kDisposeClone for SCI3
...
svn-id: r54307
2010-11-17 21:49:19 +00:00
Filippos Karapetis
bd844a8c92
SCI: Call lookupArray() after allocateArray() when duplicating arrays
...
This ensures that the pointer to the element that lookupArray() returned
won't be invalidated in case the array is reallocated because of
allocateArray() - same issue as in kClone()
svn-id: r54306
2010-11-17 21:47:05 +00:00
Filippos Karapetis
ddbda3eb15
SCI: Code formatting
...
svn-id: r54305
2010-11-17 20:50:24 +00:00
Filippos Karapetis
ba6de1bcdf
SCI: Added sanity checks for SCI3 scripts bigger than 64KB
...
- Extended the "verify_scripts" console command for SCI3 scripts
- Added a check for such large scripts when scripts are loaded, with
an error for now, till a mechanism to support such scripts with a
16-bit addressing scheme is in place (e.g. overlaying, or splitting
scripts). Either way, such scripts should span over more than one segment
svn-id: r54304
2010-11-17 20:46:59 +00:00
Lars Skovlund
8a6efcac65
SCI3: Implement opcode to retrieve the info selector.
...
svn-id: r54303
2010-11-17 20:43:51 +00:00
Lars Skovlund
e551f3bf33
SCI3: Handle script exports correctly
...
svn-id: r54302
2010-11-17 20:37:13 +00:00
Lars Skovlund
5ab823b16a
SCI3: relocate operand of the lofsa opcode
...
svn-id: r54301
2010-11-17 20:29:10 +00:00
Filippos Karapetis
61e02f0570
SCI: Fixed the speed in the intro of PQ2, version 1.002.011 (bug #3102071 )
...
In version 1.002.011, global 3, used for timing, is incorrectly initialized
to 0, whereas it should be 6 (like in other versions). Initializing it to
the correct value fixes the speed in the intro. This has been based on the
patch for that version by NewRisingSun(NRS) / Belzorash
svn-id: r54298
2010-11-17 18:46:29 +00:00
Lars Skovlund
e086ef0096
Adapt SCI property instructions (pToa etc.) to SCI3
...
svn-id: r54296
2010-11-17 17:21:02 +00:00
Filippos Karapetis
430df91076
SCI1.1 and newer games always ignore move count. The "version" command works now in SCI3
...
svn-id: r54295
2010-11-17 15:02:58 +00:00
Filippos Karapetis
e55a55a277
SCI: Remove key modifier (e.g. num lock) status for keyboard function keys. This fixes function key input (e.g. F3) when num lock is on
...
svn-id: r54294
2010-11-17 14:48:28 +00:00
Filippos Karapetis
47e137fd8e
SCI: lofsa/lofss functionality for SCI3
...
- Updated detectLofsType() for SCI3
- Cleaned up op_lofsa and op_lofss and updated them for SCI3
svn-id: r54293
2010-11-17 14:28:32 +00:00
Filippos Karapetis
c003032b4c
SCI: Allow SCI3 game scripts to run
...
SCI3 scripts do start up now, however they stop quite early, as there is still
missing functionality which prevents them from running fully. This will be useful
for debugging, though
svn-id: r54292
2010-11-17 14:08:13 +00:00
Filippos Karapetis
bb9b7c24f9
SCI: Added some SCI3 selector related information
...
- Added a TODO for the usage of the -info- selector in kClone and kDisposeClone in
SCI3 scripts, as it's no longer used in SCI3
- Added information about which of the selectors are missing in SCI3. There are
some more which are missing, but aren't used in SCI2-SCI3 anyway
- Some styling
svn-id: r54291
2010-11-17 14:03:14 +00:00
Max Horn
3d7f7b49fe
SCI: Make class table size OB1 workaround slightly more readable
...
svn-id: r54290
2010-11-17 13:01:58 +00:00
Filippos Karapetis
58e4d9a97a
SCI: Fixed the return values of Object::relocateSci3()
...
svn-id: r54289
2010-11-17 12:33:55 +00:00
Max Horn
5a554e3dbe
SCI: Change 'colour' to 'color'
...
All other instances already were spelled 'color' in the SCI
engine (and also most other parts of ScummVM)
svn-id: r54285
2010-11-17 12:13:03 +00:00
Filippos Karapetis
a702ad5123
SCI3: added a SCI3 implementation of findGameObject(), based on a patch by lskovlun
...
svn-id: r54284
2010-11-17 11:17:38 +00:00
Filippos Karapetis
b707d6e7dc
SCI: More work on SCI3, based on a patch by lskovlun
...
- Added SCI3 equivalents for access to object selectors
- Added SCI3 implementation of object relocation
- Added SCI3 implementation of Script::initialiseClasses()
svn-id: r54283
2010-11-17 11:15:52 +00:00
Filippos Karapetis
59ad5085bc
SCI: Some more work on SCI3, based on a patch by lskovlun
...
- Added a SCI3 implementation of Script::load()
- Added a SCI3 implementation of Script::initialiseClasses()
- Removed some duplicate code
svn-id: r54282
2010-11-17 09:28:04 +00:00
Filippos Karapetis
e4c967a301
SCI: Added the SCI3 equivalent of initialiseObjects(), from a patch by lskovlun
...
svn-id: r54281
2010-11-17 09:10:43 +00:00
Filippos Karapetis
f44b084deb
SCI: Some restructuring. Added some SCI3 placeholders/stubs
...
svn-id: r54280
2010-11-17 08:53:02 +00:00
Filippos Karapetis
0470e47145
SCI: The heap was a separate resource in SCI1.1 - SCI2.1 games only. It was later
...
merged into the script files again in SCI3
svn-id: r54279
2010-11-17 08:30:08 +00:00
Filippos Karapetis
553d571c50
SCI: Specify that -1 means "all maps" when listing base36-encoded resources
...
svn-id: r54278
2010-11-17 08:18:56 +00:00
Filippos Karapetis
c36f072190
SCI: Updated dissectScript() to handle synonym blocks
...
svn-id: r54277
2010-11-17 08:10:36 +00:00
Filippos Karapetis
9d318497f7
SCI: Unified the functionality and parameters of the disasm and disasm_addr commands
...
svn-id: r54276
2010-11-17 08:05:11 +00:00
Filippos Karapetis
c2d9c1b06b
SCI: Added the ability to display original script bytecode in the "disasm" console command
...
svn-id: r54275
2010-11-17 00:05:09 +00:00
Filippos Karapetis
f81b42dcaf
SCI: Fix for bug #3110215 - "SQ4 German: endless flight on Estros"
...
svn-id: r54272
2010-11-16 22:36:06 +00:00
David Turner
69e42a0d4d
SCI: Workaround for bug #3109299 "QFG1VGA: Crash when leaving area east of Antwerp"
...
Extended current workarounds to cover QFG1VGA.
svn-id: r54239
2010-11-15 06:17:35 +00:00
Walter van Niftrik
ecaab84cb5
SCI: Fixup pathfinding start point when on polygon edge.
...
We now also fixup the start point when it's on the edge of an obstacle. If the
start point is also on the edge of the screen, the actor is now allowed to
walk through that obstacle to find his way to clear territory. This is based
on observation of SSCI behavior.
svn-id: r54230
2010-11-13 14:46:27 +00:00
Filippos Karapetis
f3ea2315fc
SCI: Fixed script bug #3108012 - "Hoyle1: Crash when changing Deal Speed in Hearts"
...
svn-id: r54226
2010-11-13 13:34:10 +00:00
Matthew Hoops
405fd0b5eb
SCI: Update resource types for SCI2.1/3
...
svn-id: r54220
2010-11-13 00:20:23 +00:00
Filippos Karapetis
103ac9c566
Fixed signed/unsigned warning
...
svn-id: r54217
2010-11-12 13:05:54 +00:00
Filippos Karapetis
cc403e542d
SCI: Don't check for SCI2/SCI2.1 kernel types in SCI3 games.
...
Patch by lskovlun
svn-id: r54216
2010-11-12 00:01:13 +00:00
Filippos Karapetis
77da22290d
SCI: kSave case 0 is actually kSaveGame. Based on a patch by lskovlun
...
svn-id: r54215
2010-11-11 23:51:43 +00:00
Filippos Karapetis
31719eeb28
SCI2: Make robots return immediately for now, till they're implemented
...
Based on a patch by lskovlun
svn-id: r54214
2010-11-11 23:48:01 +00:00
Filippos Karapetis
ee85ca0007
SCI: Properly adding SCI3 script patches (a regression of r54211)
...
svn-id: r54213
2010-11-11 23:46:53 +00:00