Commit Graph
626 Commits
Author SHA1 Message Date
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
Martin Kiewitz 7ecff0a300 SCI: implementing kPalVary(2)
svn-id: r50085
2010-06-20 17:08:39 +00:00
Martin Kiewitz b016c16300 SCI: some kPalVary support - intro of island dr. brain works fine now
svn-id: r50082
2010-06-20 16:31:24 +00:00
Martin Kiewitz 7ce739f51b SCI: kPalVary - cleanup and some more code
svn-id: r50081
2010-06-20 15:01:31 +00:00
Martin Kiewitz daf1429ca2 SCI: implementing reading of parameters for kPalVary(init) for argc 4 and argc 5
svn-id: r50075
2010-06-20 12:38:08 +00:00
Filippos Karapetis 6f7f6572c4 Fixed invalid memory read in LSL6 hires - kRobot(1) returns an integer
svn-id: r50024
2010-06-18 17:34:34 +00:00
Max Horn bb528d894c SCI: Rewrap some overlong comments
svn-id: r50012
2010-06-18 09:37:06 +00:00
Filippos Karapetis 8f761de15f Added a new subop of kPalVary (PQ4)
svn-id: r49987
2010-06-18 01:48:56 +00:00
Filippos Karapetis d2a9fdae26 Added stubs for kPalVary, subops 2 and 5 (XMAS '92, QFG4 demo)
svn-id: r49981
2010-06-18 00:59:10 +00:00
Filippos Karapetis 949493d141 Fixed invalid memory read in GK1CD
svn-id: r49980
2010-06-18 00:49:55 +00:00
Filippos Karapetis 880e07250e Added warning about unhandled kGraph subop 1 (GK1CD)
svn-id: r49979
2010-06-18 00:37:56 +00:00
Filippos Karapetis 6946167f34 Strict mode: error out on unhandled subops, to note if they actually exist and where they're used
svn-id: r49975
2010-06-17 23:53:30 +00:00
Lars Skovlund f977faaf9f SCI: Fix a few errors in PlayVMD comment.
svn-id: r49971
2010-06-17 23:44:01 +00:00
Max Horn b474a72d18 SCI: Remove incorrect gameid check
svn-id: r49969
2010-06-17 23:14:57 +00:00