aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2010-01-10SCI: Fix default optimization level in AvoidPathWalter van Niftrik
svn-id: r47239
2010-01-10Silenced warnings ("this" isn't defined on object instantiation, and ↵Filippos Karapetis
commented out some unused variables) svn-id: r47237
2010-01-10SCI: fixed typo when getting resourceId on kPortrait call - fixes resource ↵Martin Kiewitz
not found in kq6 within pawn shop svn-id: r47223
2010-01-10SCI: updateBox now also supports hires modeMartin Kiewitz
svn-id: r47219
2010-01-10SCI: switching to hires kDrawCel when 8th parameter is passed, fixed ↵Martin Kiewitz
kDrawCel port adjust - fixes kq6 hires inventory svn-id: r47217
2010-01-08SCI: call gui-init right after loading a saved game, fixes weird gui issue ↵Martin Kiewitz
that occurs only when loading a save through ctrl-f5 menu "too early" in the game (where you couldnt load through original interpreter) svn-id: r47151
2010-01-07SCI: implement crazy hack that fixes coordinates of some cel placements. I'm ↵Martin Kiewitz
not sure if thats what sierra sci actually does or if we get coordinates 0,0 due some error somewhere. Fixes portrait window placement in kq6 - strangely they are still not at the correct height perhaps related to not adjusting "correctly" (whatever this means in this ugly mess that hires was implemented) inside BitsSave() svn-id: r47140
2010-01-07SCI: fixed save/restorebits within screen class for displayscreen case, ↵Martin Kiewitz
fixes kq6 menu bar svn-id: r47125
2010-01-07SCI: changed kernel signature for kDrawCel, enabled upscaled hires savebox ↵Martin Kiewitz
code ("crashed" before because afterwards kDrawCel will get the handle from the savebox call) svn-id: r47121
2010-01-06SCI: sync displayScreen with framebuffer after successful video playback ↵Martin Kiewitz
(fixes background vanishing in mainmenu of gk1demo) svn-id: r47089
2010-01-06- Some work on kLocalToGlobal and kGlobalToLocal for SCI2+Filippos Karapetis
- Removed the custom types MemoryHandle, LoopNo, CelNo (cause we ended up having code like LoopNo loopNo = ...) - Improved the sanity checks in frameOut() svn-id: r47087
2010-01-06The error inside execute_method() has been restored, it's only a warning for ↵Filippos Karapetis
SCI2+ games for now, till we figure out what's wrong svn-id: r47079
2010-01-06SCI: making most of the variables in screen class private (some of it was ↵Martin Kiewitz
needed for old gui) svn-id: r47075
2010-01-06Removed all hardcoded screen sizesFilippos Karapetis
svn-id: r47072
2010-01-05Changed an error to a warning in execute_method(), so that Torin's Passage ↵Filippos Karapetis
scripts continue running (and crash at some later point) svn-id: r47044
2010-01-05Zero the array before using it. You can go talk to Grace now, DrMcCoy.Matthew Hoops
svn-id: r47017
2010-01-05Fix walking in SCI32. Gabriel now will walk and DrMcCoy can now hear his ↵Matthew Hoops
precious 'Gabriel is a lout' line :P svn-id: r47011
2010-01-05More renamingFilippos Karapetis
svn-id: r47009
2010-01-05Renamed /gui to /graphics and /sfx to /sound, to better illustrate their purposeFilippos Karapetis
svn-id: r47007
2010-01-05SCI: Removed the old graphics codeFilippos Karapetis
svn-id: r47005
2010-01-05SCI: adjusting cel drawing according to left/top of planeMartin Kiewitz
svn-id: r47002
2010-01-04SCI: now filtering screenItems against planesMartin Kiewitz
svn-id: r46996
2010-01-04SCI: fix crash due accessing invalid object (implemented deleteScreenitem)Martin Kiewitz
svn-id: r46993
2010-01-04SCI: surprise for this DrMcCoy guyMartin Kiewitz
svn-id: r46992
2010-01-04SCI: Add support for SCI2 to AvoidPath.Walter van Niftrik
svn-id: r46986
2010-01-04SCI: kPalette / animate adjustments to behave more like sierra sci, also ↵Martin Kiewitz
doesnt crash in island of brain anymore svn-id: r46975
2010-01-04Updated commentFilippos Karapetis
svn-id: r46974
2010-01-04SCI/new sound code: update sound cues when kGetEvent() is called, instead of ↵Filippos Karapetis
kAnimate(), fixes music fading in LSL3 svn-id: r46973
2010-01-04Fallback detector:Filippos Karapetis
- Added detection for SCI2 games (GK1, PQ4, QFG4) - Rewrote the way demos are detected - Games are no longer distinguished from the existence of certain files svn-id: r46970
2010-01-03Renamed SCI_VERSION_AUTODETECT to SCI_VERSION_NONE to signify its actual purposeFilippos Karapetis
svn-id: r46959
2010-01-03sane_nodep() and sane_listp() should not be dummy functions when ↵Filippos Karapetis
DISABLE_VALIDATIONS is set, so that the engine doesn't try and refer to null pointer objects (and subsequently crash) svn-id: r46956
2010-01-03Fixed compilation with DISABLE_VALIDATIONS, and fixed a bug in kPrevNodeFilippos Karapetis
svn-id: r46949
2010-01-03SCI: Support pointer arithmetics in +ag, +agi, etc. tooLars Skovlund
svn-id: r46935
2010-01-03The "room" command can now set the current room number, too (more ↵Filippos Karapetis
straightforward than changing global var 13) svn-id: r46925
2010-01-03Implement kInPolygon for SCI32. GK1 now responds when you click on things.Matthew Hoops
svn-id: r46918
2010-01-02SCI: implemented new console command "listsaves"Martin Kiewitz
svn-id: r46883
2010-01-02Fix the GK1 CD intro sequence (regression from r46839, which fixed a ↵Matthew Hoops
regression from r46656). kPlatform with no arguments is different in SCI32. svn-id: r46874
2010-01-01SCI: Fix segfault in dual-language KQ5.Walter van Niftrik
svn-id: r46864
2010-01-01SCI: kDoAudio now also clips volume and adjusts to mixer volumeMartin Kiewitz
svn-id: r46852
2010-01-01SCI/newmusic: now clips volume against MUSIC_VOLUME_MAX (127) instead of the ↵Martin Kiewitz
mixer max volume (which would be wrong of course), adjusts volume when setting sample channel volume svn-id: r46850
2010-01-01SCI: volume for sci0 now set to 127, now using constant instead of valueMartin Kiewitz
svn-id: r46849
2010-01-01SCI: Added TODO within kDoAudioMartin Kiewitz
svn-id: r46847
2010-01-01SCI: fixing bad sorting of saved games due MMDDYYYY date savingMartin Kiewitz
svn-id: r46846
2010-01-01SCI/new music code: The MIDI driver is now reset whenever the game's VM ↵Filippos Karapetis
respawns, like what the old music code does. Fixes the MIDI music in KQ5CD, Lonbgow and perhaps others svn-id: r46843
2010-01-01Fixed KQ5CD (regression from rev. 46656)Filippos Karapetis
svn-id: r46839
2010-01-01Fixed broken savegames when saving with the new music codeFilippos Karapetis
svn-id: r46837
2010-01-01Added a comment for the reason updateSci0Cues() is called within kAnimate()Filippos Karapetis
svn-id: r46833
2010-01-01SCI: fixing saved game compatibilityMartin Kiewitz
svn-id: r46827
2010-01-01SCI: implement kFOpen (OPEN_OR_CREATE), makes it possible to save character ↵Martin Kiewitz
data at the end of qfg1ega svn-id: r46814
2010-01-01SCI/new music code:Filippos Karapetis
- Resolved a deadlock with the mixer, and added appropriate mutexes (a result of the fact that SCI mixes MIDI and digital audio in the same list) - Fixed sound playing when loading games, by properly resetting the MIDI driver - Reverted savegame version to 14 - the changes in versions 15 and 16 don't have any effect on the currently enabled old music code, and the new music code is disabled by default, and is still prone to changes - Now saving/loading signal, loop and hold for each sound, as well as reverb - Added stub code for setting reverb and channel hold - The signal, loop and hold values of each song are cached, like in SSCI and like what happens in Greg's SCI implementation. This allows a clear separation of the engine code from the rest of the engine. Reverted commits 46792 and 46797 - Removed duplicate song list accessing code - Song cues are now updated in kAnimate for SCI0, like the old music code does, to compensate for the fact that SCI0 didn't poll for music changes via cmdUpdateCues, like what SCI01 and newer do - Cleanup svn-id: r46812