Commit Graph

6307 Commits

Author SHA1 Message Date
Johannes Schickel
ae238fdba5 SCI: Constify selectorNameTable. 2013-12-08 18:48:20 +01:00
Johannes Schickel
239e39e30a SCI: Make all global script patch signatures const. 2013-12-08 18:47:41 +01:00
Martin Kiewitz
4ff2b7985b SCI: improve kq6 audio+text patch to include guard2 2013-12-08 18:24:51 +01:00
Martin Kiewitz
dbfaac22ed SCI: only apply audio+text patch to KQ6 CD+LB2 CD 2013-12-08 15:40:18 +01:00
Martin Kiewitz
9de412c4ff SCI: sci.cpp updated b/c KQ6 audio+text support 2013-12-08 14:55:06 +01:00
Martin Kiewitz
4b732534c2 SCI: another script patch for KQ6 text+audio support
fixes hires issues
2013-12-08 14:41:29 +01:00
Martin Kiewitz
8e18bce1db SCI: more patches for KQ6 audio+text support 2013-12-07 23:36:16 +01:00
Martin Kiewitz
61c36d133a SCI: added kq6 patch for audio+text, not 100% done 2013-12-07 18:26:45 +01:00
Martin Kiewitz
eaf6367bb2 Merge branch 'master' of github.com:scummvm/scummvm 2013-12-04 20:42:50 +01:00
Martin Kiewitz
8bdffcb2fb SCI: script patcher is now a separate class 2013-12-04 20:42:16 +01:00
D G Turner
ef85456859 BUILD: Remove need for engine.mk in each engine directory.
Each engine now only has to provide a single configure.engine file
adding the engine into the configure script, which then produces the
required other files automatically.
2013-11-24 00:48:01 +00:00
D G Turner
1ac01d2333 BUILD: Remove need for engine-plugin.h in engines.
This is now generated automatically by the configure script from the
engine directory names.
2013-11-24 00:48:01 +00:00
D G Turner
00c27a28f9 BUILD: Split engines/plugins_table header down to a file per engine.
This is the third and final commit enabling fully pluggable engines.

