aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2009-12-30SCI: fix palette merging (fixes lsl1demo right at the beginning and sq5 ↵Martin Kiewitz
wilco on title screen) svn-id: r46775
2009-12-30SCI/newmusic: fix loop logicMartin Kiewitz
svn-id: r46774
2009-12-30SCI/newmusic: update loop selector when track is finished (fixes hq1 ending, ↵Martin Kiewitz
letting one save the character data for qfg2) svn-id: r46769
2009-12-30SCI32: Added sanity checks to kAddScreenItem and kUpdateScreenItem, so that ↵Filippos Karapetis
they don't try and draw cels outside the screen svn-id: r46767
2009-12-30SCI/new sound code:Filippos Karapetis
- call cmdDisposeHandle() instead of soundKill when a track is being replaced - Added information about cmdReverb svn-id: r46766
2009-12-30SCI32:Matthew Hoops
- Set signature for Array/String - Add the kernel table differences for the GK2 demo - Implement kMessage changes in SCI32 - Use an empty string as the default path for all games now (and modify kValidPath to accept that only as valid) - Add dereferencing for Arrays svn-id: r46756
2009-12-30Formatting.Johannes Schickel
svn-id: r46755
2009-12-30Switched to the new pathfinding code, after talking with waltervnFilippos Karapetis
svn-id: r46752
2009-12-30Fixed warningsFilippos Karapetis
svn-id: r46747
2009-12-30Initial implementation of the SCI21 kList kernel function (which calls all ↵Filippos Karapetis
the other list-related functions), thanks to the help of waltervn svn-id: r46744
2009-12-30SCI: support for uncompressed sci1 views (fixes qfg3 demo)Martin Kiewitz
svn-id: r46743
2009-12-30SCI32: Moved all the list related kernel functions inside klists.cpp, and ↵Filippos Karapetis
implemented kListAllTrue with the help of waltervn svn-id: r46742
2009-12-30Implemented ListFirstTrue(), thanks to the help of waltervn. Now, buttons ↵Filippos Karapetis
can be highlighted and clicked when the control panel is shown in GK1, and the options dialog pops up when the options button is selected svn-id: r46741
2009-12-30SCI32: added handling of variable selectors in kListEachElementDo() and ↵Filippos Karapetis
silenced some annoying warnings svn-id: r46740
2009-12-30SCI32: added some of clone2727's changes to kArray and kString, and ↵Filippos Karapetis
implemented kListIndexOf svn-id: r46739
2009-12-30Updated documentation of the VMD decoder to indicate which SCI32 games used ↵Filippos Karapetis
VMD videos svn-id: r46738
2009-12-30The wrapper for the VMD decoder is only used in the SCI engine for SCI32 ↵Filippos Karapetis
games, so moved it inside the engine, instead of common code. Added support for VMD video playing from the "play_video" console command svn-id: r46737
2009-12-29SCI/newmusic: fixed fading (fixes gk1 demo, park area)Martin Kiewitz
svn-id: r46730
2009-12-29SCI: returning back raw == 0, when script trying to access invalid memoryMartin Kiewitz
svn-id: r46720
2009-12-29SCI: dont crash when scripts are trying to access invalid memory (fixes ↵Martin Kiewitz
intro of lb2cd) svn-id: r46718
2009-12-29SCI/newmusic: Removed playlist-feature from cmdResumeHandle cause that is ↵Martin Kiewitz
sci0 only svn-id: r46714
2009-12-29SCI/newmusic: dont do pause/resume on the whole playlist prior sci1late ↵Martin Kiewitz
(soundversion) svn-id: r46713
2009-12-29SCI/newmusic: changed pauseCounter again ;)Martin Kiewitz
svn-id: r46707
2009-12-29SCI/newmusic: changed pausecounter behaviour within resumeMartin Kiewitz
svn-id: r46706
2009-12-29Reverted rev #46647 - the title music in Codename: Iceman works correctly againFilippos Karapetis
svn-id: r46701
2009-12-29SCI/new music code: Fixed loading of saved games. Also, stopped sounds are ↵Filippos Karapetis
no longer paused svn-id: r46700
2009-12-29Better checking for the cmdMuteSound and cmdVolume special casesFilippos Karapetis
svn-id: r46699
2009-12-29Removed leftover debug outputFilippos Karapetis
svn-id: r46698
2009-12-29SCI/new music code: cmdPauseHandle/cmdResumeHandle now work for SCI0 gamesFilippos Karapetis
svn-id: r46697
2009-12-28SCI/newmusic: Added pausecounter cause sierra sci also does thisMartin Kiewitz
svn-id: r46693
2009-12-28SCI/new music code: Implemented cmdSendMidi, and removed access to _argc ↵Filippos Karapetis
from sound commands svn-id: r46692
2009-12-28SCI/newmusic: Added comment about weird sierra sci behaviourMartin Kiewitz
svn-id: r46691
2009-12-28SCI/newmusic: Accept object 0:0 in cmdPauseHandle, pause the whole playlist ↵Martin Kiewitz
then (fixes castle of dr. brain during intro) svn-id: r46690
2009-12-28SCI: Further objectify MusicEntryMax Horn
svn-id: r46689
2009-12-28SCI: Start objectifying MusicEntryMax Horn
svn-id: r46687
2009-12-28cleanupMax Horn
svn-id: r46686
2009-12-28SCI: Make some code comply to our naming conventionsMax Horn
svn-id: r46685
2009-12-28SCI/new sound code:Filippos Karapetis
- Made the SciMusic class private, and added wrapper functions for invoking specific methods of SciMusic from outside the SoundCommandParser class - Many SCI games keep creating and destroying sound effects constantly (i.e. many times per second). Therefore, another scheme has been devised, which replaces the mutex that was in place. Whenever a sound command is run which operates on a specific object in the play list, we disallow onTimer() from kicking in. This isn't ideal, but it does stop random deadlocks because of locked mutexes without any noticeable side effects svn-id: r46681
2009-12-28Moved the OLD_PATHFINDING define inside sci.h, together with the othersFilippos Karapetis
svn-id: r46679
2009-12-28SCI/new music code: Added a workaround for a music-related game bug in ↵Filippos Karapetis
Castle of Dr. Brain svn-id: r46678
2009-12-28Fixed music pausingFilippos Karapetis
svn-id: r46677
2009-12-28Added a workaround for an off-by-one invalid species access bug in the LSL2 ↵Filippos Karapetis
demo svn-id: r46673
2009-12-28SCI/new music code: Implemented the "songlib" debug commandFilippos Karapetis
svn-id: r46670
2009-12-28SCI/new music code: Hanging notes now stop when a sound is paused/stoppedFilippos Karapetis
svn-id: r46669
2009-12-28SCI/new music code: Fixed a race condition when removing a sound from the ↵Filippos Karapetis
playlist svn-id: r46668
2009-12-28SCI/new music code: Fixed music fading in SCI2 - seems like setting the ↵Filippos Karapetis
signal when fading is done isn't necessary svn-id: r46666
2009-12-27SCI/new music code:Filippos Karapetis
- Switched to Common::StackLock for mutexes - Renamed Music::stopAll() -> Music::clearPlayList() - Implemented a better Music::stopAll method, which stops all sounds with proper signals, instead of destroying them - Renamed the SCI0 command cmdGetPlayNext -> cmdStopAllSounds and implemented it svn-id: r46665
2009-12-27Fix regression in SCI1/1.1 wave sound from r46660. I knew it was a bad omen ↵Matthew Hoops
to have that revision number :P svn-id: r46664
2009-12-27SCI/newmusic: fixed warningMartin Kiewitz
svn-id: r46663
2009-12-27wCompressed is still a uint16 in SCI32, so correct the vol version detection.Matthew Hoops
svn-id: r46661