Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-29 | SCI32: Ensure break to debugger works during transitions | Colin Snover | |
2016-09-29 | SCI32: Add workaround for kNumCels | Colin 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-29 | SCI32: Fix crashes in line drawing code | Filippos 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-29 | SCI32: Extra bounds checking in CelObj renderer | Colin Snover | |
2016-09-29 | SCI32: Always build scaler tables to the maximum possible size | Colin 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-29 | SCI32: Clean up scaling flags | Colin Snover | |
2016-09-29 | SCI32: Fix CelObj scaling in games with hi-res scripts | Colin Snover | |
2016-09-29 | SCI: Replace magic numbers for globals with named constants | Colin Snover | |
2016-09-29 | SCI32: Implement kSetHotRectangles | Colin Snover | |
Used only by chapter 7 of Phant1. | |||
2016-09-29 | SCI32: Rewrite kArray & kString | Colin 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-29 | SCI32: Add a trap for invalid calls to kNumCels | Colin Snover | |
2016-09-29 | SCI: Generalize code for getting information on the current call | Colin Snover | |
2016-09-29 | SCI32: Fix buffer overflow when drawing border to a tiny text bitmap | Colin Snover | |
2016-09-29 | SCI32: Improved game resolution detection | Colin Snover | |
2016-09-29 | SCI32: Skip SEQ playback if file not found | Colin Snover | |
CID 1361588. | |||
2016-09-29 | SCI32: Fix incorrect use of speedThrottler in Video32 | Colin 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-29 | SCI32: Explicitly instantiate MIN/MAX templates | Colin Snover | |
2016-09-29 | SCI32: Update screen on frameout, instead of in the event loop | Colin Snover | |
2016-09-29 | SCI32: Fix kShowStyleNone transitions | Colin Snover | |
2016-09-29 | SCI32: Fix memory leak | Colin Snover | |
CID 1361032. | |||
2016-09-29 | SCI32: Fix potential null pointer dereference | Colin Snover | |
CID 1361026. | |||
2016-09-29 | SCI32: Fix potential null pointer dereference | Colin Snover | |
CID 1357041. | |||
2016-09-29 | SCI32: Fix typo | Colin Snover | |
CID 1361007. | |||
2016-09-29 | SCI32: Fix potential null pointer dereference | Colin Snover | |
CID 1351620. | |||
2016-08-28 | SCI32: Fix rendering of non-ASCII characters | Colin Snover | |
2016-08-24 | SCI32: Remove extra ! in error message | Colin Snover | |
2016-08-24 | SCI32: Fix incorrect boolean operator | Colin Snover | |
2016-08-24 | SCI32: Remove error check for negative celNo | Colin Snover | |
Negative cel numbers are exploited by at least the hi-res mode of PQ4CD. | |||
2016-08-23 | SCI32: 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-23 | SCI32: Fix palette in SCI32 Mac games | Filippos Karapetis | |
2016-08-22 | SCI32: Move the SCI32 Mac cursor handling code into GfxCursor32 | Filippos Karapetis | |
This was left in the SCI16 code in commit 80d9182554 | |||
2016-08-19 | SCI32: Fix limited data range comparison warning | Colin 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-19 | SCI32: Remove unused ResourceManager from GfxFrameout | Colin Snover | |
2016-08-19 | SCI32: Increase maximum line width for graphics | Colin Snover | |
Torin renders pics that are wider than 1024px; SCI3 bumps the maximum line width to 4k. | |||
2016-08-19 | SCI32: Add kPlayVMDGetStatus kernel call | Colin Snover | |
Used by Lighthouse. | |||
2016-08-19 | SCI32: Remove CoordAdjuster32, at least for the moment | Colin 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-19 | SCI32: Implement kRobot | Colin Snover | |
2016-08-19 | SCI32: Add some bounds checking, const-correctness, and errors to CelObj | Colin Snover | |
2016-08-19 | SCI32: Implement kShakeScreen for SCI32 | Colin Snover | |
2016-08-19 | SCI32: Clean up Cursor32 includes | Colin Snover | |
2016-08-19 | SCI32: Hide cursors in 24bpp video playback mode | Colin Snover | |
Drawing the cursor in this mode will result in a read overflow as it is 8bpp. | |||
2016-08-19 | SCI32: Fix signature of kSetNowSeen | Colin Snover | |
2016-08-19 | SCI32: Remove GfxScreen from SCI32 | Colin Snover | |
2016-08-19 | SCI32: Fix comment | Colin Snover | |
2016-08-19 | SCI32: Allow pixel doubling of some cursors to improve usability | Colin Snover | |
2016-08-19 | SCI32: Implement SCI32 cursor support | Colin Snover | |
2016-08-19 | SCI32: Remove GfxScreen from GfxFrameout | Colin Snover | |
Only cursor remains to be updated to go through GfxFrameout, and then we can let GfxScreen go back to being SCI16-only. | |||
2016-08-13 | SCI32: Fix cast warnings | Colin Snover | |
2016-08-12 | SCI32: Clean up Video32 includes | Colin Snover | |
2016-08-12 | SCI32: Fix KQ7 1.51 video background | Colin Snover | |