aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2010-09-05SCI: reuse kGetAngle from kDoAvoiderMartin Kiewitz
svn-id: r52560
2010-09-05SCI: initialize members of the Object class when it's constructedFilippos Karapetis
svn-id: r52544
2010-09-05SCI: Changed consecutive ifs to a switchFilippos Karapetis
A table would be better, but the switch will do for now svn-id: r52543
2010-09-05SCI: Fix for alignment exception issue, reported by BluddyFilippos Karapetis
svn-id: r52542
2010-09-05SCI: Some cleanup of the static selector codeFilippos Karapetis
- Added more static selectors, for debugging - Added some needed selectors for the non-interactive demo of Pepper svn-id: r52541
2010-09-05SCI: Added a workaround for the non-interactive demo of PepperFilippos Karapetis
svn-id: r52540
2010-09-05SCI: Fixed script bug #3059544 - "KQ6CD: Error when looking at rotten tomato"Filippos Karapetis
svn-id: r52539
2010-09-04SCI: kDoBresen changes for sci1early+Martin Kiewitz
including change to compare dest and current position directly, otherwise we would trigger ::moveDone one cycle too late in case the current move completed - fixes lsl5 patti upside down bug #3059336 and lb2cd (cd only!) laura bow getting transformed into a boiler-flame (bug #3050602) - lsl5 was not a real regression, the timing of previous kDoBresen way just off, so it didn't happen in that scene, but happened in lb2cd svn-id: r52531
2010-09-04SCI: Janitorial - fixed spaces and typosFilippos Karapetis
svn-id: r52527
2010-09-04SCI: Don't try to initialize non-existent scripts, error out instead Filippos Karapetis
(Invalid scripts may be requested to be loaded when warping to an incorrect room) svn-id: r52524
2010-09-04SCI: Updated comment concerning kCantBeHere and removed a wrong check for ↵Filippos Karapetis
Hoyle 3 svn-id: r52523
2010-09-04SCI: fixing typo in kDoAvoiderMartin Kiewitz
svn-id: r52520
2010-09-04SCI: Fixed bug #3037595 - "KQ4: Crash reading message in the bottle (whale ↵Filippos Karapetis
mouth)" svn-id: r52516
2010-09-04SCI: removing non-sierra sci code in kDirLoopMartin Kiewitz
svn-id: r52515
2010-09-04SCI: doing detectDoSoundType() properly sci0earlyMartin Kiewitz
checking, if sound resources are sci0early or late for sci0early games instead of hardcoding lsl2 svn-id: r52514
2010-09-04SCI: lsl2 early uses sci0late soundMartin Kiewitz
fixes bug #3037012 and lsl2 now has music everywhere svn-id: r52513
2010-09-04SCI: properly reversed kDoAvoiderMartin Kiewitz
getAngle()-code is missing though. Still fixes lsl2early hang on airport (bug #3037036), fixes kq4early unicorn doing moonwalk (kq4late still works as well) svn-id: r52512
2010-09-03SCI: Fixed bug #3058865 - "Jones in the Fast Lane CD: Graphics Missing"Filippos Karapetis
svn-id: r52511
2010-09-03SCI: kDirLoop freshly reversedMartin Kiewitz
svn-id: r52510
2010-09-03SCI: kClone/kDisposeClone behaviour more accurateMartin Kiewitz
now also checking -info- selector, if object is supposed to get freed. Fixes kq4 early hanging (in intro, when opening door, etc.) svn-id: r52508
2010-09-02SCI: Fixed compilation when VM_DEBUG_SEND is enabledFilippos Karapetis
svn-id: r52498
2010-09-02SCI: Added a FIXME for bug #3038870, related to kParse()Filippos Karapetis
svn-id: r52497
2010-09-02SCI: fixing debug output for bpxMartin Kiewitz
svn-id: r52491
2010-09-02SCI: adding "bpr" and "bpw" debug commandsMartin Kiewitz
"bpr" breakpoint on reading of selectors "bpw" breakpoint of writing of selectors "bpx" is now breakpoint on executing of selectors only svn-id: r52490
2010-09-02JANITORIAL: Remove extra semi-colons.Torbjörn Andersson
svn-id: r52489
2010-08-31SCI: Added a workaround for bug #3056811 - "SQ5: Game crashes while playing ↵Filippos Karapetis
"Battle Cruiser"" svn-id: r52477
2010-08-31SCI: adding workaround for platform-specificMartin Kiewitz
incompatibility with some sierra games. Some games open a new menu, set mouse cursor within that menu and expect the mouse cursor to be in there and will close it, if it's outside. In case of Wiimote/touch interfaces this logic won't work of course. Fixes island of dr. brain and QfG1VGA on Wii and touch-interface platforms svn-id: r52474
2010-08-31SCI: enable new kDoBresen/InitBresenMartin Kiewitz
enable replacement of save/load dialogs per default add config-var "sci_originalsaveload" for not replacing dialogs add config-var "sci_dither" for enabling dithering in EGA games new kDoBresen fix qfg2 walk against wall bug (#3053131) and hoyle3 unreadable dice bug (#3036922) svn-id: r52467
2010-08-31SCI: Added automatic detection of some static selectorsFilippos Karapetis
which keep changing location in each game svn-id: r52466
2010-08-31SCI: Disabled some debug related GC code, which effectivelyFilippos Karapetis
wastes cycles if we're not debugging the GC svn-id: r52465
2010-08-30SCI: fix warningMartin Kiewitz
svn-id: r52457
2010-08-30SCI: ability to ignore movecount for new DoBresenMartin Kiewitz
fixes later sci games, when using new kDoBresen/kInitBresen svn-id: r52454
2010-08-30SCI: freshly reversed kDoBresen/kInitBresenMartin Kiewitz
fixes qfg2 walking against wall, etc. BUT its currently disabled by default. You need to comment out the #define USE_OLD_BRESEN line in kmovement.cpp svn-id: r52453
2010-08-30SCI: adding comments for kDoBresenMartin Kiewitz
svn-id: r52452
2010-08-30SCI: adding comments for r52450Martin Kiewitz
svn-id: r52451
2010-08-30SCI: check filesize of qfg import filesMartin Kiewitz
filter out files that are larger than 1k, actually removes real saved games from the list svn-id: r52450
2010-08-30SCI: reverting r52448Martin Kiewitz
broke importing, also savedgames are named "qfg1.0xx", so they werent showed before anyway and ".sav" is not mandatory for exported character files. svn-id: r52449
2010-08-29SCI: Only show exported characters in the QFG import screens.Filippos Karapetis
QFG can't import saved games, thus there is no point in including them in the character import screens. svn-id: r52448
2010-08-29SCI: Fixed bug #3038767 - "SCI Fanmade - Cascade Quest: Crash when restoring ↵Filippos Karapetis
a game" svn-id: r52447
2010-08-29SCI: cleanup kDoBresen (no real code change)Martin Kiewitz
svn-id: r52446
2010-08-29SCI: fix typo in commentMartin Kiewitz
svn-id: r52445
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