Commit graph

239 commits

Author SHA1 Message Date
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
b192de5423 SCI: changing signature of kRestoreGame
and changing patch code accordingly

svn-id: r52320
2010-08-24 09:11:53 +00:00
Martin Kiewitz
e93eaa0d95 SCI: some more work on replacing restore dialog
svn-id: r52314
2010-08-23 23:04:07 +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
Filippos Karapetis
3268238364 SCI: Fixed script bug #3048054 - "LONGBOW: crash when opening hand code" (German version)
svn-id: r52196
2010-08-18 20:28:48 +00:00
Filippos Karapetis
d0d677ab75 SCI: Fixed bug #3042964 - "KQ4: Signature Mismatch"
svn-id: r52180
2010-08-18 05:27:13 +00:00
Martin Kiewitz
8889a6574d SCI: adding workaround for sq1
when restoring on arcada in some rooms (bug #3040908)

svn-id: r51984
2010-08-11 14:35:42 +00:00
Martin Kiewitz
425b90f6d2 SCI: adding kDoSound(fade) workaround table to sci1early
fixes kq5 bug #3037594 thx to [md5] for testing

svn-id: r51686
2010-08-03 12:39:11 +00:00
Filippos Karapetis
5ca6b33ba7 SCI: Silenced some sound related warnings. Added an empty function for kDoSound(Restore), called when restoring games
svn-id: r51661
2010-08-02 21:20:43 +00:00
Filippos Karapetis
065d32ec00 SCI: Fixed script bug #3037835 - "ISLANDBRAIN: Crash when breeding second-generation hybrid"
svn-id: r51611
2010-08-02 11:46:03 +00:00
Filippos Karapetis
f434f901bd SCI: Fixed script bug #3038077 - "PQ3 : Engine Abort While Plotting Crimes", together with 2 subsequent similar bugs
svn-id: r51609
2010-08-02 09:04:14 +00:00
Matthew Hoops
75b5ac38fb SCI: Fix saving/restoring games in fan games
The SCI Studio function library incorrectly calls kDeviceInfo with one parameter to get the current device.

svn-id: r51514
2010-07-30 18:45:28 +00:00
Martin Kiewitz
c785645123 SCI: adding workaround for kSetCursor kq5cd
adding comments as well

svn-id: r51510
2010-07-30 15:26:30 +00:00
Martin Kiewitz
034fb5343f SCI: cleaning up kSetCursor
showing warning about unsupported mag-cursor when argc = 10 is used
removing argc = 9 support, must have been a script bug somewhere

svn-id: r51500
2010-07-30 08:21:54 +00:00
Martin Kiewitz
021c5d11db SCI: changed kRandom signature
accepts 1-3 parameters now for all SCI versions (shouldnt hurt and argc 3 will error() out anyway)
changed comments a bit

svn-id: r51438
2010-07-28 21:55:40 +00:00
Martin Kiewitz
abf53f839a SCI: implement additional variants of kRandom
fixes pq1vga poker game (bug #3036125)

svn-id: r51435
2010-07-28 21:47:15 +00:00
Martin Kiewitz
c0474c91c4 SCI: fixes for qfg2
adding workaround
changing signature for dummy kDoSound call

svn-id: r51411
2010-07-28 11:22:58 +00:00
Matthew Hoops
50e493f3ef SCI: Fix bug #3035720 - SQ1SCI demo: Menu crash
kCelWide and kCelHigh are called with the second two parameters as objects instead of integers. We fake return the real width/height of the view in question to allow the quit menu to work. Values found by examining the view  passed as the first parameter.

svn-id: r51401
2010-07-28 03:54:14 +00:00
Martin Kiewitz
6e8b11867f SCI: fixing signature of kCheckFreeSpace
svn-id: r51394
2010-07-27 21:30:15 +00:00
Martin Kiewitz
b873cf2ebf SCI: changes for mother goose sci2.1
changed signature for kSetCursor sci2.1
added workarounds
added separate gameid for mother goose sci2.1

svn-id: r51385
2010-07-27 19:09:57 +00:00
Martin Kiewitz
3cae0f3452 SCI: kCheckFreeSpace support for sci1.1
and possible sci32

svn-id: r51383
2010-07-27 18:45:32 +00:00
Martin Kiewitz
c422e39bf8 SCI: implemented kPalette(save/restore)
svn-id: r51381
2010-07-27 17:51:44 +00:00
Filippos Karapetis
bc6baef0c0 SCI: Fixed bug #3035186 - "ECOQUEST2: Crash When Receiving Ecorder". Also removed the now obsolete kStringCpy workaround table.
svn-id: r51372
2010-07-27 14:51:08 +00:00
Filippos Karapetis
14c059100c SCI: Fixed script bug #3034610 - "KQ6CD: Crash in endgame (short path)", and removed a relevant TODO
svn-id: r51356
2010-07-27 10:00:17 +00:00
Filippos Karapetis
742a226312 SCI: Fixed bug #3035057 - "ECOQUEST demo: Crashing menu". EcoQuest 1 demo is using an in between SCI1-SCI1.1 interpreter. It's SCI1.1, but it calls kNewWindow with the SCI1 semantics.
svn-id: r51354
2010-07-27 09:40:29 +00:00
Martin Kiewitz
57136cd86a SCI: implement scaling for kDrawCel
fixes qfg4 demo properly (bug #3034506, previous commit r51304)

svn-id: r51332
2010-07-26 19:25:56 +00:00
Martin Kiewitz
4940819df6 SCI: reverting r51304, broke kq6 hires
svn-id: r51329
2010-07-26 18:40:49 +00:00
Filippos Karapetis
e131440821 SCI: Fixed bug #3034519, "GK1 Demo: kIsObject Sig Mismatch".
svn-id: r51305
2010-07-26 09:16:57 +00:00
Filippos Karapetis
d85e016406 SCI: Fixed bug #3034506, "QFG4 Demo: kPalette Subfunction Sig Mismatch", plus another sig mismatch on kDrawCel later on, when Dr. Cranium talks
svn-id: r51304
2010-07-26 08:21:43 +00:00
Filippos Karapetis
a278e01998 SCI: Fixed bug #3034536 - "AMIGAOS4: SCI - Compiler error".
svn-id: r51302
2010-07-26 07:40:51 +00:00
Filippos Karapetis
703c8b665a SCI: Fixed bug #3034490 , "signature mismatch in laura bow 2 introduction"
svn-id: r51298
2010-07-26 06:30:15 +00:00
Martin Kiewitz
e3866046af SCI: adding kAddPicAt dummy
svn-id: r51283
2010-07-25 20:41:23 +00:00
Martin Kiewitz
246a157d1e SCI: adding separate kCantBeHere32 (stub)
svn-id: r51273
2010-07-25 13:11:28 +00:00
Martin Kiewitz
c641731a4c SCI: signature change for kPalVary(8)
svn-id: r51271
2010-07-25 11:40:47 +00:00
Martin Kiewitz
50b163a106 SCI: adding workaround for castle of dr. brain
room 420, alien card game

svn-id: r51257
2010-07-24 20:36:36 +00:00
Martin Kiewitz
665ae8de9d SCI: fix signature of kStrCpy
disabled workaround for island of dr. brain, seems to work w/o and was probably caused by bad signature

svn-id: r51165
2010-07-22 21:06:45 +00:00
Martin Kiewitz
6c41ca4405 SCI: Adding workaround for sq4 room 411
kGraph(RestoreBox) is called with an additional parameter

svn-id: r51145
2010-07-22 14:43:19 +00:00
Filippos Karapetis
e20288fd4f SCI: Fixed signature of kFileIO subop 19 for Torin (full version)
svn-id: r51112
2010-07-21 21:52:15 +00:00
Filippos Karapetis
2ed45d3719 SCI: Moved all the static kernel-related tables in a separate file. Also, moved kStub, kStubNull and kDummy inside kmisc.cpp, together with the other misc kernel calls
svn-id: r51089
2010-07-21 14:50:31 +00:00