aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
AgeCommit message (Collapse)Author
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
2010-01-11- Set the palette inside doit() againFilippos Karapetis
- Removed a now obsolete TODO - Portrait animations are now stopped when the Esc key is pressed, or when the engine should quit svn-id: r47247
2010-01-11The portrait file data is now freed after the portrait animation is doneFilippos Karapetis
svn-id: r47246
2010-01-11Cleanup, fixed a memory leakFilippos Karapetis
svn-id: r47245
2010-01-11- Don't set the palette per portrait frame - setting the whole screen ↵Filippos Karapetis
palette is a very expensive operation, and shouldn't be done on each frame, especially when all of the frames use the same palette - Cleanup svn-id: r47241
2010-01-11Hide the mouse cursor while a video is being playedFilippos Karapetis
svn-id: r47240
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-10- Add a SubLoopingAudioStream, which loops a nested part of a stream and ↵Johannes Schickel
thus features the same looping capabilites as LinearMemoryStream and LinearDiskStream. - Remove custom looping code from LinearMemoryStream and LinearDiskStream. - Adapt various client code to the changes. svn-id: r47226
2010-01-10SCI: kPortrait - abort on mouse presses onlyMartin Kiewitz
svn-id: r47225
2010-01-10SCI: kPortrait - mouse click now aborts portraitMartin Kiewitz
svn-id: r47224
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: kPortrait - error() out when resource could not be foundMartin Kiewitz
svn-id: r47222
2010-01-10SCI: ignore hiresMode when not being upscaledHires for kDrawCel and ↵Martin Kiewitz
updateBox on kGraph - fixes kq6 dos svn-id: r47221
2010-01-10SCI: changed SoundResource constructor to set values for ↵Martin Kiewitz
digitalChannelNr/digitalSampleRate and digitalSampleSize at any time svn-id: r47220
2010-01-10SCI: updateBox now also supports hires modeMartin Kiewitz
svn-id: r47219
2010-01-10SCI: changed location of hack inside kDrawCel, coordinates of savedhiresbox ↵Martin Kiewitz
may not get port adjusted svn-id: r47218
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-09SCI: kPortrait - now drawing after wait, also using gui wait so mouse cursor ↵Martin Kiewitz
still works during execution, makes lip sync perfect (thx to the other fix by fingolfin) svn-id: r47214
2010-01-09SCI: kPortrait - drawing base bitmap before drawing animation bitmapMartin Kiewitz
svn-id: r47211
2010-01-09kPortrait: found the coordinate offsets, corrected actual bitmap size ↵Martin Kiewitz
(sometimes extra bytes are appended per line) animation bitmaps now valid svn-id: r47210