Commit Graph
250 Commits
Author SHA1 Message Date
Colin Snover 03e3f2c68c SCI: Fix some rect off-by-ones 2016-02-18 13:18:03 -06:00
Colin Snover 75ccabc325 SCI: Implement accurate renderer architecture for SCI32 2016-02-18 13:18:02 -06:00
Colin Snover 0017cfa06c SCI: Fix SCI32 hires detection making PQ4 unusably slow 2016-01-20 20:06:45 -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 8a1d48fc03 SCI32: Add kFrameOut 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
Ori Avtalion 85fa44c32d JANITORIAL: Remove #includes of list_intern.h 2016-01-02 15:32:38 +02:00
Martin Kiewitz 0dd760724e SCI32: split up SCI2.1 into EARLY/MIDDLE/LATE
- Detection works via signatures (couldn't find a better way)
- new kString subcalls were introduced SCI2.1 LATE
- kString now has signatures and is split via subcall table
- kString fix, so that KQ7 doesn't crash, when starting a chapter
- Sci2StringFunctionType removed, because no longer needed
2015-12-29 01:44:11 +01:00
Martin Kiewitz 5594feff2a SCI: Phantasmagoria actually outputs 630x450 now
clipping of video output was required
2014-11-09 17:33:17 +01:00
Filippos Karapetis bf7eef466d SCI: Wording 2014-10-13 12:26:21 +03:00
Filippos Karapetis ade33c4c0b SCI: Set the NS rect for all cases in GK1 (bug #6729) 2014-10-13 12:21:40 +03:00
Filippos Karapetis e7f023883e SCI: Extend hack to fix regression in GK1 2014-08-08 02:11:49 +03:00
Johannes Schickel daa8d57a86 ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf. 2014-05-27 02:04:07 +02:00
Johannes Schickel 8fc7d60feb SCI: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
Johannes Schickel dbda889e63 SCI: Take advantage of Surface::getPixels. 2013-08-03 04:02:52 +02:00
Johannes Schickel dd67e9f099 SCI: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:33 +02:00
Filippos Karapetis 2088a77388 SCI: Add a hack to fix the inventory in GK1
For some reason, the top left nsRect coordinates get swapped in the GK1
inventory screen, investigate why
2013-07-30 04:21:51 +03:00
Sven Hesse 989ea7cb56 JANITORIAL: Remove trailing whitespace 2013-07-14 19:01:47 +02:00
Filippos Karapetis 41e02baff1 SCI: Fix scaling in the back room of the bookstore in GK1 2013-04-25 02:36:03 +03:00
Filippos Karapetis 51b1ec3139 SCI: Fix drawing in SCI21 hires games without breaking lowres SCI2/SCI21 games 2013-03-28 20:28:51 +02:00
Filippos Karapetis 31aec8c581 SCI: Some more work on scaling in SCI32 2013-01-13 17:28:09 +02:00
Filippos Karapetis 41725ab743 SCI: Fix the night time palette in QFG4 2013-01-11 02:24:18 +02:00
Filippos Karapetis 81d614e63a SCI: More proper handling of scaling and global scaling in SCI32
This fixes several scaling related problems in QFG4 and SQ6
2013-01-11 02:24:18 +02:00
Filippos Karapetis 13ec242a2c SCI: Disable modification of object NS rects in SCI32
This fixes the sliders in QFG4 without introducing any regressions,
as the objects are still drawn on screen using the per-frame adjusted
coordinates
2013-01-11 02:24:17 +02:00
Johannes Schickel 89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Matthew Hoops 857b92f8ff Merge pull request #268 from clone2727/video-rewrite
VideoDecoder upgrade & partial rewrite
2012-08-26 15:41:56 -04:00
Filippos Karapetis a391599403 SCI: Update a comment 2012-08-21 11:55:21 +03:00
Matthew Hoops fb35c7f46f VIDEO: Remove setSystemPalette() 2012-08-16 13:30:32 -04:00
Filippos Karapetis c0beaf2337 SCI: Differentiate between screen width and pitch
This properly addresses the odd screen width (630) in Phantasmagoria 1
2012-07-26 11:06:51 +03:00
Filippos Karapetis 1a90ca5ecd SCI: Handle all negative priority values. Fixes graphics in the SQ6 demo 2012-07-16 11:49:50 +03:00
Filippos Karapetis 10b3fdf247 SCI: Show information for correct file naming in the QFG4 import room
This information is shown in previous QFG versions, but it had to be
placed in a SCI32 graphics function in order to be shown in QFG4 too
2012-07-08 16:15:47 +03:00
Filippos Karapetis e4378d5bac SCI: Better handling for Phantasmagoria's odd screen size
Still not right, as the width isn't set
2012-07-06 13:17:04 +03:00
Filippos Karapetis 7513786296 SCI: Add a hack to handle the internal script resolution in Phantasmagoria 2012-07-06 12:11:50 +03:00
Filippos Karapetis 112f03390d SCI: Fix typo 2012-07-05 14:05:26 +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 243ea1fa29 SCI: Add a check for invalid clip rectangles
Happens in QFG4, when starting a battle
2012-07-04 02:21:13 +03:00
Filippos Karapetis 5d3e22ae4f SCI: Some cleanup of the warnings in the SCI32 plane manipulation code 2012-07-04 02:21:11 +03:00
Filippos Karapetis d757b5b94a SCI: Update some version checks in kernelFrameout() to work with SCI3 too 2012-07-04 01:02:21 +03:00
Filippos Karapetis 547fdfe12a SCI: Further cleanup of the frame drawing code 2012-06-22 09:43:44 +03:00
Filippos Karapetis 0812439603 SCI: Simplify the SCI32 coordinate adjustment code 2012-06-22 09:31:51 +03:00
Johannes Schickel 084c1259fc SCI: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:39:00 +02:00
Filippos Karapetis 425926ed7e SCI: Limit floodfill hack to GK1
Fixes the intro of LSL7 and the inventory screen in PQ4
2012-06-15 12:24:12 +03:00
Filippos Karapetis dc11d223cd SCI: Initial implementation of AddLine, UpdateLine, DeleteLine 2012-06-09 15:36:36 +03:00
Filippos Karapetis 66af2cf1d7 SCI: Handle translucent text planes
Fixes the incorrect flood fill in the Rada Drums screen in GK1
2012-06-09 12:13:48 +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
Filippos Karapetis 6cda15ba8e SCI: Added two new debug commands, plane_list and plane_items
These can be used to debug drawn items in SCI32
2012-05-21 01:30:10 +03:00
Filippos Karapetis 398d0ffcef SCI: Check for object visibility, if an object defines it
Fixes the inventory in GK1
2012-05-14 02:30:15 +03:00
Filippos Karapetis 0f39a43675 SCI: Plug loads of memory leaks in the SCI32 graphics code
Many thanks to digitall for finding these
2012-01-15 18:35:33 +02:00
Filippos Karapetis bf6c42d816 SCI: Don't clip the plane rectangle in kernelDeletePlane()
The actual cause for this clipping has been fixed
2012-01-14 16:37:07 +02:00
Filippos Karapetis 20bcb0545e SCI: When deleting a plane, also delete the items in it
This fixes a crash in GK1 day 2, after using the thermostat outside
Mosely's office
2012-01-14 14:22:54 +02:00