Commit Graph
121 Commits
Author SHA1 Message Date
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