Commit graph

457 commits

Author SHA1 Message Date
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
Max Horn
359be0c066 SCI: Change SciEngine's 'char *getGameID()' to 'Common::String getGameId()'
svn-id: r49968
2010-06-17 23:14:34 +00:00
Lars Skovlund
37434d86ae SCI: PlayVMD(1): Hmmm. Don't print gammaBoost etc if they aren't used
svn-id: r49953
2010-06-17 22:08:07 +00:00
Lars Skovlund
d1964ec18b Add additional documentation and code to PlayVMD(1) describing the
myriad parameters settable here, and dump actual parameters passed

svn-id: r49952
2010-06-17 22:05:28 +00:00
Matthew Hoops
82c36b6b26 Only do video scaling when required (hopefully fixes SQ6). Adapt the scaling code to normal SCI videos as well.
svn-id: r49951
2010-06-17 21:00:45 +00:00
Torbjörn Andersson
1bbb9d7bd2 Fixed cppcheck warning.
svn-id: r49935
2010-06-17 15:46:01 +00:00
Filippos Karapetis
81fe1aa19e Added some more information on some of the calls of kPlayVMD
svn-id: r49923
2010-06-17 08:55:08 +00:00
Filippos Karapetis
25496abe1b Added 2x scaling for VMD videos, for bugtesting (temporarily in SCI itself). It's currently not optimized much, but since the VMD decoder code will be revamped, we don't really care about performance at this point
svn-id: r49921
2010-06-17 07:53:57 +00:00
Filippos Karapetis
894ba682cd Moved kMulDiv together with the rest of the math functions, and kPlayVMD together with the rest of the video playing functions
svn-id: r49920
2010-06-17 07:26:06 +00:00
Filippos Karapetis
93890a49c1 Added back the functionality to skip videos
svn-id: r49911
2010-06-16 23:28:20 +00:00
Filippos Karapetis
9b6f71d7cf Added handling for the SCI2.1 kPalette(1) call. The graphics in Torin's Passage are shown with the correct colors now
svn-id: r49908
2010-06-16 21:44:33 +00:00
Matthew Hoops
cf38303497 Don't disable kPalVary for SCI32, the semantics have remained the same.
svn-id: r49865
2010-06-15 16:56:23 +00:00
Martin Kiewitz
b25aba1d1e SCI: SciGui/SciGui32 gone for good...
svn-id: r49860
2010-06-15 15:44:24 +00:00
Martin Kiewitz
891b568fde SCI: move textSize and textFonts and textColors inside gfxText16
svn-id: r49851
2010-06-15 13:01:07 +00:00
Martin Kiewitz
59d0035b03 SCI: move portrait methods to gfxPaint16
svn-id: r49806
2010-06-15 12:01:49 +00:00
Filippos Karapetis
eb4ec596cd Use the SELECTOR() macro for readability
svn-id: r49563
2010-06-10 09:18:57 +00:00
Filippos Karapetis
c00d645506 Fixed the cursor limiting code in GK1
svn-id: r49440
2010-06-05 18:15:41 +00:00
Filippos Karapetis
67de5b1bd3 Mass renaming of selector-related functions, and removed some defines which were just cloaking functions with a different name
- GET_SEL32 -> readSelector
- GET_SEL32V -> readSelectorValue
- PUT_SEL32 -> writeSelector
- PUT_SEL32V -> writeSelectorValue
Also, changed some selector-related function names and variables to CamelCase

svn-id: r49317
2010-05-29 23:37:15 +00:00
Matthew Hoops
cd5e90f298 Implement QuickTime playback for SCI1.1 Mac. The 'Halfdome' and 'KQ6Movie' videos now play. However, they require multiple edit list support to look completely correct.
svn-id: r49224
2010-05-26 03:43:21 +00:00
Filippos Karapetis
c874ff15a8 Cleaned up the game ID code:
- The game ID is now obtained from ScummVM ID directly, not by converting Sierra's internal ID
- Moved the code which reads the internal Sierra ID inside the resource manager
- Moved the code which converts the internal Sierra ID to ScummVM's IDs together with the rest of the detection code

svn-id: r49152
2010-05-23 10:28:03 +00:00