Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-04-16 | SCI: Improve MidiParser_SCI robustness against bad sound resources | Colin Snover | |
1. KQ4 sound 104 has an extra 0xFC (MIDI Stop command/kEndOfTrack) at the end of the resource, which causes an out-of-bounds read because the filtering loop continues after the first 0xFC and unconditionally attempts to read 2 bytes (expecting there to always be a delta value + a command, whereas in this file there is only another kEndOfTrack command). This is corrected by exiting the filtering loop when a kEndOfTrack is encountered and there is not enough data remaining in the resource to continue reading. 2. KQ5 sound 699 is truncated, which causes the parser to attempt to read past the end of the resource. This is addressed by adding bounds checks that exit the mix loop early if there is no more data available to read. This allows truncated sounds to be played as far as possible (previously, trying to read truncated resources would result in a fatal error). 3. midiMixChannels allocates an arbitrary amount of raw memory for the mixed MIDI sequence, without performing any bounds checking when writing to this memory, potentially leading to a crash or silent corruption of adjacent memory. This is mitigated by using SciSpan instead of a raw pointer for the mixed data. Fixes Trac#9727. | |||
2017-04-16 | TITANIC: Extra debugging info for starfield movement | Paul Gilbert | |
2017-04-16 | TITANIC: Renamed CStarControlSub20 to CCameraMover | Paul Gilbert | |
2017-04-16 | TITANIC: Fix GCC Unused Variable Warning. | D G Turner | |
2017-04-15 | TITANIC: Renaming methods for setting camera movement | Paul Gilbert | |
2017-04-15 | TITANIC: Renaming movement counter fields | Paul Gilbert | |
2017-04-15 | TITANIC: Movement starting to work when star is clicked | Paul Gilbert | |
2017-04-15 | TITANIC: Renaming and fixes for movers active flag | Paul Gilbert | |
2017-04-15 | TITANIC: Remove hard-coded starfield position | Paul Gilbert | |
2017-04-15 | TITANIC: Fixes for setting up star closeup sphere data | Paul Gilbert | |
2017-04-14 | DIRECTOR: Lingo: Added stub for generic event handlers | Eugene Sandulenko | |
2017-04-14 | SCI: Fix speech in QfG IV on big endian platforms | Thierry Crozat | |
2017-04-13 | DIRECTOR: D5 Shared Cast loading. | stevenhoefel | |
2017-04-12 | TITANIC: Fix centroid calculations in star drawing methods | Paul Gilbert | |
2017-04-10 | TITANIC: Further cleanup of CStarCloseup draw | Paul Gilbert | |
2017-04-10 | TITANIC: Cleaning up CStarCloseup draw | Paul Gilbert | |
2017-04-10 | TITANIC: If statement fix in CStarCloseUp draw | Paul Gilbert | |
2017-04-10 | TITANIC: Formatting fix | Paul Gilbert | |
2017-04-10 | TITANIC: Temporarily lock camera for testing star closeup rendering | Paul Gilbert | |
2017-04-10 | BLADERUNNER: added Leon AI script | Peter Kohaut | |
Happy incept day Leon! | |||
2017-04-09 | TITANIC: Fix CStarControlSub13 setPosition | Paul Gilbert | |
2017-04-09 | TITANIC: Fix incorrect indexing in CStarCloseup setup2 | Paul Gilbert | |
2017-04-09 | TITANIC: Renaming of CStarCamera methods | Paul Gilbert | |
2017-04-09 | TITANIC: Rename CStarControlSub12 to CStarCamera | Paul Gilbert | |
2017-04-09 | TITANIC: Rename CBaseStar to CBaseStars | Paul Gilbert | |
2017-04-09 | TITANIC: Rename CStarControlSub5 to CStarCloseup | Paul Gilbert | |
2017-04-09 | TITANIC: Fix rendering of starfield pixels | Paul Gilbert | |
2017-04-08 | Merge pull request #936 from darkstar/xeen_detection | Paul Gilbert | |
Xeen: Add detection for the 2CD "talkie" version | |||
2017-04-09 | DIRECTOR: Remove pointless comparison. | Eugene Sandulenko | |
size is a byte, so it is always < 2048. | |||
2017-04-07 | TITANIC: Shift vector returns from params to return values | Paul Gilbert | |
2017-04-06 | TITANIC: Add missing initializer for CStarRef1 | Paul Gilbert | |
2017-04-06 | TITANIC: Fix gcc warning | Paul Gilbert | |
2017-04-06 | TITANIC: Add missing content for OSVideoSurface::clear | Paul Gilbert | |
2017-04-06 | DIRECTOR: Further work loading assets from D5 Movies. | stevenhoefel | |
2017-04-05 | TITANIC: Further cleanup of pose usages | Paul Gilbert | |
2017-04-05 | TITANIC: Fix some incorrect type casts | Paul Gilbert | |
2017-04-05 | TITANIC: Renamed CStarControlSub6 to FPose | Paul Gilbert | |
2017-04-05 | TITANIC: Change many doubles to floats to match original's precision | Paul Gilbert | |
Many of the Star Control classes in the original explicitly used floats rather than doubles. I'm switching to using them where applicable for now, since the resulting figures will more closely match the original, and it will be easier to spot errors in the various formulas | |||
2017-04-05 | DIRECTOR: Fix warnings | Eugene Sandulenko | |
2017-04-04 | TITANIC: Fix setup of Y_AXIS rotation matrix | Paul Gilbert | |
2017-04-04 | TITANIC: Correct usage of x/y angle in setViewportPosition | Paul Gilbert | |
2017-04-04 | TITANIC: Change debug level constants to have a DEBUG_ prefix | Paul Gilbert | |
2017-04-04 | DIRECTOR: Initial work to load D5 assets. | stevenhoefel | |
2017-04-03 | TITANIC: Add missing break to switch statement | Paul Gilbert | |
2017-04-03 | DIRECTOR: Bring cast children back for D4 or higher. | stevenhoefel | |
2017-04-03 | DIRECTOR: Use button cast when rendering button text. | stevenhoefel | |
2017-04-03 | DIRECTOR: Pre-load Button child text members. | stevenhoefel | |
2017-04-02 | TITANIC: Add missing code from CBaseStar draw3 | Paul Gilbert | |
2017-04-02 | Xeen: Add detection for the 2CD "talkie" version | Michael DrĂ¼ing | |
2017-04-02 | TITANIC: Add missing code in CBaseStar draw4 | Paul Gilbert | |