aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
AgeCommit message (Collapse)Author
2016-10-09JANITORIAL: Remove trailing spacesEugene Sandulenko
2016-10-01SCI32: Make kNumCels error more detailedColin Snover
2016-10-01SCI32: Add the rest of the code from PR #813 for dynamic line drawingFilippos Karapetis
2016-09-30SCI32: Fix some buildbot compiler warningsColin Snover
2016-09-29SCI32: Fix broken palette cycling in SCI2/2.1early gamesColin Snover
This fixes the incorrect appearance of the Sierra logo in PQ4 when the main menu appears in hi-res mode. The behaviour of kPalCycle(SetCycle) changed in between 2.1early and 2.1mid to fix an off-by-one error that prevented the last palette entry in a cycle range from being used. Some earlier games, like PQ4CD in hi-res mode, relied on this behaviour, and would render incorrectly if the last palette entry in a range was used.
2016-09-29SCI32: Clean up and document GfxPalette32Colin Snover
2016-09-29SCI32: Fix off-by-one error in palette fadesColin Snover
2016-09-29SCI: Deduplicate call origin formattingColin Snover
2016-09-29SCI: Add prefix to global variable constantsColin Snover
2016-09-29SCI32: Break into debugger after frameout, not beforeColin Snover
2016-09-29SCI32: Ensure break to debugger works during transitionsColin Snover
2016-09-29SCI32: Add workaround for kNumCelsColin Snover
This workaround may be able to be vastly simplified in the future since, so far, simply returning the number of cels in loop 0 is enough to make all the scripts with this bug work as expected.
2016-09-29SCI32: Fix crashes in line drawing codeFilippos Karapetis
Fixes Torin room 43000. The algorithm in Graphics::drawThickLine2 for drawing thick lines is not completely accurate and so there are still some single-pixel rendering bugs, but these do not impact the game itself and can be fixed separately.
2016-09-29SCI32: Extra bounds checking in CelObj rendererColin Snover
2016-09-29SCI32: Always build scaler tables to the maximum possible sizeColin Snover
This fixes rendering errors in Torin caused by the scaler table being cut off early when cels larger than the dimensions of the screen are scaled.
2016-09-29SCI32: Clean up scaling flagsColin Snover
2016-09-29SCI32: Fix CelObj scaling in games with hi-res scriptsColin Snover
2016-09-29SCI: Replace magic numbers for globals with named constantsColin Snover
2016-09-29SCI32: Implement kSetHotRectanglesColin Snover
Used only by chapter 7 of Phant1.
2016-09-29SCI32: Rewrite kArray & kStringColin Snover
This change invalidates earlier SCI32 save games, which separated arrays and strings in an incompatible manner. Old save games contain invalid references to a string segment which no longer exists, and contain incompatible array structures that lack critical type information.
2016-09-29SCI32: Add a trap for invalid calls to kNumCelsColin Snover
2016-09-29SCI: Generalize code for getting information on the current callColin Snover
2016-09-29SCI32: Fix buffer overflow when drawing border to a tiny text bitmapColin Snover
2016-09-29SCI32: Improved game resolution detectionColin Snover
2016-09-29SCI32: Skip SEQ playback if file not foundColin Snover
CID 1361588.
2016-09-29SCI32: Fix incorrect use of speedThrottler in Video32Colin Snover
The sleep values for video playback are the amount of time until the next frame needs to be displayed, whereas speedThrottler is used to ensure that a given amount of time always elapses between two triggered speedThrottler calls.
2016-09-29SCI32: Explicitly instantiate MIN/MAX templatesColin Snover
2016-09-29SCI32: Update screen on frameout, instead of in the event loopColin Snover
2016-09-29SCI32: Fix kShowStyleNone transitionsColin Snover
2016-09-29SCI32: Fix memory leakColin Snover
CID 1361032.
2016-09-29SCI32: Fix potential null pointer dereferenceColin Snover
CID 1361026.
2016-09-29SCI32: Fix potential null pointer dereferenceColin Snover
CID 1357041.
2016-09-29SCI32: Fix typoColin Snover
CID 1361007.
2016-09-29SCI32: Fix potential null pointer dereferenceColin Snover
CID 1351620.
2016-08-28SCI32: Fix rendering of non-ASCII charactersColin Snover
2016-08-24SCI32: Remove extra ! in error messageColin Snover
2016-08-24SCI32: Fix incorrect boolean operatorColin Snover
2016-08-24SCI32: Remove error check for negative celNoColin Snover
Negative cel numbers are exploited by at least the hi-res mode of PQ4CD.
2016-08-23SCI32: Fix crash in Torin, chapter 4, catapult scene (via ScreenItem)Filippos Karapetis
loopNo/celNo are set to unsigned integers in ScreenItem::setFromObject in SSCI, thus their value will be adjusted when it's negative, like in this case
2016-08-23SCI32: Fix palette in SCI32 Mac gamesFilippos Karapetis
2016-08-22SCI32: Move the SCI32 Mac cursor handling code into GfxCursor32Filippos Karapetis
This was left in the SCI16 code in commit 80d9182554
2016-08-19SCI32: Fix limited data range comparison warningColin Snover
On at least DC platform, the ShowStyleType enum is fit to a 4-bit data size, so the 16-bit input value needs to be checked for validity *before* it is cast to a 4-bit ShowStyleType.
2016-08-19SCI32: Remove unused ResourceManager from GfxFrameoutColin Snover
2016-08-19SCI32: Increase maximum line width for graphicsColin Snover
Torin renders pics that are wider than 1024px; SCI3 bumps the maximum line width to 4k.
2016-08-19SCI32: Add kPlayVMDGetStatus kernel callColin Snover
Used by Lighthouse.
2016-08-19SCI32: Remove CoordAdjuster32, at least for the momentColin Snover
This may come back in the future to deduplicate some gfx code, but SCI32 had two different inlined ways of doing coordinate conversions with different rounding methods, so CoordAdjuster32 didn't get used when the graphics system was rewritten. At the moment, SCI32 code uses the mulru/mulinc methods from helper.h for scaling up/down coordinates.
2016-08-19SCI32: Implement kRobotColin Snover
2016-08-19SCI32: Add some bounds checking, const-correctness, and errors to CelObjColin Snover
2016-08-19SCI32: Implement kShakeScreen for SCI32Colin Snover
2016-08-19SCI32: Clean up Cursor32 includesColin Snover