Colin Snover
5b6b20f421
SCI: Fix SCI32 kPalVary subops 1, 4, 5, 7, 8, 9 using wrong indexes
2016-01-20 16:12:56 -06:00
Colin Snover
fb891e4c08
SCI: Implement SCI32 kPalVary and kPalette setFade
...
This also fixes kPalCycle signatures to be more accurate.
2016-01-14 16:13:22 -06:00
Colin Snover
f1cf07eded
SCI: Add kPalMorph stub
2016-01-14 16:13:22 -06:00
Colin Snover
8a1d48fc03
SCI32: Add kFrameOut stub code
2016-01-07 16:35:09 -06:00
Colin Snover
70d89b3e39
SCI32: Add kSetPalStyleRange stub code
2016-01-07 16:35:09 -06:00
Colin Snover
aeee621e44
SCI32: Add initial support for palette cycling (kPalCycle) and fading (kPalFade)
...
Graphics palette code was rewritten between SCI1 and SCI2, so
SCI32 palette engine code has been moved to a separate GfxPalette32
class.
2016-01-07 16:35:09 -06:00
Johannes Schickel
8fc7d60feb
SCI: Make GPL headers consistent in themselves.
2014-02-18 02:39:37 +01:00
Filippos Karapetis
ed400d57fc
SCI: Fix NS rect calculation in GK1 (and SCI32 in general)
...
This fixes the regressions caused by refactoring in SCI32. Thanks to
Timo Korvola for tracking down the issue and providing an initial
patch in bug #6452
2014-02-17 12:00:17 +02:00
Filippos Karapetis
566eb5d247
SCI: Add some info on kPalVary(9)/kPalVaryUnknown2
2013-01-11 02:24:17 +02:00
Filippos Karapetis
f2464dc474
SCI: Add subop 9 of kPalVary (used in SCI32, e.g. QFG4 when exiting the caves)
2013-01-11 02:24:17 +02:00
Willem Jan Palenstijn
3dad5e55e2
SCI32: Add more KScrollWindow notes
2012-12-31 21:51:46 +01:00
Willem Jan Palenstijn
8ff034ef94
SCI32: Add more KScrollWindow notes
2012-12-30 16:12:47 +01:00
Willem Jan Palenstijn
704eb425d3
SCI32: Add notes about KScrollWindow/Where,Go
2012-12-30 13:57:08 +01:00
Willem Jan Palenstijn
1fde5e615e
SCI32: Add some notes about KScrollWindow/Add
2012-12-30 13:12:51 +01:00
Filippos Karapetis
7d436622a8
SCI: More work on kRemapColors
...
This implements some more color remap-based palette effects, found in QFG4
2012-08-21 03:32:23 +03:00
Filippos Karapetis
e7836beabb
SCI: Silence some very chatty warnings
...
Also, add an example room where kRemapToGray is called
2012-07-25 12:13:35 +03:00
Filippos Karapetis
55e508b91f
SCI: Add a workaround for QFG4, screen 140 (character selection screen)
2012-07-25 01:32:34 +03:00
Filippos Karapetis
fe3fb1873c
SCI: Cleanup of the palette remapping code
2012-07-24 22:54:37 +03:00
Filippos Karapetis
6f35130204
SCI: More work on color remapping
...
More transparency/color mapping effects are now working (e.g. the
flashlight at the Gedde tomb in GK1, the rays of light at Schloss Ritter
in GK1, the torch in the QFG4 demo and the shadows in QFG4, PQ4 and KQ7)
2012-07-24 22:34:46 +03:00
Filippos Karapetis
bd281928cb
SCI: Initial implementation of kRemapColors(kRemapByPercent)
...
Fixes some graphics glitches in the QFG4 demo and the menus of QFG4, by
implementing one of the transparency effects used mainly in SCI32.
Many thanks to fuzzie for her debugging info on QFG4 demo and to wjp for
his great help on the dissassembly
2012-07-24 03:53:44 +03:00
Filippos Karapetis
61e8fdbf1d
SCI: Separate the early SCI11 version of kRemapColors from the SCI32 one
2012-07-24 00:18:31 +03:00
Filippos Karapetis
eba2ed99f8
SCI: Bugfix for kCreateTextBitmap(). Fixes the ComPost text in the SQ6 demo
2012-07-17 00:50:02 +03:00
Filippos Karapetis
49c76c835b
SCI: Only skip text in room 100 in the SQ6 demo
2012-07-16 12:11:22 +03:00
Filippos Karapetis
59ea918745
SCI: Temporarily disable text display in the demo of SQ6 to stop crashes
2012-07-16 12:04:34 +03:00
Filippos Karapetis
fb215929ef
SCI: Some updates to SCI32 kernel graphics functions
...
- Added a stub for kSetScroll, which sets the target picture immediately
for now
- Added an initial stub of kPalCycle (doesn't work correctly yet)
- Adjusted the signatures of kUpdateLine and kDeleteLine for LSL6
- Unmapped kSetHotRectangles again, with updated information on how it
is used in Phantasmagoria
2012-07-05 13:58:41 +03:00
Filippos Karapetis
dc1a097e50
SCI: Make the debug message in kSetShowStyle more verbose
2012-07-04 02:21:09 +03:00
Filippos Karapetis
5a47afea9e
SCI: Move kGetWindowsOption together with the other misc kernel functions
2012-07-03 18:11:41 +03:00
Filippos Karapetis
2b50824133
SCI: Add setter/getter methods to reg_t's
...
No functionality change has been made with this commit. This avoids
setting and getting the reg_t members directly, and is the basis of any
future work on large SCI3 scripts (larger than 64KB)
2012-06-18 05:24:06 +03:00
Filippos Karapetis
5ca22a1104
SCI: Fix warnings
...
Thanks to DrMcCoy for reporting them
2012-06-15 22:32:15 +03:00
Filippos Karapetis
dc11d223cd
SCI: Initial implementation of AddLine, UpdateLine, DeleteLine
2012-06-09 15:36:36 +03:00
Filippos Karapetis
de3f6a19ed
SCI: Initial implementation of kScrollWindow, used in some SCI21 games
...
This is used in LSL6 hires and SQ6. This initial implementation is hackish
and only works in SQ6 (nothing is shown in LSL6)
2012-06-07 11:27:59 +03:00
Matthew Hoops
92b907e856
SCI: Silence unused variable warnings
2012-05-21 00:07:28 -04:00
Filippos Karapetis
6fb9511c93
SCI: Remove the hackish (and wrong) SCI32 fade code
2012-05-20 20:26:45 +03:00
Filippos Karapetis
f8c24b5d88
SCI: Split the SCI32 graphics kernel functions in a separate file
2012-05-20 20:16:15 +03:00