Now providing an engine folder contains a configure.engine, engine.mk
and engine-plugin.h file, it will be picked up automatically by the
configure script.
2013-11-24 00:48:01 +00:00
D G Turner
d77cf95a18 BUILD: Split engines.mk down to a single file per engine.
This is the second part of allowing engines to be added dynamically.
Each folder in engines/ which must contain a file named "engine.mk"
containing the make definitions for that engine.
2013-11-24 00:48:01 +00:00
D G Turner
aa947c9474 BUILD: Split configure.engines down to a single file per engine.
This is the first part of allowing engines to be added dynamically.
They are placed into a folder in engines/ which must contain a file
named "configure.engine" to add the engine, which is pulled into the
top level configure script automatically.
2013-11-24 00:45:38 +00:00
Willem Jan Palenstijn
8cc82d0a0b SCI: Make fade signal version check more precise 2013-11-23 16:11:07 +01:00
Willem Jan Palenstijn
35617bf601 SCI: Fix SCI1late fade complete signal
This fixes duplicate music playing in LauraBow2CD (#6462)
2013-11-23 15:27:16 +01:00
Strangerke
6795fdf639 SCI: Janitorial - Fix spacing errors 2013-11-23 11:02:24 +01:00
Martin Kiewitz
37f72f56b2 SCI: script patcher bug numbers to the new ones
comment changes only
2013-11-22 00:12:09 +01:00
Martin Kiewitz
c64808b0f2 SCI: script patch for laurabow2 to fix system menu
fixes game bug (CD only), fixes bug #6440

may cause side-effects in the game, affects all room changes in the whole game
2013-11-21 23:29:01 +01:00
Martin Kiewitz
ba3656d84e SCI: fix script patcher for games w/o vocab 2013-11-21 22:41:07 +01:00
Martin Kiewitz
ffe2426628 SCI: changed workaround for lb2 audio+text patch 2013-11-21 20:51:42 +01:00
Martin Kiewitz
39efe3999a SCI: improved lb2/kq6 patch 2013-11-21 12:10:07 +01:00
Martin Kiewitz
103463296c SCI: made lb2 text+audio patches apply to kq6
not yet enabled, because low-res kq6 has wrong window placement and hi-res kq6 even gets graphic glitches
2013-11-21 12:06:18 +01:00
Willem Jan Palenstijn
1019c0148b SCI: Fix warning 2013-11-21 09:41:44 +01:00
Willem Jan Palenstijn
3ea127e877 SCI: Fix warning 2013-11-21 09:39:19 +01:00
Martin Kiewitz
4e2b1f0200 SCI: script patch for laura bow 2 for audio+text
at the same time
needs indepth testing
2013-11-20 23:31:36 +01:00
Martin Kiewitz
1454408e96 SCI: proper laura bow 2 script patch for safe issue
fixes one half of bug #6460
2013-11-19 23:36:58 +01:00
Martin Kiewitz
52ec143e6d SCI: added script patch to fix sq5 toolbox bug
fixes bug #6457
2013-11-18 00:52:04 +01:00
Martin Kiewitz
297d5764fd SCI: workaround for sq4 hintbook script bug (#6447) 2013-11-16 20:07:28 +01:00
Martin Kiewitz
2f3df97a71 SCI: fixing warning about missing braces 2013-11-16 19:26:48 +01:00
Martin Kiewitz
532fe7b84e SCI: Script Patch to fix German LSL5 Patti Textbox
fixes Patti's head overlapping a textbox near the end of the game (German text only!), also occured in Sierra SCI
2013-11-05 00:11:41 +01:00
Martin Kiewitz
719782a040 SCI: script patcher documentation 2013-11-04 21:09:40 +01:00
Martin Kiewitz
31140b7b3e SCI: little comment cleanup 2013-11-04 00:13:56 +01:00
Martin Kiewitz
3fbbdbc2da SCI: improved script patcher
Gabriel Knight + King's Quest 6 patches now also work for Mac versions of those games
added support for selectors instead of using hardcoded values
2013-11-03 23:49:31 +01:00
Martin Kiewitz
2929307e01 SCI: added workaround for Black Cauldron remake
(happens only when using original save dialog)
2013-11-01 21:07:35 +01:00
Martin Kiewitz
f1abc0c302 SCI: improved patcher, inventory patch for kq6/mac
Also added new debug flag for script patcher
2013-11-01 13:25:31 +01:00
Filippos Karapetis
f9bbc2ca37 SCI: Update ScummVM's game audio options for SCI1.1 CD games
This ensures that ScummVM's game audio options for speech and subtitles
get updated when they are changed in the game GUI
2013-10-31 07:25:25 +02:00
Martin Kiewitz
d9638677d2 SCI: kq6 inventory patch now applies to floppy too 2013-10-30 20:02:49 +01:00
Filippos Karapetis
8a68bd0650 SCI: Fix uninitialized reads of the Hoyle 3 backgammon doubling cube
This also fixes bug #3615121
2013-10-30 10:30:12 +02:00
Filippos Karapetis
eb7362b0b0 SCI: Fix script bug #3615129 - "SCI: Crazy Nick Laura Bow - Uninitialized read error 3" 2013-10-30 09:56:07 +02:00
Filippos Karapetis
cc34755986 SCI: Fix script bug #3615119 - "SCI: Crazy Nick Laura Bow - Uninitialized read error 2" 2013-10-30 09:42:56 +02:00
Filippos Karapetis
6926270ca7 SCI: Fix script bug #3615130 - "SCI: Hoyle3 - Uninitialized read error" 2013-10-30 08:47:46 +02:00
Filippos Karapetis
d58c5b89b5 SCI: Fix script bug #3615120 - "SCI: Crazy Nick Laura Bow - kReadNumber signature mismatch" 2013-10-30 08:47:46 +02:00
Filippos Karapetis
82b52fc644 SCI: Handle objects with a dot in their name
An example is the object 'dominoes.opt' in Hoyle 3, script 101
2013-10-30 08:47:46 +02:00
Filippos Karapetis
27281d1566 SCI: Fix script bug #3615118 in Crazy Nick's Laura Bow 2013-10-30 08:47:45 +02:00
Martin Kiewitz
e14fc8a856 SCI: kq6 cd inventory stack overflow script patch
fixes bug #3293954
2013-10-29 22:24:01 +01:00
Filippos Karapetis
7139117bb7 SCI: Add the German version of EcoQuest 2 (bug #3615072) 2013-10-04 20:30:58 +03:00
Filippos Karapetis
59e6341e35 SCI: Make a note about pic 390 in the blacklisted SQ4CD NRS patch 1.2 2013-10-02 12:25:10 +03:00
Filippos Karapetis
61570c4fac SCI: Blacklist the SQ4CD 1.2 NRS patch
In essence, this "patch" includes a mixture the CD and floppy versions
(the whole game), without the speech file
2013-10-02 12:21:49 +03:00
Martin Kiewitz
f61e9c1c02 SCI: script patch for sq1vga to fix gfx glitch
when leaving Ulence Flats...
2013-09-27 00:26:32 +02:00
Martin Kiewitz
551e263165 SCI: revert fix music start code
add workaround for eq2
the issue is known, but can't be properly fixed without rewriting the midiparser into a channel specific parser
previous commit caused issues in kq5/french and others
2013-09-22 20:13:33 +02:00
Martin Kiewitz
f1b0a77408 SCI: fix music start code fixes eq2 bug #3037267
we start at offset 10 for sound SCI1 games. This is hardcoded in the interpreter. Also removing not handling signals on tick 0. This fixes Eco Quest 2 / Gonzales dancing in room 530. Thanks to wjp for the help.
2013-09-22 15:40:51 +02:00
m-kiewitz
bac818ccb7 SCI: patch for camelot sierra bug fixes #3614969
fixes sierra script bug for Conquests of Camelot (peeking through window)
2013-09-22 02:26:19 +02:00
m-kiewitz
fa41ee132b SCI: fix for heap corruption during lsl3 ending 2013-09-21 22:35:53 +02:00
Willem Jan Palenstijn
4b5ca10f68 Merge branch 'master' into sci_midiparser
Conflicts:
	engines/sci/sound/midiparser_sci.cpp
2013-09-21 20:05:47 +02:00
m-kiewitz
97b255ab33 SCI: fix dataInc signalling fixes bug #3035159
we set signal in parseNextEvent on dataInc events, which then effectively triggered 2 cues through kDoSoundUpdateCues instead of one. Fixes Freddy Pharkas Ballad intro on floppy + demos
2013-09-21 19:41:45 +02:00
Willem Jan Palenstijn
a6d902df28 SCI: Handle !fireEvents in processEvent 2013-09-21 14:42:59 +02:00
m-kiewitz
158d12e555 SCI: abbrev. ffs to FE and priority check fix 2013-09-21 14:34:42 +02:00
m-kiewitz
4443793b97 SCI: sfx/music priority int16 fixes bug #3615038
it seems that sound system up till SCI0_LATE uses int16, afterwards it seems they changed to byte
main music object (conMusic) in Laura Bow 1 uses -1 as priority. This was truncated to 255 till now, which resulted in many sound effects not getting played, because those used priority 0
2013-09-21 14:27:16 +02:00
Filippos Karapetis
ac0c890bcc SCI: Add source of the checksums for RAMA German 2013-09-21 14:59:26 +03:00
Enrico Horn
c85698e87f SCI: Add detection entry for the German version of RAMA 2013-09-21 14:54:09 +03:00
Willem Jan Palenstijn
3792af8e95 AUDIO: Simplify SCI inFastForward flag by moving it to MidiParser 2013-09-21 09:31:08 +02:00
Willem Jan Palenstijn
11d425b76c SCI: Move MIDI event processing out of parseNextEvent 2013-09-21 01:43:04 +02:00
Willem Jan Palenstijn
5b23a251ce SCI: Fix too strict assert triggering in LSL5 2013-09-19 23:54:27 +02:00
m-kiewitz
448063a8df SCI: Fully explain qfg1vga script patch 2013-09-18 23:11:07 +02:00
Willem Jan Palenstijn
6c85ad12aa SCI: Explain qfg1vga script patch slightly 2013-09-18 23:00:38 +02:00
m-kiewitz
e4568817bb SCI: QfG1VGA script patch fixes bug #3585793 2013-09-18 22:52:32 +02:00
m-kiewitz
ed865856dc SCI: PQ1 script patch, fixes gun locker crash
fixes bug #3303802 / bug #3036933
2013-09-17 23:27:02 +02:00
m-kiewitz
32d28c9f7a SCI: script patch for larry 2 - fixes no points granted when wearing parachute - was a sierra script bug - fixes bug #3614419 2013-09-17 21:58:05 +02:00
m-kiewitz
ce63a32510 SCI: QfG1VGA: script patch to fix a typo in a Sierra script -> looking at a cheetaur returned the text for saurus rex, fixes bug #3604943 2013-09-16 21:07:49 +02:00
m-kiewitz
1c9316cee0 SCI: longbow intro night rider fix (with help of wjp) - seems to fix bug 3489094 2013-09-16 00:34:49 +02:00
m-kiewitz
0fd15e6db3 SCI: fix tabs in last commit 2013-09-15 23:21:23 +02:00
m-kiewitz
0367d40647 SCI: disable signals when resuming music, so that debugger will work properly for longbow intro 2013-09-15 22:14:35 +02:00
Johannes Schickel
01dea8bd67 Merge pull request #378 from lordhoto/pluggable-engines-translations
RFC: Pluggable Engines: I18N: Move specification of engine specific files to enginedir/POTFILES
2013-09-12 15:38:13 -07:00
Filippos Karapetis
f6b61291a7 SCI: Fix script bug #3614968 - "SCI: Camelot - crash at the pool of Siloam" 2013-09-03 10:55:48 +03:00
Filippos Karapetis
7520aea2ec SCI: Fix several script bugs in Hoyle 4 (Bridge)
This also fixes bug #3361925 - "SCI: HOYLE4: Crash in bridge"
2013-08-23 13:45:19 +03:00
Filippos Karapetis
9095c4124d SCI: Give more verbose error messages on arithmetic errors 2013-08-23 13:45:19 +03:00
Filippos Karapetis
bd945bc756 SCI: Add support for the King's Questions mini-game
This can be found in the KQ collection
2013-08-20 19:48:33 +03:00
Filippos Karapetis
3a2b629a17 SCI: Fix script bug #3604939 - "SCI: QFG1VGA: Game hangs when meeting Baron while sneaking" 2013-08-19 12:31:37 +03:00
Filippos Karapetis
0885a003c5 SCI: Fix bug #3614914 - "SCI: Castle of Dr Brain Spanish crashes after Computer Room"
Ignore the unused x/y displacement fields of cels embedded in pics.
Dr. Brain Spanish, pic 261 contains garbage in these fields (probably
left overs)
2013-08-19 06:30:50 +03:00
Johannes Schickel
378387c903 I18N: Move specification of engine specific files to enginedir/POTFILES.
This allows to keep the engines to specfiy the files for translation close to
the engine sources itself.

Thanks to criezy for his suggestion on this approach.
2013-08-12 17:54:31 +02:00
Johannes Schickel
7f8308e0eb Merge pull request #365 from lordhoto/protected-pixels
Make Graphics::Surface::pixels protected.
2013-08-07 12:24:59 -07:00
Filippos Karapetis
d041177e2f SCI: Add another version of Jones CD (bug #3614668) 2013-08-06 12:46:44 +03:00
Johannes Schickel
dbda889e63 SCI: Take advantage of Surface::getPixels. 2013-08-03 04:02:52 +02:00
Johannes Schickel
dd67e9f099 SCI: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:33 +02:00
Filippos Karapetis
2088a77388 SCI: Add a hack to fix the inventory in GK1
For some reason, the top left nsRect coordinates get swapped in the GK1
inventory screen, investigate why
2013-07-30 04:21:51 +03:00
Willem Jan Palenstijn
06cc30cf6c SCI: Add FIXME 2013-07-19 21:22:36 +02:00
Sven Hesse
989ea7cb56 JANITORIAL: Remove trailing whitespace 2013-07-14 19:01:47 +02:00
Filippos Karapetis
fef7d59c54 SCI: Rewrite the song loop comments in commit 6fa668e to make more sense 2013-07-08 12:32:12 +03:00
Filippos Karapetis
6fa668e32a SCI: Add some comments a possible TODO regarding song looping 2013-07-08 12:19:15 +03:00
Filippos Karapetis
0f30ba2f10 SCI: Fix bug #3614566 - "LSL6: ScummVM locks up at Electro-Shock room"
We now do the jumpToTick() for hold events after waiting for the delta
of the current event, like we do for the signal set events. This keeps
the fixes for the hold timings in QFG3, while not breaking LSL6.

Many thanks to wjp for pinpointing the actual cause of the issue.
2013-07-07 19:41:42 +03:00
Filippos Karapetis
d530985a6b SCI: Avoid using g_sci for usesOldGfxFunctions() in the GfxPorts class 2013-06-21 13:19:37 +03:00
Filippos Karapetis
125b146b06 SCI: Implement the 4-param version of kDoSoundSendMidi - bug #3614447
Many thanks to wjp for his help with disassembly
2013-06-19 02:08:06 +03:00
Willem Jan Palenstijn
6e3510ac61 SCI: Add note about LSL1vga DoSoundSendMidi 2013-06-18 18:46:54 +02:00
Filippos Karapetis
f38c7d76ef SCI: Add a workaround for a script bug in SQ5, room 800 - bug #3614145 2013-05-31 05:59:25 +03:00
Matthew Hoops
80e3002105 SCI: Add an alternate version of the GK1 demo 2013-05-17 23:13:07 -04:00
Matthew Hoops
ddf3472895 SCI: Add detection for an interactive KQ7 demo
Thanks to DrMcCoy
2013-05-17 23:04:10 -04:00
Matthew Hoops
0031c41db8 COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.

This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Filippos Karapetis
b8eaefbf8a SCI: Silence some false positive warnings - CID 1003539, 1003540, 1003541, 1003542 2013-05-01 01:51:12 +03:00