589 Commits

Author SHA1 Message Date
Martin Kiewitz
c422e39bf8 SCI: implemented kPalette(save/restore)
svn-id: r51381
2010-07-27 17:51:44 +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
95c68f0291 SCI: changing CRLF to LF
svn-id: r51331
2010-07-26 18:45:32 +00:00
Martin Kiewitz
4940819df6 SCI: reverting r51304, broke kq6 hires
svn-id: r51329
2010-07-26 18:40:49 +00:00
Martin Kiewitz
faf0d5c2e3 SCI: adding workaround for island of dr. brain
room 290 elevator puzzle, solves bug #3034485

svn-id: r51319
2010-07-26 15:40:12 +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
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
f3f3f1d6db SCI: adding kOnMe transparency support
and disabling speed throttler for poor clones computer :P
fixes some hotspots in gk1 only supposed to react on actual pixel clicks

svn-id: r51255
2010-07-24 19:38:13 +00:00
Martin Kiewitz
97025ec7c1 SCI: removing sci32 gfx debug messages
svn-id: r51254
2010-07-24 19:19:09 +00:00
Martin Kiewitz
9bea286e49 SCI: cache Planes for sci32
svn-id: r51249
2010-07-24 16:47:12 +00:00
Martin Kiewitz
2047e75d2b SCI: kCelWide/kCelHigh now adjust on hires views
somewhat fixes gk1 hires inventory issue

svn-id: r51245
2010-07-24 15:15:38 +00:00
Martin Kiewitz
5a5f8387ad SCI: removing some debug stuff from sci32 gfx
svn-id: r51244
2010-07-24 12:03:30 +00:00
Martin Kiewitz
8e04d25be6 SCI: support kSetCursorSci11(-2)
svn-id: r51202
2010-07-23 10:58:06 +00:00
Martin Kiewitz
53893341fb SCI: kSetCursor works the same in sci16
(coordinates are not a regular Rect, but bottom/right is the last allowed coordinate)

svn-id: r51177
2010-07-22 22:13:25 +00:00
Filippos Karapetis
a9414ebb08 SCI: Some slight work on robot files
svn-id: r51176
2010-07-22 22:04:40 +00:00
Martin Kiewitz
d2ab37529e SCI: kSetCursor change for sci32
we use the movezone like any other rect, but sierra sci actually specifies bottom/right as being the last possible coordinates

svn-id: r51174
2010-07-22 21:55:45 +00:00
Martin Kiewitz
ba47a427b2 SCI: sci2+ has a different kSetCursor order
fixes gk1 mouse cursor issue
thx to wjp

svn-id: r51168
2010-07-22 21:40:10 +00:00
Filippos Karapetis
a1dab5f923 SCI: Moved all the video related functions in a separate file
svn-id: r51110
2010-07-21 21:37:30 +00:00
Filippos Karapetis
9862f3fe24 SCI: Moved the SCI32 kernel functions out of kernel32.cpp and into their respective files
svn-id: r51108
2010-07-21 21:18:21 +00:00
Martin Kiewitz
781aee909b SCI: r51104 adding #ifdef and check for hires
pq4cd is probably low-res, so adding check for hires and adding #ifdef as well

svn-id: r51106
2010-07-21 20:28:53 +00:00
Martin Kiewitz
0d1c44301a SCI: halfing kCelWide for sci2.1
fixes lsl6 inventory icon placement, ffs. see comments

