Commit Graph
86814 Commits
Author SHA1 Message Date
Martin Kiewitz bc3405cc9e SCI: view scaling - dont fill left-over bytes if there are no left-over bytes :P
svn-id: r47329
2010-01-16 19:25:09 +00:00
Martin Kiewitz 971cfcbd9e SCI: support for upscaling implemented, included clipping
svn-id: r47328
2010-01-16 19:21:06 +00:00
Walter van Niftrik 7058e0fc9c SCI: Cleanup
svn-id: r47327
2010-01-16 19:14:24 +00:00
Walter van Niftrik 6caf8e3f89 SCI: Fix rhythm channel handling in SCI0
svn-id: r47326
2010-01-16 19:11:37 +00:00
Martin Kiewitz d1733bcf15 SCI: scaling support, upscaling not yet supported - not really tested, so there may be bugs
svn-id: r47325
2010-01-16 17:30:17 +00:00
Filippos Karapetis 5437bf9cda Disabled code which causes crashes/and or oddities with MIDI in later SCI games, from rev #47321
svn-id: r47324
2010-01-16 16:54:54 +00:00
Filippos Karapetis 0588e483b2 Added detection for the appropriate GM music channel play mask
svn-id: r47323
2010-01-16 16:21:17 +00:00
Martin Kiewitz e29c4e7af7 SCI: View::drawScaled() created (doesnt do scaling yet), removed scaling variables from View::draw, gfx calls drawScaled() when scaleX/Y != 128, getting scaled rect inside kAnimate()
svn-id: r47322
2010-01-16 16:17:45 +00:00
Walter van Niftrik 220c118a8f SCI: Add support for earlier MT-32 patch format
svn-id: r47321
2010-01-16 16:06:41 +00:00
Filippos Karapetis 77ea73e9a5 Fixed a Valgrind warning about an uninitialized variable, from waltervn
svn-id: r47320
2010-01-16 16:00:21 +00:00
Martin Kiewitz 944774e9f5 SCI: created getCelScaledRect() inside view class
svn-id: r47319
2010-01-16 14:20:00 +00:00
Filippos Karapetis 22e8b3ed02 The GM patches from Sierra's GM utility can now also be processed with their 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-16 00:22:22 +00:00
Fabio Battaglia c4a9d373ca N64: Use first controller found as input, easier to add support for different input peripherals now
svn-id: r47317
2010-01-15 23:35:24 +00:00
Johannes Schickel f1439b4fa7 Fix QueuingAudioStreamImpl::endOfStream implementation. This fixes cut off speech in COMI for me.
svn-id: r47316
2010-01-15 23:16:43 +00:00
Filippos Karapetis fa079a6d6f Send a velocity off signal to all channels when a song is loaded
svn-id: r47315
2010-01-15 22:15:58 +00:00
Martin Kiewitz 7c8ae63101 SCI: more detail info about scaleSignal bit 1
svn-id: r47314
2010-01-15 21:40:58 +00:00
Martin Kiewitz 8689f1d8cc SCI: added enum for ScaleSignal
svn-id: r47313
2010-01-15 21:32:18 +00:00
Martin Kiewitz 0dddf869fb SCI: changed scalesignal to scaleSignal - selector works now :)
svn-id: r47312
2010-01-15 21:26:02 +00:00
Martin Kiewitz edb9487df5 SCI: adding caching for scalesignal, scaleX and scaleY within kAnimate()
svn-id: r47311
2010-01-15 21:13:33 +00:00
Torbjörn Andersson 552746951e Fixed warning.
svn-id: r47309
2010-01-15 18:01:49 +00:00
Martin Kiewitz 0d81207e68 SCI: adjust kNewWindow to support argc==15 (on mac according [md5])
svn-id: r47308
2010-01-15 15:37:40 +00:00
Filippos Karapetis c4d02f5784 Updated kernel function check for kGetEvent in Mac versions and adjusted the comments for kGetSaveDir
svn-id: r47307
2010-01-15 15:30:40 +00:00
Martin Kiewitz 0338198876 SCI: adding scalesignal selector
svn-id: r47306
2010-01-15 13:33:26 +00:00
Filippos Karapetis 7aa20a38a8 Unified some of the code in midiMixChannels() and midiFilterChannels()
svn-id: r47305
2010-01-15 08:23:48 +00:00
Filippos Karapetis 177cfe4c92 When unloading a song, only reset the channels that it actually used, not all channels
svn-id: r47304
2010-01-15 07:40:07 +00:00
Martin Kiewitz 69c1de90e4 SCI: another change to reanimate behaviour of kDisposeWindow
svn-id: r47300
2010-01-14 20:56:46 +00:00
Martin Kiewitz f1696ce7ef SCI: change on reanimate kDisposeWindow behaviour, fixes sq5 window removal
svn-id: r47299
2010-01-14 20:53:37 +00:00
Filippos Karapetis 218d04afa1 Hold pedal is now reset as well when a sound is unloaded
svn-id: r47298
2010-01-14 16:39:47 +00:00
Walter van Niftrik 373700f00a SCI: Add MIDI support. Currently only the later MT-32/GM patch type works.
Support for the earlier MT-32 patch format will be added in the near future.

