Commit Graph

2794 Commits

Author SHA1 Message Date
Max Horn
dc5e08e623 Move raw audio flags from sound/mixer.h to sound/raw.h
svn-id: r47395
2010-01-19 22:30:33 +00:00
Filippos Karapetis
f0e6c3f142 - Removed the resetDriver() hack. The reason why notes stopped being played sometimes was actually mixer->stopAll(), which stopped the music stream as well (spotted by waltervn)
- Hooked setReverb() to actually set music reverb

svn-id: r47392
2010-01-19 20:02:17 +00:00
Martin Kiewitz
dbe665908e SCI: dont directly set mouse cursor to visible state but call show() instead thus updating _isVisible so cursor wont get lost in sci0 games
svn-id: r47391
2010-01-19 19:58:36 +00:00
Martin Kiewitz
f2ddf8cdd8 SCI: call showBits() on the line between menubar and the actual menu (because reanimate clips to picPort, so that line wouldnt be shown as restored)
svn-id: r47390
2010-01-19 19:48:56 +00:00
Martin Kiewitz
adc6e33f5b SCI: also fix statusbar
svn-id: r47389
2010-01-19 19:28:54 +00:00
Martin Kiewitz
425d0f7da3 SCI: fixed displaying of menubar (fixes all sorts of ega games)
svn-id: r47387
2010-01-19 19:20:33 +00:00
Martin Kiewitz
7b5a55a6a2 SCI: use reanimate instead of BitsShow() when removing menus
svn-id: r47386
2010-01-19 18:11:09 +00:00
Martin Kiewitz
e7c1a34b3f SCI: Remove upper 4 bits when drawing lines on EGA games (fixes window colors in kq1 and others)
svn-id: r47385
2010-01-19 17:45:14 +00:00
Filippos Karapetis
54638f005b Delete the inner music driver when MidiPlayer_AdLib() is destroyed, not in close(), as MidiPlayer_AdLib() is closed and reopened inside SciMusic::resetDriver(). Fixes savegame loading and resetting the game
svn-id: r47384
2010-01-19 17:34:24 +00:00
Martin Kiewitz
d17e80f214 SCI: Still limit lower boundary in SCI1.1, moved upper priority boundary limit removal for SCI1.1 into init
svn-id: r47382
2010-01-19 15:20:29 +00:00
Martin Kiewitz
136ae389d8 SCI: don't limit priority bands in sci1.1 (fixes swimmer in lsl6)
svn-id: r47381
2010-01-19 15:10:48 +00:00
Martin Kiewitz
cf57f817b2 SCI: implemented priority bands support for sci1.1 picture resources, fixed lb2, kq6
svn-id: r47380
2010-01-19 14:26:21 +00:00
Martin Kiewitz
14a2256705 SCI: added french lb2 floppy
svn-id: r47373
2010-01-19 10:47:46 +00:00
Max Horn
557bb394de Get rid of Mixer::FLAG_AUTOFREE.
Also fix several recently introduced new/delete vs. malloc/free mismatches.

svn-id: r47369
2010-01-19 00:56:29 +00:00
Max Horn
69be747621 Move raw audio streams to new header sound/raw.h
svn-id: r47368
2010-01-19 00:54:06 +00:00
Max Horn
349fcd1d71 Rename 'Linear' audio streams to 'raw'
svn-id: r47367
2010-01-19 00:52:41 +00:00
Martin Kiewitz
8ff407e80a SCI: added comment about resource.p01 etc. (including possible TODO)
svn-id: r47364
2010-01-18 23:07:56 +00:00
Martin Kiewitz
3a34628e9e SCI: added comment for merging together resource.p* files, if no volume file could get opened
svn-id: r47363
2010-01-18 23:01:05 +00:00
Martin Kiewitz
bab35a3991 SCI: dont set dataInc selector inside updateCues when dataInc is not available
svn-id: r47362
2010-01-18 22:39:56 +00:00
Martin Kiewitz
7c646fb84b SCI: added warning() when detection fails to detect map and volume version
svn-id: r47349
2010-01-17 22:41:29 +00:00
Martin Kiewitz
055e17b60e SCI: fixed detection to not crash when adding sierras pinball creep, also changed detection so that we dont "accept" games that use unknown view resources (otherwise pinball creep will get detected as SCI)
svn-id: r47348
2010-01-17 22:32:53 +00:00
Eugene Sandulenko
fb178c0a62 Mark lsl3 as a workaround.
svn-id: r47347
2010-01-17 20:23:11 +00:00
Martin Kiewitz
35c2469c0b SCI: speed throttler - hardcoded exception for room 290/lsl3, should fix pushup count later in the game
svn-id: r47346
2010-01-17 20:17:00 +00:00
Walter van Niftrik
22ea4eb621 SCI: Check GM patch before loading it
svn-id: r47345
2010-01-17 20:00:58 +00:00
Walter van Niftrik
18da234076 SCI: Add MT-32 support for early SCI0
svn-id: r47344
2010-01-17 19:32:19 +00:00
Martin Kiewitz
3e44180e47 SCI: speed throttler changed, now gets triggered by kAnimate, removed initial no-delay, i'm still getting animation now in iceman and sq3, slow palette animation in longbow fixed
svn-id: r47343
2010-01-17 18:41:28 +00:00
Martin Kiewitz
cb1419ece9 SCI: another speed throttler, delays decrementing cycles/cycleCnt selectors, disabled code just for reference
svn-id: r47342
2010-01-17 18:27:57 +00:00
Martin Kiewitz
67f22f83d8 SCI: kDisposeWindow - use reanimate when argc == 1 (fixes iceman window removal)
svn-id: r47341
2010-01-17 13:07:50 +00:00
Walter van Niftrik
d80606b397 SCI: Cleanup
svn-id: r47338
2010-01-17 06:16:39 +00:00
Walter van Niftrik
bea8d931ff SCI: Add comment to channel mask code
svn-id: r47337
2010-01-17 04:57:21 +00:00
Walter van Niftrik
c7b258f87e SCI: Cleanup
svn-id: r47335
2010-01-17 02:13:40 +00:00
Max Horn
7ec2da968c Switch most AudioStream factories to use DisposeAfterUse::Flag
svn-id: r47334
2010-01-16 21:36:08 +00:00
Martin Kiewitz
570911b83e SCI: fix kNewWindow code to match the code in gregs engine
svn-id: r47332
2010-01-16 21:00:15 +00:00
Walter van Niftrik
3e0251eced SCI: Fix percussion volume adjust
svn-id: r47331
2010-01-16 19:50:59 +00:00
Martin Kiewitz
76dfdac6d4 SCI: added TODO inside kAnimate for scalesignal bit 1, added comment about scaling into view class
svn-id: r47330
2010-01-16 19:44:33 +00:00
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
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