56950 Commits

Author SHA1 Message Date
athrxx
ed297b4e4d SCI: (FB01 sound driver) - fix potential lockup
(add another mutex lock)
2019-08-07 22:36:12 +02:00
athrxx
9d56eb2dc7 SCI: (FB01 sound driver) - add missing empty line 2019-08-07 18:11:16 +02:00
Walter van Niftrik
522d077ad8 SCI: Fix pitch wheel bug in adlib driver 2019-08-07 16:43:08 +02:00
athrxx
09f007fa5e SCI: (ADL driver) - implement/fix voice mapping
- Backport some code of waltervn's fork at his recommendation (taken from 97604200 and 4c3bfee5). That code has caught some bitrot and I were too lazy to manually resolve the merge conflicts. All changes have been re-checked with disasm.
- Add initTrack() implementation for SCI0 EARLY/LATE
- Minor cleanup
- Please note that this commit does not fix any shortcomings of the SCI sound engine
2019-08-07 16:43:08 +02:00
athrxx
f8c98d76e6 SCI: (ADL driver) - remove unused declaration 2019-08-07 16:43:07 +02:00
athrxx
9ea6c43c97 SCI: error dialog for missing sound patch/driver files
After implementing such a dialog into the fb01 driver it did make sense to me to also have this as a feature for all other aftermarket drivers/patches.