svn-id: r47297
2010-01-14 01:44:11 +00:00
Max Horn 8559f0c3eb SCI: Use prefix increment instead of postfix on iterators (more efficient); also correct code formatting issues
svn-id: r47295
2010-01-13 23:58:25 +00:00
Max Horn a88b2639f5 SCI: empty() checks whether the map is empty... removing useless line of code :)
svn-id: r47294
2010-01-13 23:57:53 +00:00
Eugene Sandulenko 286d18b423 Fix bug #2924680: "Large file support" with patch from same bugreport. Thanks to wjp.
svn-id: r47293
2010-01-13 20:56:21 +00:00
Walter van Niftrik b59eebfea8 SCI: DoSound: when setting volume return previous value, fixes KQ6CD intro.
svn-id: r47292
2010-01-13 17:34:42 +00:00
Joost Peters 29302d172b fix comparison for platforms where char is unsigned
svn-id: r47291
2010-01-13 15:17:22 +00:00
Filippos Karapetis 24d1db6155 The pitch wheel is now properly reset when a song is unloaded
svn-id: r47290
2010-01-13 14:46:45 +00:00
Fabio Battaglia 6c6604d589 N64: if user has inserted a rumble-pak, rumble with shaking screen
svn-id: r47289
2010-01-13 13:53:31 +00:00
Martin Kiewitz 7db58ae29e SCI: fix kernel signature for kDrawCel (fixes island of dr. brain), added debugging output for kernel_matches_signature
svn-id: r47288
2010-01-13 11:14:04 +00:00
Filippos Karapetis b44a56aa92 Documented MidiParser_SCI, mentioning that it's an extension to the MidiParser_SMF parser
svn-id: r47287
2010-01-13 08:14:16 +00:00
Fabio Battaglia 587bbf4b3f N64: further commenting/cleanup
svn-id: r47286
2010-01-12 21:52:38 +00:00
Martin Kiewitz ef5c9f62d7 SCI: implemented mouse interaction while being in keyboard mode, also ignore disabled entries/separator lines within mouse mode
svn-id: r47285
2010-01-12 21:49:43 +00:00
Johannes Schickel af1ba42298 Fix some memory leaks.
svn-id: r47284
2010-01-12 21:46:50 +00:00
Fabio Battaglia 62a87101d5 N64: forgot to disable some debug code
svn-id: r47283
2010-01-12 21:24:37 +00:00
Fabio Battaglia 3138ac98ba N64: some cleanup and optimization of video code
svn-id: r47282
2010-01-12 21:18:28 +00:00
Eugene Sandulenko ac668291ac Fix bug #2930306: "MANIAC - Italian NES version (extracted) not recognized"
svn-id: r47280
2010-01-12 21:13:01 +00:00
Johannes Schickel 0d995c5920 Rename all "Adlib" uses to "AdLib" to match the real name of the sound card / 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-12 21:07:56 +00:00
Martin Kiewitz 1ebe047972 SCI: using _menuRect inside Menu::mouseFindMenuItemSelection for easier code, also fixed stupid oversight that made the code crash in e.g. lsl6
svn-id: r47278
2010-01-12 20:51:45 +00:00
Martin Kiewitz a62bf2528f SCI: interactive menu with mouse fully implemented, mouse within keyboard menu not yet done
svn-id: r47277
2010-01-12 20:38:57 +00:00
Johannes Schickel dd39b64ce4 Fix memory leak in MidiPlayer_Adlib.
svn-id: r47276
2010-01-12 20:26:49 +00:00
Johannes Schickel 3578f8d091 Fix some memory leaks caused by never freeing the allocated memory, which is pointed at by KernelFuncWithSignature::signature.
svn-id: r47275
2010-01-12 20:19:45 +00:00
Johannes Schickel 36444740b3 Fix some memory leaks caused by never deleting the objects inside SoundCommandParser::_soundCommands.
svn-id: r47274
2010-01-12 20:08:17 +00:00