37 Commits

Author SHA1 Message Date
Filippos Karapetis
4fe03f1b66 SCI: Enabled the GUI option to play speech and show subtitles simultaneously in SQ4CD
svn-id: r54736
2010-12-02 13:37:39 +00:00
Filippos Karapetis
6c73f8266e SCI: Fixed bug #3053093 - "QFG1VGA and QFG3: Text box glitches"
svn-id: r54662
2010-11-30 00:26:00 +00:00
Filippos Karapetis
d8afddac63 SCI: Patched the QFG3 character import screen the same way as with QFG2
This prevents random crashes and slow refreshing, same as with QFG2

svn-id: r54414
2010-11-22 00:20:00 +00:00
Filippos Karapetis
0b06a1fe7b SCI: Proper fix for the QFG2 character import screen crashes (bug #3037996)
Script 944 does constant reallocations whenever the selection changes,
which leads to all sorts of unpredictable crashes. Thanks to waltervn for
his help on this issue

svn-id: r54413
2010-11-21 23:43:14 +00:00
Filippos Karapetis
f81b42dcaf SCI: Fix for bug #3110215 - "SQ4 German: endless flight on Estros"
svn-id: r54272
2010-11-16 22:36:06 +00:00
Filippos Karapetis
5de2668939 SCI: Some changes regarding the string heap in saved games
- Maintain the state of the string heap space in saved games
- Merged SegManager::reconstructScripts() inside SegManager::saveLoadWithSerializer()
- Disabled a now unnecessary script patch for the cipher puzzle in Castle of Dr. Brain, and performed some cleanup for another disabled patch
- Removed direct access to the _baseObj variable of objects

svn-id: r54133
2010-11-08 00:18:34 +00:00
Max Horn
3534cff8ef ALL: Fix indention (whitespaces -> tabs)
svn-id: r53738
2010-10-23 15:46:50 +00:00
Martin Kiewitz
c447b99d4e SCI: patching cleanup (+orgbyte/adjust command)
the new commands were meant for castle/brain hangman puzzle patch, but the patch didn't work well, so I removed it. Still the commands could/should come in handy

svn-id: r52695
2010-09-12 22:09:01 +00:00
Martin Kiewitz
446aa6be8a SCI: adding patch for castle brain cipher puzzle
reinitializes puzzle each time its shown. Fixes save/restore bug in that room, bug #3063510

svn-id: r52668
2010-09-10 20:14:37 +00:00
Martin Kiewitz
6eecc485d2 SCI: fix warning (and actual error)
svn-id: r52591
2010-09-06 12:16:21 +00:00
Martin Kiewitz
da45fcfeb2 SCI: add patch for cannister lockup pharkas/cd
scripts disable icon 7+8 when entering the room. When taking the cannister they will disable all remaining icons, resulting in the disable-code running endlessly, also happend in sierra sci - fixes bug #3046367

svn-id: r52587
2010-09-06 11:58:28 +00:00
Martin Kiewitz
9b59496533 SCI: adding patch for script bug in pharkas/cd
patches out bad code that would dispose score sound immediately, "score" sound plays now for pharkas/cd - finally fixes bug #3037161

svn-id: r52570
2010-09-05 20:04:46 +00:00
Filippos Karapetis
f17a9f9fb0 SCI: Changed consecutive ifs to a switch
A table would be better, but the switch will do for now

svn-id: r52543
2010-09-05 11:30:40 +00:00
Filippos Karapetis
047979b409 SCI: Fix for alignment exception issue, reported by Bluddy
svn-id: r52542
2010-09-05 11:10:49 +00:00
Martin Kiewitz
3900aa96b6 SCI: apply qfg1vga fight patch on weapon master
fixes fighting the weapon master as well...

svn-id: r52381
2010-08-25 11:28:27 +00:00
Martin Kiewitz
9ca5165606 SCI: adding pharkas patch for ladder issue
in room 320, fixes bug #3037192

svn-id: r52362
2010-08-24 22:24:25 +00:00
Martin Kiewitz
4a6553098f SCI: adding qfg1vga patch for fight issue
fixes bug #3036756

svn-id: r52361
2010-08-24 21:53:06 +00:00
Martin Kiewitz
7b8add291e SCI: multiple changes for mother goose vga
which is sci1 and sci1.1
fixes bug #3051145
- separating this mother goose from ega and sci2.1
- adding workaround when restoring saved games in these games, games try to calculate restored savedgameid instead of looking it up, we patch this code out and also set the global to the current savedgameid
- adding workaround for scripts checking savedgameid to be below 13 (our savedgameids begin at 100 now)
- changing official range for savedgameids from 1000->1999 to 100->199, otherwise mother goose would have required much larger patches and this range should be fine even if we replace savedgame dialogs later

svn-id: r52301
2010-08-23 16:33:19 +00:00
Filippos Karapetis
31c889d7ce SCI: Fixed the GM detection introduced in rev #52211 to check the first available track, instead of track 1 (which doesn't always exist, e.g. in Pharkas). Also, added a comment inside applyPatch()
svn-id: r52222
2010-08-20 09:35:20 +00:00
Martin Kiewitz
db8b322219 SCI: commenting out hoyle 4 script patch
svn-id: r52143
2010-08-17 10:26:12 +00:00
Martin Kiewitz
c284e78cc0 SCI: adding patch for eq2 / ecorder
initial title now gets removed

svn-id: r52122
2010-08-16 15:22:43 +00:00
Martin Kiewitz
df04f81466 SCI: adding bug id to sq4 patch
svn-id: r52047
2010-08-12 22:27:28 +00:00
Martin Kiewitz
4309d8c00c SCI: adding patch for sq4/floppy
fixing endless flight, is actually a script data bug - there is an additional property, which is not included in property count. It's used. We return 0 in that case, because we don't know about that property, resulting in nest::x never get changed and the scripts check that for advancing

svn-id: r52046
2010-08-12 22:25:15 +00:00
Martin Kiewitz
bb932595d8 SCI: adjusting laurabow2 patch signature
for laurabow2 floppy. In floppy the bug doesn't occur, we fix the code nonetheless

svn-id: r52040
2010-08-12 14:01:28 +00:00
Martin Kiewitz
e5a8c8c544 SCI: laurabow2 patch is lb2cd exclusive
svn-id: r52039
2010-08-12 13:52:03 +00:00
Martin Kiewitz
91cfd04438 SCI: adding patch for laurabow2
painting closing immediately
(fixed properly here, the NRS patch just nukes the whole routine)

svn-id: r52038
2010-08-12 13:45:39 +00:00
Martin Kiewitz
60b2750209 SCI: adding patch for kq5 harpy volume
fixes actual game bug #3042277 - sierra switched in that case to highest volume possible

svn-id: r51999
2010-08-11 20:39:13 +00:00
Martin Kiewitz
3b9ebd6353 SCI: adding patch for eq1cd
fixes ego swimming left/right of room 660 and getting a "message not found" error and a GE? signature mismatch - in sierra sci this also resulted in "message not found" and a hang afterwards - bug #3038387

svn-id: r51951
2010-08-10 15:18:18 +00:00
Martin Kiewitz
98effc462e SCI: changing patch message slightly
svn-id: r51949
2010-08-09 21:57:49 +00:00
Martin Kiewitz
f4f6114583 SCI: fixing signature for gk1
day6 police sleep issue

svn-id: r51948
2010-08-09 21:50:21 +00:00
Martin Kiewitz
fffec23a02 SCI: adding gk1 patch for day 5 freeze
svn-id: r51947
2010-08-09 21:43:31 +00:00
Martin Kiewitz
d88928b1be SCI: adding script patches for gk1
day6 issue in police department

svn-id: r51942
2010-08-09 18:42:07 +00:00
Martin Kiewitz
a06dcea2e5 SCI: kDisposeWindow changes
kDisposeWindow doesn't free windows immediately anymore. We free them after some calls to kSetPort, so the handle will be valid for a short time. Fixes sq4cd and hoyle 4 (commented out patching of script for hoyle 4)

svn-id: r51932
2010-08-08 18:26:40 +00:00
Martin Kiewitz
d2d22de911 SCI: removing kDoBresen hack for sq5
adding detailed comment about sq5 scrubbing issue
not 100% fixed (waltervn should look into it), but at least it works now

svn-id: r51833
2010-08-07 13:56:31 +00:00
Martin Kiewitz
1c1eff9ec5 SCI: adding sq5 scrubbing patch
(for testing only, i'm not sure if it works because i'm unable to reproduce the bug anymore)

svn-id: r51832
2010-08-07 13:40:14 +00:00
Filippos Karapetis
ab0d57d73d SCI: Some cleanup of the script patch code. Added a PATCH_MAGICDWORD define to make the patch tables easier to understand
svn-id: r51811
2010-08-06 22:51:25 +00:00
Filippos Karapetis
57fd588327 SCI: Split the new script patch code in a separate file
svn-id: r51810
2010-08-06 22:36:46 +00:00