56816 Commits

Author SHA1 Message Date
Cameron Cawley
d8dc31a673 WAGE: Don't require the data fork for the external sound file 2019-08-11 18:58:40 +03:00
sluicebox
6884349534 SCI32: Fix Mirrored Pic Drawing
Fixes bug #10748
2019-08-11 18:55:10 +03:00
Cameron Cawley
9052a16887 GRAPHICS: MACGUI: Use Common::String for addMenuItem and addMenuSubItem 2019-08-10 14:50:33 +01:00
Paul Gilbert
31187e6595 XEEN: Fix Not Enough Gold error dialog wasn't showing 2019-08-09 20:00:57 -07:00
Paul Gilbert
a6e485e576 XEEN: Fix not giving skills if party doesn't have enough gold 2019-08-09 18:03:40 -07:00
Paul Gilbert
05535616b4 XEEN: Fix the random generation of misc items 2019-08-09 17:06:35 -07:00
Paul Gilbert
e9557dba1f XEEN: Show Spell Failed dialog if enchanitem item fails 2019-08-09 14:48:04 -07:00
Cameron Cawley
fe5dddf901 GRAPHICS: Add a version of CursorManager::replaceCursor that accepts a Graphics::Cursor 2019-08-09 23:58:32 +03:00
Paul Gilbert
4667aae4c4 XEEN: Fix item dialog item icons for shields 2019-08-09 12:32:33 -07:00
Paul Gilbert
92cfff522f XEEN: Fix using 1,2,3 in combat to target specific creatures 2019-08-09 11:51:55 -07:00
Thanasis Antoniou
5b839c5382 BLADERUNNER: Restore more comments in RC02 2019-08-09 21:29:07 +03:00
sluicebox
92d3751972 SCI: Fix SQ4 Sock's dressing room obstacles
Fixes bug #11055
2019-08-09 08:16:11 +03:00
Paul Gilbert
66f316b567 GLK: FROTZ: Fix drawing graphics in Zork Zero vs Arthur
In Zork Zero, grahpics drawn to window 0 (the text buffer)
are always treated as being interleaved with the text.
Whereas in Arthur, the title screens are drawn to window 0,
so have to be drawn to the background
2019-08-08 20:19:53 -07:00
Paul Gilbert
c68d17e9ac TSAGE: R2R: Add Spanish translation detection entry flagged as pirated
I decided it was worthwhile to have an entry for it, but flagged as
pirated, so we don't accidentally add it in as supported later on.
2019-08-08 20:19:25 -07:00
Paul Gilbert
832418b837 GLK: FROTZ: Ordering of text and graphics windows based on usage
The ScummGlk backend already had a new 'arbitrary' mode allowing
for windows to be placed at any position, and on top of each other.
This expands on this by ensuring that the background window, which
is used for drawing graphics on, appears behind text that gets
written. Yet can still appear on top of the text (hiding it)
when title screen graphics are being shown
2019-08-08 20:10:33 -07:00
Paul Gilbert
b2f6280e34 GLK: Add methods for sending windows to the front/back of draw order 2019-08-08 20:10:33 -07:00
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