aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
2012-10-07SCI: Fix Uhura's Woo conversation optionWillem Jan Palenstijn
This is bug #3040722. It was trying to open a non-existent submenu. We now force a return after handling the conversation option right before it tries to look for this submenu.
2012-10-07SCI: Flip assertWillem Jan Palenstijn
This way the assert is checking that the allocated buffer is large enough for the memcpy that follows it.
2012-10-06SCI: Fix dissect_script crash with invalid object typesWillem Jan Palenstijn
2012-10-06SCI: Fix some console output formattingWillem Jan Palenstijn
2012-10-05SCI: Add kReadNumber fixmeWillem Jan Palenstijn
Thanks to Walter for noticing this.
2012-10-01SCI: Fix compilation with MSVC (atan2() was ambiguous)Filippos Karapetis
2012-09-30SCI: Implement kMergePolyWillem Jan Palenstijn
Thanks to Walter for creating debugging tools for MergePoly and testing.
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-08-26Merge pull request #268 from clone2727/video-rewriteMatthew Hoops
VideoDecoder upgrade & partial rewrite
2012-08-21SCI: More work on kRemapColorsFilippos Karapetis
This implements some more color remap-based palette effects, found in QFG4
2012-08-21SCI: Extend a workaround for the dream sequence in QFG4Filippos Karapetis
2012-08-21SCI: Use a simpler atan implementation for kGetAngle in SCI1 and newer gamesFilippos Karapetis
SCI1 games (QFG2 and newer) use a simpler and more accurate atan implementation for kGetAngle. This properly fixes bug #3540976.
2012-08-16VIDEO: Merge AdvancedVideoDecoder into VideoDecoderMatthew Hoops
2012-08-16VIDEO: Remove the Coktel video code from using the VideoDecoder APIMatthew Hoops
After discussing with DrMcCoy, we felt this the best way to proceed. A wrapper class that implements AdvancedVideoDecoder is still around for use in SCI.
2012-08-02SCI: Add a workaround for a script bug in QFG4Filippos Karapetis
Thanks to Charles for testing
2012-07-27VIDEO: Adapt QuickTimeDecoder to the AdvancedVideoDecoder APIMatthew Hoops
2012-07-27SCI: Add a workaround for a bug in Phantasmagoria 1Filippos Karapetis
2012-07-27SCI: Add support for kCD(0) with a parameterFilippos Karapetis
It's now possible to start a chapter in Phantasmagoria 1
2012-07-26SCI: Add some debug code to op_lineFilippos Karapetis
2012-07-25SCI: Add a workaround for a script bug in QFG4Filippos Karapetis
2012-07-25SCI: Silence some very chatty warningsFilippos Karapetis
Also, add an example room where kRemapToGray is called
2012-07-25SCI: Expand an uninitialized read workaround for SQ6Filippos Karapetis
2012-07-25SCI: Add a workaround for QFG4, screen 140 (character selection screen)Filippos Karapetis
2012-07-24SCI: Cleanup of the palette remapping codeFilippos Karapetis
2012-07-24SCI: More work on color remappingFilippos Karapetis
More transparency/color mapping effects are now working (e.g. the flashlight at the Gedde tomb in GK1, the rays of light at Schloss Ritter in GK1, the torch in the QFG4 demo and the shadows in QFG4, PQ4 and KQ7)
2012-07-24SCI: Initial implementation of kRemapColors(kRemapByPercent)Filippos Karapetis
Fixes some graphics glitches in the QFG4 demo and the menus of QFG4, by implementing one of the transparency effects used mainly in SCI32. Many thanks to fuzzie for her debugging info on QFG4 demo and to wjp for his great help on the dissassembly
2012-07-24SCI: Separate the early SCI11 version of kRemapColors from the SCI32 oneFilippos Karapetis
2012-07-22SCI: Rewrite RobotDecoder to use the AdvancedVideoDecoder APIMatthew Hoops
2012-07-22VIDEO: Rewrite the AVI code to use AdvancedVideoDecoderMatthew Hoops
In addition to using the new API, it should theoretically support multiple audio and video tracks now but that has not been tested.
2012-07-20SCI: Move the SEQ code to the new VideoDecoder APIMatthew Hoops
2012-07-17SCI: Bugfix for kCreateTextBitmap(). Fixes the ComPost text in the SQ6 demoFilippos Karapetis
2012-07-16SCI: Only skip text in room 100 in the SQ6 demoFilippos Karapetis
2012-07-16SCI: Temporarily disable text display in the demo of SQ6 to stop crashesFilippos Karapetis
2012-07-09SCI: Update comments in kGetAngleWorker()Filippos Karapetis
2012-07-08SCI: Also set the filename of the videoState struct when playing AVIsFilippos Karapetis
2012-07-08SCI: Fix a typo and add some comments to kGetAngleWorker()Filippos Karapetis
2012-07-08SCI: Show information for correct file naming in the QFG4 import roomFilippos Karapetis
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-08SCI: Update the virtual file selected in the QFG4 character import screenFilippos Karapetis
This makes the character import screen in QFG4 functional, as the virtual file index was never updated
2012-07-08SCI: Add a hack in kGetAngleWorker to fix bug #3540976Filippos Karapetis
kGetAngle(Worker) has been implemented based on behavior observed with a test program created with SCI Studio. However, the return values have subtle differences from the original, which uses atan(). This temporary hack will do for now till the implementation of kGetAngle is done again. A simpler atan2-based implementation has also been added for future reference
2012-07-05SCI: Handle calls from MessageState::outputString() to arraysFilippos Karapetis
This happens during the intro of LSL6 hires (room 110)
2012-07-05SCI: Some updates to SCI32 kernel graphics functionsFilippos Karapetis
- 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-04SCI: make g_base_opcode_formats and SciOpcodes a bit more readableFilippos Karapetis
2012-07-04SCI: Make the debug message in kSetShowStyle more verboseFilippos Karapetis
2012-07-04SCI: Mark the SetScroll and SetHotRectangles kernel functions as unusedFilippos Karapetis
2012-07-04SCI: Update some kernel table related commentsFilippos Karapetis
2012-07-04SCI: Handle the autosave call of Torin's PassageFilippos Karapetis
2012-07-04SCI: FileIO subop 19 checks for directory validityFilippos Karapetis
This is used in Torin's Passage and LSL7 when autosaving
2012-07-04SCI: Merge and simplify the code that sets the kernel functionsFilippos Karapetis
2012-07-03SCI: Move kGetWindowsOption together with the other misc kernel functionsFilippos Karapetis
2012-07-03SCI: Remove an unnecessary warning and related FIXME commentsFilippos Karapetis
It's perfectly normal behavior to have locals with a smaller segment ID than the ID of their respective script, e.g. when scripts are uninstantiated and then instantiated again