aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/transitions32.cpp
AgeCommit message (Collapse)Author
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: 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 typoColin Snover
CID 1361007.
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-01SCI32: Fix crash when destroying GfxTransitions32Colin Snover
2016-08-01SCI32: Add bitmap segment and remove GC option from hunk segmentColin Snover
2016-08-01SCI32: Implement plane transitions (kSetShowStyle and kSetScroll)Colin Snover
This commit implements all of the known plane transitions from SCI2 through SCI2.1mid games. Because kSetShowStyle is always called indirectly via the Styler game script, it is difficult to find all the places where transitions are used. As such, transitions that appeared to never be used have been added as stubs which will trigger a game crash with a message to report what was being done, so any missed transition types can be identified quickly and then implemented.