svn-id: r51104
2010-07-21 20:22:24 +00:00
Martin Kiewitz
723f15c084 SCI: removing kSetPort 4 argument support from r44938, which was wrong - adding workaround for lsl6 ending - fixes lsl6 ending
svn-id: r50967
2010-07-17 19:52:19 +00:00
Martin Kiewitz
d78eba3d18 SCI: solved lsl1 casino door, lsl6 tram disappearing and qfg1 vga gate issue - i hope this won't cause regressions, but calling the method in collision case is definitely wrong
svn-id: r50921
2010-07-15 21:10:50 +00:00
Martin Kiewitz
6e5b537aaf SCI: r50919 had some temporary test code in it, removing that so it really returns the actual "problem"
svn-id: r50920
2010-07-15 19:39:43 +00:00
Martin Kiewitz
ddd01ffcb6 SCI: some big changes to kCantBeHere - kCantBeHere returns the actual "problem" instead of being a plain boolean - part of solving lsl1 casino door / qfg1vga gate
svn-id: r50919
2010-07-15 19:23:18 +00:00
Martin Kiewitz
946d69cc5e SCI: adding quest for glory 2&3 export save filenames (same types and object names as qfg1)
svn-id: r50853
2010-07-13 20:28:17 +00:00
Martin Kiewitz
a188255196 SCI: adding quest for glory 1 export save filename ("a:glory1.sav") for filename fixing
svn-id: r50851
2010-07-13 20:14:42 +00:00
Max Horn
20ef5c5623 SCI: Fix warning
svn-id: r50818
2010-07-12 11:09:29 +00:00
Martin Kiewitz
30a28ec107 SCI: remove "a:" from default export hero quest 1 filename "a:hq1_hero.sav"
svn-id: r50803
2010-07-11 16:55:08 +00:00
Martin Kiewitz
c77c84f5c5 SCI: also sync palette after playing movies, fixes kq6 intro
svn-id: r50798
2010-07-11 10:11:31 +00:00
Martin Kiewitz
790e9b0351 SCI: added signatures for kGraph, removed isDummy boolean from KernelFunction
svn-id: r50786
2010-07-10 18:21:09 +00:00
Martin Kiewitz
f38348b82e SCI: adding kPalette signatures, fixing 3 kPalVary calls, fixing kAssertPalette (we used the wrong parameter number before, maybe the issues were caused by this)
svn-id: r50780
2010-07-10 12:19:32 +00:00
Torbjörn Andersson
cfc93a7e4d Simplified the expression.
svn-id: r50779
2010-07-10 11:16:46 +00:00
Torbjörn Andersson
bab61443ac Fixed warning.
svn-id: r50778
2010-07-10 11:15:10 +00:00
Martin Kiewitz
f687a44d2a SCI: added kPalVary signatures & mapping, removed debug-warnings
svn-id: r50777
2010-07-10 10:20:23 +00:00
Filippos Karapetis
bff3e89e48 SCI: Removed the FreeSCI music code
svn-id: r50532
2010-06-30 13:49:05 +00:00
Max Horn
4016bdfd27 SCI: cleanup
svn-id: r50419
2010-06-28 11:19:27 +00:00
Max Horn
6ee82a2027 SCI: Introduce SciGameId enum
svn-id: r50273
2010-06-25 16:16:29 +00:00
Filippos Karapetis
550209d1e6 Removed the game ID check for embedded priority in icon controls, and replaced it with a check for priority existence
svn-id: r50260
2010-06-25 09:57:37 +00:00
Martin Kiewitz
00e88f15e3 SCI: arg5 is map for graph(updateBox), added comment
svn-id: r50221
2010-06-24 17:02:55 +00:00
Martin Kiewitz
e45ffc68a3 SCI: created a workaround table for uninitialized reads, removing old commented out workarounds for pharkas and laura bow 2
svn-id: r50214
2010-06-24 13:17:45 +00:00
Martin Kiewitz
f93ca1e424 SCI: implement detection for uninitialized temp variable reads and implement direct fixes for them, i couldnt figure out a valid replacement for island, pharkas and laurabow2 work that way. this should also get changed to a replacement table
svn-id: r50211
2010-06-24 11:54:33 +00:00
Filippos Karapetis
0fb5429318 Initialize the stack with 'S' or 's' characters, like SSCI does (ultimately, we should not change the stack again like we do in op_link - this is what Sierra is doing). Some cleanup
svn-id: r50207
2010-06-24 09:52:08 +00:00
Martin Kiewitz
9ca43423b4 SCI: kPalVary(SetTarget) implemented
svn-id: r50153
2010-06-22 17:05:00 +00:00
Martin Kiewitz
66c286d096 SCI: kPalVary(setTarget) now triggers an error
svn-id: r50146
2010-06-22 15:33:46 +00:00
Martin Kiewitz
6f195ae5a4 SCI: implemented kPalVary(changeTicks)
svn-id: r50100
2010-06-20 21:12:15 +00:00
Martin Kiewitz
a22e294ca6 SCI: displaying debug warning again for kPalVary(init)
svn-id: r50092
2010-06-20 19:39:08 +00:00
Martin Kiewitz
3c6639eb86 SCI: implemented kPalVary(reverse) for pharkas, although there is a bug somewhere, not working 100%
svn-id: r50089
2010-06-20 18:20:05 +00:00
Martin Kiewitz
bb1358ae3b SCI: adding info about kPalVary(8) being SCI32 exclusive
svn-id: r50086
2010-06-20 17:14:58 +00:00