Filippos Karapetis
cd61674010
SCI: Check for the existence of script 180 before accessing it.
...
Fixes the Longbow demo
svn-id: r52344
2010-08-24 14:58:29 +00:00
Filippos Karapetis
ff9b897d8c
SCI: Define xLast/yLast for LB2 floppy (which has no selector
...
vocabulary), since they're used inside kDoBresen()
svn-id: r52343
2010-08-24 14:54:16 +00:00
Martin Kiewitz
5fbe5f049b
SCI: more work on replacing save dialog
...
also removing some previous code, because it wont work that way
svn-id: r52342
2010-08-24 14:40:18 +00:00
Martin Kiewitz
af6492fa45
SCI: some work on replacing save dialog
...
svn-id: r52341
2010-08-24 13:50:55 +00:00
Martin Kiewitz
10a1806f32
SCI: fixing const cast warning
...
making clone happy :D
svn-id: r52339
2010-08-24 13:37:24 +00:00
Martin Kiewitz
347accf2d7
SCI: dont load target palette when gameIsRestarting != 0
...
fixes sepia palette getting applied when loading in pharkas (part of bug #3051905 )
svn-id: r52326
2010-08-24 11:21:32 +00:00
Martin Kiewitz
b192de5423
SCI: changing signature of kRestoreGame
...
and changing patch code accordingly
svn-id: r52320
2010-08-24 09:11:53 +00:00
Martin Kiewitz
d828b36d76
SCI: changing maximum slots from 0-999 to 0-99
...
svn-id: r52319
2010-08-24 09:05:54 +00:00
Martin Kiewitz
d5d8434fd6
SCI: now pausing/unpausing music in replaced restore dialog
...
dialog will not get replaced in sci32, nor in mother goose. Enable by adding "scireplacedialog" inside scummvm section of scummvm.ini file. Note: this feature is experimental
svn-id: r52318
2010-08-24 09:00:53 +00:00
Martin Kiewitz
f1f24b7b28
SCI: bit more work on restore dialog replacing
...
(works now, if enabled - but music isn't yet paused)
svn-id: r52317
2010-08-24 08:31:57 +00:00
Martin Kiewitz
e93eaa0d95
SCI: some more work on replacing restore dialog
...
svn-id: r52314
2010-08-23 23:04:07 +00:00
Martin Kiewitz
0c5561105c
SCI: storing game super class address now inside SciEngine
...
svn-id: r52311
2010-08-23 20:29:13 +00:00
Martin Kiewitz
45a87ffe3f
SCI: some work on replacing sierra restore dialog
...
svn-id: r52305
2010-08-23 19:10: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
Martin Kiewitz
d6fc42ebc9
SCI: slightly changing msecs for scrolling
...
svn-id: r52299
2010-08-23 13:57:00 +00:00
Filippos Karapetis
23d4177d20
SCI: Check for EOF and errors when reading from a file. Fixes bug #3049360 - "SCI: Bug in file read/write operations"
...
svn-id: r52298
2010-08-23 12:56:41 +00:00
Willem Jan Palenstijn
eeff13d747
SCI: Fix whitespace
...
svn-id: r52297
2010-08-23 10:18:06 +00:00
Filippos Karapetis
f960f5da23
SCI: Fixed bug #3051163 - "MOTHERGOOSE: Crash at the very end" and merged 2 SQ6 workarounds
...
svn-id: r52294
2010-08-23 08:29:16 +00:00
Filippos Karapetis
542711cea7
SCI: Fixed bug #3048908 - "PQ3EGA: Wrong speech bubble background colors" and added a FIXME inside kGraphDrawLine
...
svn-id: r52291
2010-08-22 23:55:29 +00:00
Filippos Karapetis
11d5f5ac06
SCI: Fixed bug #3050856 - "SQ3 : Crash at intro"
...
svn-id: r52289
2010-08-22 23:11:55 +00:00
Matthew Hoops
66f7e4306c
SCI: Add uninit'd workaround for the SQ6 demo
...
svn-id: r52283
2010-08-22 17:55:29 +00:00
Filippos Karapetis
68f3cc944c
SCI: Reimplemented the kShow kernel command, used by the inbuilt SCI debugger. There is no real need to implement kernel debug commands, but since this one maps almost directly to our own "show" debug command, it has been reimplemented (was removed in rev #45310 ). Normally, there is no real need to implement kernel functions for debug functionality, since there are advanced tools for this purpose nowadays (plus, ScummVM's debugger). Fixes bug #3050616 - "QFG1 EGA: priority/control/view functions crash, debug mode"
...
svn-id: r52281
2010-08-22 16:30:33 +00:00
Matthew Hoops
3677a8a382
SCI: Fix a bug in kFileIOWriteString. The first return statement should go inside the if-statement.
...
svn-id: r52269
2010-08-22 03:50:42 +00:00
Martin Kiewitz
ee6f972247
SCI: improving delaying transitions
...
should hopefully make them run better on different platforms (some platforms dont update on every updateScreen call, so the transitions worked much faster there (e.g. wii) and some other platforms dont have that much power, so transitions were slower on those)
svn-id: r52266
2010-08-21 17:49:59 +00:00
Martin Kiewitz
4742b4d728
SCI: now fading color 255 as well in sci1.1
...
looks better, although sierra didn't do that (examples: qfg3 demo/intro)
svn-id: r52264
2010-08-21 14:54:57 +00:00
Martin Kiewitz
ff24ae66fb
SCI: removing debug output from r52259
...
svn-id: r52263
2010-08-21 14:53:14 +00:00
Martin Kiewitz
864b067f66
SCI: fixing resourcemgr for pharkas/german
...
pharkas/german has duplicate resource entries inside the main resource files and we used the first ones. This results in half of the game being english and umlauts missing. We now use the last entries, which will fix all those issues (fixes bug #3039551 )
svn-id: r52259
2010-08-21 13:36:09 +00:00
Filippos Karapetis
3faae2a831
Reverted part of r52256, it's not really undefined behavior (the two parts of the bitwise OR aren't reading from the same source)
...
svn-id: r52258
2010-08-21 13:24:09 +00:00
Filippos Karapetis
d986a78834
SCI: Fixed potentially undefined behavior
...
svn-id: r52256
2010-08-21 13:03:35 +00:00
Filippos Karapetis
f9d9fe8f12
SCI: Added support for the DEL key
...
svn-id: r52255
2010-08-21 11:34:19 +00:00
Filippos Karapetis
2c8946f392
SCI: add support for Control-C in earlier SCI games, too
...
svn-id: r52254
2010-08-21 11:11:54 +00:00
Filippos Karapetis
c4d58a8d88
SCI added the "init" selector to the list of static selectors of LB2 floppy (which has no selector vocabulary), so that the workarounds of the CD version match with the ones from the floppy version
...
svn-id: r52253
2010-08-21 11:03:09 +00:00
Filippos Karapetis
dcd6c9eaf0
SCI: Fixed bug #3048911 - "Keyboard discrepancies in all SCI games" by handling synthetic (keyboard repeat) events and adding support for Control-C
...
svn-id: r52252
2010-08-21 10:46:35 +00:00
Filippos Karapetis
107c39910d
SCI: Fixed bug #3050122 - "QFG3: Crash after throwing the spear of death"
...
svn-id: r52251
2010-08-21 09:19:34 +00:00
Filippos Karapetis
7890bf484f
SCI: Added a detection entry for LSL5 (bug report #3049771 )
...
svn-id: r52250
2010-08-21 08:25:36 +00:00
Martin Kiewitz
3e427b725b
SCI: added another comment to kRandom
...
about hoyle4
svn-id: r52246
2010-08-20 22:14:48 +00:00
Martin Kiewitz
1b9d95e43c
SCI: kRandom now exactly behaving like sierra sci
...
hoyle4 and lsl5 door code work now
svn-id: r52244
2010-08-20 21:59:14 +00:00
Filippos Karapetis
f8957603e6
SCI: Fixed typos in kRandom()
...
svn-id: r52242
2010-08-20 21:05:56 +00:00
Filippos Karapetis
29adf97a14
SCI: Reverted kRandom to use unsigned integers again (used e.g. in LSL5) and added a temporary hack for the special case in Hoyle 4 (0x0, 0xFFFF), till we find out how this is handled correctly
...
svn-id: r52240
2010-08-20 21:02:24 +00:00
Filippos Karapetis
8d037cd5af
SCI: Fixed bug #3039308 - "HOYLE4: Rules Dialog missing background"
...
svn-id: r52237
2010-08-20 18:52:21 +00:00
Filippos Karapetis
45f1a5d450
Fixed bug #3049361 - "Hoyle4: Game is falsely detected as DEMO"
...
svn-id: r52236
2010-08-20 18:43:00 +00:00
Filippos Karapetis
3d913042c0
SCI: Fixed bug #3049435 - "QFG3: Crash at Simbani warrior challenge"
...
svn-id: r52235
2010-08-20 18:18:52 +00:00
Filippos Karapetis
dd1708a1f1
Reverting r52224, as it was incorrect - fanmade games use the same interpreter as normal ones, so this doesn't make sense. Added a FIXME with a description about the graphics glitch in fanmade games
...
svn-id: r52225
2010-08-20 15:17:19 +00:00
Filippos Karapetis
273a9eb036
SCI: Fixed bug #3041153 - "SCI Fanmade Games: Message window glitch"
...
svn-id: r52224
2010-08-20 12:24:48 +00:00
Filippos Karapetis
087a15ae0e
SCI: Fixed bug #3049146 - "MOTHERGOOSE CD: Rooms 7, 23 crash", merged some similar workaround entries and added a comment for invalid rects received in kCan(t)BeHere
...
svn-id: r52223
2010-08-20 10:49:01 +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
Filippos Karapetis
849ccc9eab
SCI: Changed a warning into a debugC
...
svn-id: r52220
2010-08-20 07:38:33 +00:00
Martin Kiewitz
af46e0fdc0
SCI: disabling EGA mapping after sci1ega
...
fixes vga conversion games graphic glitches, some views have bad mapping tables
svn-id: r52218
2010-08-19 22:21:03 +00:00
Filippos Karapetis
6dcdc72fda
SCI: Fixed bug #3038228 - "MOTHERGOOSE: Crash at the castle"
...
svn-id: r52214
2010-08-19 16:21:31 +00:00
Filippos Karapetis
780dacf48d
SCI: Fixed one of the bugs in hoyle3, from bug report #3038837 - "HOYLE3: EGA/VGA Crashes" (that report includes more issues)
...
svn-id: r52213
2010-08-19 15:58:39 +00:00