aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
2010-01-16Disabled code which causes crashes/and or oddities with MIDI in later SCI ↵Filippos Karapetis
games, from rev #47321 svn-id: r47324
2010-01-16Added detection for the appropriate GM music channel play maskFilippos Karapetis
svn-id: r47323
2010-01-16SCI: View::drawScaled() created (doesnt do scaling yet), removed scaling ↵Martin Kiewitz
variables from View::draw, gfx calls drawScaled() when scaleX/Y != 128, getting scaled rect inside kAnimate() svn-id: r47322
2010-01-16SCI: Add support for earlier MT-32 patch formatWalter van Niftrik
svn-id: r47321
2010-01-16Fixed a Valgrind warning about an uninitialized variable, from waltervnFilippos Karapetis
svn-id: r47320
2010-01-16SCI: created getCelScaledRect() inside view classMartin Kiewitz
svn-id: r47319
2010-01-16The GM patches from Sierra's GM utility can now also be processed with their ↵Filippos Karapetis
original names. Thus, the user can just extract the patches from Sierra's GM utility in the extras folder, and it's not necessary to rename each individual file to "4.pat" and place it inside the associated game (works with the games that Sierra's GM patch updates, i.e. LSL1, LSL5, Hoyle3, SQ1, SQ4, Eco1, Longbow and Fairy tales) svn-id: r47318
2010-01-15Send a velocity off signal to all channels when a song is loadedFilippos Karapetis
svn-id: r47315
2010-01-15SCI: more detail info about scaleSignal bit 1Martin Kiewitz
svn-id: r47314
2010-01-15SCI: added enum for ScaleSignalMartin Kiewitz
svn-id: r47313
2010-01-15SCI: changed scalesignal to scaleSignal - selector works now :)Martin Kiewitz
svn-id: r47312
2010-01-15SCI: adding caching for scalesignal, scaleX and scaleY within kAnimate()Martin Kiewitz
svn-id: r47311
2010-01-15Fixed warning.Torbjörn Andersson
svn-id: r47309
2010-01-15SCI: adjust kNewWindow to support argc==15 (on mac according [md5])Martin Kiewitz
svn-id: r47308
2010-01-15Updated kernel function check for kGetEvent in Mac versions and adjusted the ↵Filippos Karapetis
comments for kGetSaveDir svn-id: r47307
2010-01-15SCI: adding scalesignal selectorMartin Kiewitz
svn-id: r47306
2010-01-15Unified some of the code in midiMixChannels() and midiFilterChannels()Filippos Karapetis
svn-id: r47305
2010-01-15When unloading a song, only reset the channels that it actually used, not ↵Filippos Karapetis
all channels svn-id: r47304
2010-01-14SCI: another change to reanimate behaviour of kDisposeWindowMartin Kiewitz
svn-id: r47300
2010-01-14SCI: change on reanimate kDisposeWindow behaviour, fixes sq5 window removalMartin Kiewitz
svn-id: r47299
2010-01-14Hold pedal is now reset as well when a sound is unloadedFilippos Karapetis
svn-id: r47298
2010-01-14SCI: Add MIDI support. Currently only the later MT-32/GM patch type works.Walter van Niftrik
Support for the earlier MT-32 patch format will be added in the near future. svn-id: r47297
2010-01-13SCI: Use prefix increment instead of postfix on iterators (more efficient); ↵Max Horn
also correct code formatting issues svn-id: r47295
2010-01-13SCI: empty() checks whether the map is empty... removing useless line of code :)Max Horn
svn-id: r47294
2010-01-13SCI: DoSound: when setting volume return previous value, fixes KQ6CD intro.Walter van Niftrik
svn-id: r47292
2010-01-13The pitch wheel is now properly reset when a song is unloadedFilippos Karapetis
svn-id: r47290
2010-01-13SCI: fix kernel signature for kDrawCel (fixes island of dr. brain), added ↵Martin Kiewitz
debugging output for kernel_matches_signature svn-id: r47288
2010-01-13Documented MidiParser_SCI, mentioning that it's an extension to the ↵Filippos Karapetis
MidiParser_SMF parser svn-id: r47287
2010-01-12SCI: implemented mouse interaction while being in keyboard mode, also ignore ↵Martin Kiewitz
disabled entries/separator lines within mouse mode svn-id: r47285
2010-01-12Rename all "Adlib" uses to "AdLib" to match the real name of the sound card ↵Johannes Schickel
/ company. Check this for reference: http://en.wikipedia.org/wiki/Ad_Lib,_Inc. http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card) This commit does not touch "adlib" and "ADLIB" uses! Also it does not update all the SCUMM detection entries, which still use "Adlib". svn-id: r47279
2010-01-12SCI: using _menuRect inside Menu::mouseFindMenuItemSelection for easier ↵Martin Kiewitz
code, also fixed stupid oversight that made the code crash in e.g. lsl6 svn-id: r47278
2010-01-12SCI: interactive menu with mouse fully implemented, mouse within keyboard ↵Martin Kiewitz
menu not yet done svn-id: r47277
2010-01-12Fix memory leak in MidiPlayer_Adlib.Johannes Schickel
svn-id: r47276
2010-01-12Fix some memory leaks caused by never freeing the allocated memory, which is ↵Johannes Schickel
pointed at by KernelFuncWithSignature::signature. svn-id: r47275
2010-01-12Fix some memory leaks caused by never deleting the objects inside ↵Johannes Schickel
SoundCommandParser::_soundCommands. svn-id: r47274
2010-01-12SCI: changed interactive with mouse menu code (still not finished)Martin Kiewitz
svn-id: r47273
2010-01-12A null pointer can be safely passed to "delete", thus there is no need to ↵Johannes Schickel
check against the pointer being non-zero in advance. svn-id: r47272
2010-01-12SCI: added comment about "not behaving like sierra here", also added TODO on ↵Martin Kiewitz
mouse state change svn-id: r47270
2010-01-12SCI: deleting _font when changing active fontMartin Kiewitz
svn-id: r47269
2010-01-12SCI: deleting _music in destructorMartin Kiewitz
svn-id: r47268
2010-01-12SCI: View::getCelCount now validates inputMartin Kiewitz
svn-id: r47267
2010-01-12SCI: continue when kPortrait is called with no sync resource existant for ↵Martin Kiewitz
mouth movement, prints warning() instead svn-id: r47263
2010-01-12SCI: Handle master volume inside music driversWalter van Niftrik
svn-id: r47261
2010-01-12Added mouse click handling for top menus (mouse clicks on menu items of each ↵Filippos Karapetis
menu are not handled yet) svn-id: r47260
2010-01-11SCI: changed displaceY and displaceX for cels to int16, also inserted cast ↵Martin Kiewitz
to signed char for sci1 displaceX - should fix wii flickering and incorrect cel placement problems svn-id: r47257
2010-01-11Don't update the screen twice while waitingFilippos Karapetis
svn-id: r47254
2010-01-11Changed all kGraph calls which handle rectangles to use kGraphCreateRect(). ↵Filippos Karapetis
Also, changed kGraphCreateRect() to return a rect, rather than update a rect pointer svn-id: r47253
2010-01-11New music code: Implemented sound stopping after fading, and disabled MIDI ↵Filippos Karapetis
sound volume fading, till we figure out what's wrong with fading in the Sierra logo screen in GK1 svn-id: r47252
2010-01-11Some portrait-related changes, to be used when portrait loading/unloading is ↵Filippos Karapetis
done. Also, added a comment on where the class is used svn-id: r47251
2010-01-11Moved all the cache limits inside helpers.h and removed an obsolete TODOFilippos Karapetis
svn-id: r47250