aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2010-08-29SCI: fix warning (thx wjp, thank you not msvc)Martin Kiewitz
svn-id: r52443
2010-08-29SCI: fix buildMartin Kiewitz
svn-id: r52442
2010-08-29SCI: adding virtual lists for qfg-import roomsMartin Kiewitz
now lists import files of all possible games, adds game title before that, removes game prefixes for all files svn-id: r52441
2010-08-29SCI: Properly fixed bug #3053268 - "QFG1 VGA: Fetch spell crashes game"Filippos Karapetis
svn-id: r52440
2010-08-29SCI: fixed debug outputFilippos Karapetis
svn-id: r52438
2010-08-29SCI: Throw a warning in QFG import screens for unmatched filesFilippos Karapetis
The original SCI games supported up to 12 characters for file names, thus we use the file name returned as a mask to find the actual file, as we don't wrap/unwrap save file names in these screens. If no files match, or if more than 1 files match, throw a warning. svn-id: r52437
2010-08-29SCI: Fixed bug #3051475 - "MOTHERGOOSE CD: Crash after giving the pipe to ↵Filippos Karapetis
the king" svn-id: r52433
2010-08-29SCI: Fixed bug #3037874 - "SCI1.1: High cpu usage when a textbox is displayed"Filippos Karapetis
svn-id: r52432
2010-08-29SCI: Throttle the invocations of Engine::shouldQuit()Filippos Karapetis
SCI constantly invoked Engine::shouldQuit(), which in turn called 2 virtual functions. This added a significant overhead, as this was called constantly without any throttling whatsoever. Now, the invocation of shouldQuit() is throttled to be on each frame update (i.e. at a rate of 60fps). Thanks to wjp for profiling this. svn-id: r52431
2010-08-29SCI: Added proper handling of QFG exported character files.Filippos Karapetis
Now, QFG2, 3 and 4 may read exported characters from all other QFG games, like the originals did. Fixes bug #3054692 - "QFG2/QFG3 Import issues". svn-id: r52430
2010-08-27SCI: Fixed potential memory leak in convert_polygon()Torbjörn Andersson
svn-id: r52413
2010-08-27SCI: Possible fix for bug #3053268 - "QFG1 VGA: Fetch spell crashes game"Filippos Karapetis
svn-id: r52411
2010-08-26SCI: adjust r52397Martin Kiewitz
actually they return 0:0, when no bytes were read, otherwise they return the destination pointer svn-id: r52398
2010-08-26SCI: kFileIOReadString/kFGets return byte countMartin Kiewitz
in sierra sci of read bytes svn-id: r52397
2010-08-25SCI: Return empty string from fgets with maxsize 1Willem Jan Palenstijn
This should fix r3049360 in Hoyle4. svn-id: r52396
2010-08-25SCI: apply qfg1vga fight patch on weapon masterMartin Kiewitz
fixes fighting the weapon master as well... svn-id: r52381
2010-08-25SCI: Make assert stricter.Willem Jan Palenstijn
(Thanks to fuzzie.) svn-id: r52376
2010-08-24SCI: adding pharkas patch for ladder issueMartin Kiewitz
in room 320, fixes bug #3037192 svn-id: r52362
2010-08-24SCI: adding qfg1vga patch for fight issueMartin Kiewitz
fixes bug #3036756 svn-id: r52361
2010-08-24SCI: Fixed bug #3052359 - "Hoyle1: Hearts Crash"Filippos Karapetis
svn-id: r52352
2010-08-24SCI: Removed a now unused selector from the selector cacheFilippos Karapetis
svn-id: r52349
2010-08-24SCI: replacing save dialog as wellMartin Kiewitz
experimental feature - enable by putting "scireplacedialog=true" inside scummvm section of scummvm.ini LSL6 currently loses the ability to quicksave, when using the feature. Although i don't see it as a huge loss. That way it's now possible to save to up to 100 slots instead of just 20. svn-id: r52345
2010-08-24SCI: Define xLast/yLast for LB2 floppy (which has no selectorFilippos Karapetis
vocabulary), since they're used inside kDoBresen() svn-id: r52343
2010-08-24SCI: more work on replacing save dialogMartin Kiewitz
also removing some previous code, because it wont work that way svn-id: r52342
2010-08-24SCI: changing signature of kRestoreGameMartin Kiewitz
and changing patch code accordingly svn-id: r52320
2010-08-24SCI: now pausing/unpausing music in replaced restore dialogMartin Kiewitz
dialog will not get replaced in sci32, nor in mother goose. Enable by adding "scireplacedialog" inside scummvm section of scummvm.ini file. Note: this feature is experimental svn-id: r52318
2010-08-23SCI: some more work on replacing restore dialogMartin Kiewitz
svn-id: r52314
2010-08-23SCI: storing game super class address now inside SciEngineMartin Kiewitz
svn-id: r52311
2010-08-23SCI: some work on replacing sierra restore dialogMartin Kiewitz
svn-id: r52305
2010-08-23SCI: multiple changes for mother goose vgaMartin Kiewitz
which is sci1 and sci1.1 fixes bug #3051145 - separating this mother goose from ega and sci2.1 - adding workaround when restoring saved games in these games, games try to calculate restored savedgameid instead of looking it up, we patch this code out and also set the global to the current savedgameid - adding workaround for scripts checking savedgameid to be below 13 (our savedgameids begin at 100 now) - changing official range for savedgameids from 1000->1999 to 100->199, otherwise mother goose would have required much larger patches and this range should be fine even if we replace savedgame dialogs later svn-id: r52301
2010-08-23SCI: Check for EOF and errors when reading from a file. Fixes bug #3049360 - ↵Filippos Karapetis
"SCI: Bug in file read/write operations" svn-id: r52298
2010-08-23SCI: Fix whitespaceWillem Jan Palenstijn
svn-id: r52297
2010-08-23SCI: Fixed bug #3051163 - "MOTHERGOOSE: Crash at the very end" and merged 2 ↵Filippos Karapetis
SQ6 workarounds svn-id: r52294
2010-08-22SCI: Fixed bug #3048908 - "PQ3EGA: Wrong speech bubble background colors" ↵Filippos Karapetis
and added a FIXME inside kGraphDrawLine svn-id: r52291
2010-08-22SCI: Fixed bug #3050856 - "SQ3 : Crash at intro"Filippos Karapetis
svn-id: r52289
2010-08-22SCI: Add uninit'd workaround for the SQ6 demoMatthew Hoops
svn-id: r52283
2010-08-22SCI: Reimplemented the kShow kernel command, used by the inbuilt SCI ↵Filippos Karapetis
debugger. There is no real need to implement kernel debug commands, but since this one maps almost directly to our own "show" debug command, it has been reimplemented (was removed in rev #45310). Normally, there is no real need to implement kernel functions for debug functionality, since there are advanced tools for this purpose nowadays (plus, ScummVM's debugger). Fixes bug #3050616 - "QFG1 EGA: priority/control/view functions crash, debug mode" svn-id: r52281
2010-08-22SCI: Fix a bug in kFileIOWriteString. The first return statement should go ↵Matthew Hoops
inside the if-statement. svn-id: r52269
2010-08-21Reverted part of r52256, it's not really undefined behavior (the two parts ↵Filippos Karapetis
of the bitwise OR aren't reading from the same source) svn-id: r52258
2010-08-21SCI: Fixed potentially undefined behaviorFilippos Karapetis
svn-id: r52256
2010-08-21SCI added the "init" selector to the list of static selectors of LB2 floppy ↵Filippos Karapetis
(which has no selector vocabulary), so that the workarounds of the CD version match with the ones from the floppy version svn-id: r52253
2010-08-21SCI: Fixed bug #3050122 - "QFG3: Crash after throwing the spear of death"Filippos Karapetis
svn-id: r52251
2010-08-20SCI: added another comment to kRandomMartin Kiewitz
about hoyle4 svn-id: r52246
2010-08-20SCI: kRandom now exactly behaving like sierra sciMartin Kiewitz
hoyle4 and lsl5 door code work now svn-id: r52244
2010-08-20SCI: Fixed typos in kRandom()Filippos Karapetis
svn-id: r52242
2010-08-20SCI: Reverted kRandom to use unsigned integers again (used e.g. in LSL5) and ↵Filippos Karapetis
added a temporary hack for the special case in Hoyle 4 (0x0, 0xFFFF), till we find out how this is handled correctly svn-id: r52240
2010-08-20SCI: Fixed bug #3039308 - "HOYLE4: Rules Dialog missing background"Filippos Karapetis
svn-id: r52237
2010-08-20SCI: Fixed bug #3049435 - "QFG3: Crash at Simbani warrior challenge"Filippos Karapetis
svn-id: r52235
2010-08-20SCI: Fixed bug #3049146 - "MOTHERGOOSE CD: Rooms 7, 23 crash", merged some ↵Filippos Karapetis
similar workaround entries and added a comment for invalid rects received in kCan(t)BeHere svn-id: r52223
2010-08-20SCI: Fixed the GM detection introduced in rev #52211 to check the first ↵Filippos Karapetis
available track, instead of track 1 (which doesn't always exist, e.g. in Pharkas). Also, added a comment inside applyPatch() svn-id: r52222