So now the sound drivers can report missing files after the failed open() call which will then be displayed in a dialog. Which will at least be more helpful than our usual error messages...
2019-08-07 16:43:07 +02:00
athrxx
47a2f62c15 SCI: (FB01 sound driver) - several fixes
Fix SCI0 (LATE/EARLY) variants of the driver which were broken (didn't play at all). This might be of my own doing, since I introduced the initTrack() method into the driver class and the fb01 driver didn't have one so far.

SCI1 didn't seem to require much fixing. I modified some things according to my findings in the driver disasms. QFG2 and JONES seem to be fine. I am not too happy with KQ5. It has volume issues, but they might be present in the original, too.

I also added an isOpen() check and a mutex to avoid threading issues. When aborting SCI (either quitting ScummVM or returning ot the launcher) while using the fb01 driver I frequently (more often than not) got the assert from backends/midi/windows.cpp, line 95. This fixes that.

I've done plenty of checks and experiments with the sound bank initialization. But I found no bugs or possible improvements there. Hard to tell whether the sound is right. That device seems to have a mind of its own...
2019-08-07 16:43:06 +02:00
athrxx
0e73472207 AUDIO: (FM-Towns/PC98) - cleanup mutex handling 2019-08-07 16:43:06 +02:00
athrxx
8b197e4ec7 SCI: (FM-Towns sound driver) - fix pitchwheel glitch
Pitchwheel and channel volume settings need to be updated when the channels get  reassigned.
This bug caused faulty music at least in KQ5 when walking from the dwarves scene into the harp playing tree scene.
2019-08-07 16:43:05 +02:00
aviloria
e293ef0ed5 WINTERMUTE: Fix detection for Chinese reversion2
WINTERMUTE: Fix detection for Chinese reversion2

Current "data.dcp" infromation is from reversion1 and not from reversion2 game... surely a C&P mistake
2019-08-06 20:56:47 +02:00
Thierry Crozat
8666e9564f CRYOMNI3D: Add detection for French DOS version from ticket #11035 2019-08-05 23:50:24 +01:00
sluicebox
d10c69d0d1 SCI: Update SQ4 swimAndShoot workaround
Remove room number from swimAndShoot room 411 workarounds to be consistent
with room 410 and handle case where script runs after room number changes
2019-08-04 21:29:12 -07:00
Paul Gilbert
8a51f30533 GLK: Create an intermediate TextWindow base class for text windows
This will make it easier to check whether a window is textual
without having to check for both the grid & buffer classes explicitly
2019-08-04 16:44:22 -07:00
Paul Gilbert
2d0912b59b GLK: FROTZ: Fix crash in Arthur intro 2019-08-04 16:44:22 -07:00
Paul Gilbert
0448f5608f GLK: FROTZ: V6 window creation so Arthur intro now progresses further 2019-08-04 10:59:49 -07:00
Paul Gilbert
b242abd029 GLK: FROTZ: Fix positioning of Arthur title screen 2019-08-04 09:56:37 -07:00
sluicebox
3bc1c80797 SCI: Fix CAMELOT sword sheathing during room change
Fixes bug #11042
2019-08-04 14:41:10 +03:00
Filippos Karapetis
913229f9db MADS: Implement V2 DynamicHotspots::add() 2019-08-04 14:05:09 +03:00
Filippos Karapetis
8940601413 MADS: Draw the portrait in V2 game dialogs 2019-08-04 14:05:08 +03:00
D G Turner
f234a36a27 HOPKINS: Fix GCC Compilation Warning from memset usage 2019-08-03 13:56:06 +01:00
Paul Gilbert
0ede777f55 GLK: FROTZ: Title screen for Arthur is partially showing 2019-08-02 20:29:51 -07:00
Paul Gilbert
2eb7479d91 GLK: Fix VS uninitialized field warnings 2019-08-02 19:45:14 -07:00
Paul Gilbert
7c15d0d232 GLK: GLULXE: Fix VS packing warnings 2019-08-02 19:04:10 -07:00
Paul Gilbert
7d4cbcd422 GLK: Remove unused _vm field of Debugger 2019-08-02 19:03:11 -07:00
Thanasis Antoniou
2c68c1a06c BLADERUNNER: Restore nu-sooch dumped comment 2019-08-02 14:56:07 +03:00
Paul Gilbert
efdf965170 GLK: Properly handle Blorb images that have an adaptive palette 2019-08-01 22:05:40 -07:00
Paul Gilbert
d680b0b029 GLK: Added Blorb mapping to the optional adaptive palette list 2019-08-01 22:05:40 -07:00
sluicebox
0554ec8000 SCI: Fix LB2 coal message in room 720 2019-08-01 19:58:46 -07:00
Paul Gilbert
ccf904d8ff SHERLOCK: SS: Add French version detection 2019-08-01 18:50:44 -07:00
Cameron Cawley
837ac7e7ec TEENAGENT: Add debug commands to play voices and sound effects 2019-08-02 00:08:58 +01:00
Thanasis Antoniou
cd8816428e BLADERUNNER: Make use of new text wrapping functionality
Even width length for subtitle lines, but prioritize explicit new lines if present
2019-08-02 01:59:22 +03:00
Cameron Cawley
c7307774ba TEENAGENT: Add the music directory to the search path
Needed by the GOG CD version.
2019-08-01 23:56:37 +01:00
sluicebox
72c50d38ae SCI: Fix ICEMAN 'Climb down hatch'
Fixes bug #11039
2019-08-01 14:42:58 +03:00
sluicebox
487f616142 SCI: Fix LB1 fingerprint copy protection 2019-07-31 09:08:37 +03:00
Niv Baehr
0377045f0e QUEEN: Skip talk on right click 2019-07-30 22:25:14 +03:00
Torbjörn Andersson
f1e79aae73 GLK: Pass picNum to format() for the pic%d.rect case as well. 2019-07-30 16:56:37 +02:00
Paul Gilbert
041132f5f6 GLK: Fix illegal characters in detection entries 2019-07-29 22:10:06 -07:00
Paul Gilbert
97d4a60cfb GLK: Implemented debugger dumppic command 2019-07-29 22:05:19 -07:00
Paul Gilbert
a04bdb3d7c GLK: Added skeleton debugger 2019-07-29 22:05:19 -07:00
Thanasis Antoniou
fc6f9c9adb BLADERUNNER: Fix AmigaOS compilation (attempt 2) 2019-07-29 15:31:46 +03:00
Thanasis Antoniou
b939168b61 BLADERUNNER: Fix compile for AmigaOS 2019-07-29 15:09:42 +03:00
Thanasis Antoniou
c8a23cc401 BLADERUNNER: Fix unsorted args for getRandomNumberRng
Fix for bug #11034
2019-07-29 13:57:56 +03:00
Thanasis Antoniou
5b3c577b84 BLADERUNNER: Remove buzz at transition PS11 to PS10 2019-07-29 11:21:43 +03:00
Thanasis Antoniou
52c03a2a59 BLADERUNNER: Fix Izo getting stuck in RC03
Bug case was for when he runs away (Steele is blocked)
2019-07-29 11:02:47 +03:00
Paul Gilbert
6e7f584353 XEEN: Change English detection entries from testing to stable 2019-07-28 22:15:21 -07:00
Paul Gilbert
518e6c90f4 GLK: FROTZ: Fix loading transparent PNGs from Blorb files 2019-07-28 20:47:06 -07:00
Thanasis Antoniou
084dc1ffd6 BLADERUNNER: Prevent McCoy from running to BB10 before Sadik 2019-07-28 22:52:18 +03:00
Thanasis Antoniou
4ba487a064 BLADERUNNER: Close MODE.MIX if ScummVM is closed during ESPER 2019-07-28 22:52:18 +03:00
Thanasis Antoniou
45e58abe36 BLADERUNNER: Clean up KIA at endgame and playerDied 2019-07-28 22:52:18 +03:00
Thanasis Antoniou
8f9927608b BLADERUNNER: prevent seg fault when opening KIA
Only if a restored content save was loaded in original game mode
2019-07-28 22:52:18 +03:00