aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
AgeCommit message (Collapse)Author
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-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
2012-07-03SCI: Remove unnecessary const-castWillem Jan Palenstijn
2012-07-02SCI: Add a hack for a bug in the script handling codeFilippos Karapetis
When resetting the segment manager, sometimes the locals block for a script is placed in a segment smaller than the script itself. This shouldn't be happening, but it isn't fatal, however it should be resolved in a proper manner
2012-07-02SCI: Fix a workaround for an uninitialized variable in SQ4CDFilippos Karapetis
This makes sure that the workaround works for subclassed objects as well, such as "theProfessor" talker. Fixes bug #3539350 - "SCI: SQ4 CD - Crash in sewer when text and speech enabled"
2012-07-01Merge pull request #239 from bluegr/skipsavecompressionFilippos Karapetis
COMMON: Allow the savefile manager to create uncompressed saves
2012-06-28SCI: Fix bug #3538418 in SQ4CDFilippos Karapetis
Add a script patch for another speech/subtitles script, which handles the babble icon shown in the quit/death dialogs (e.g. the two guys from Andromeda in the quit dialog). Now, these dialogs have speech both in the speech and the speech + subtitles modes
2012-06-28SCI: Remove an incorrect error check in validateExportFunc()Filippos Karapetis
2012-06-26SCI: Rename a parameter in validateExportFunc()Filippos Karapetis
This ensures that it won't be confused with a function with the same name
2012-06-24SCI: Add a workaround for script bug #3537232Filippos Karapetis
The bug in question is "SCI: SQ4 Floppy DOS title screen skipping too quickly", and is caused by game scripts not waiting between palette calls
2012-06-23SCI: Change the program counter (PC) to be a 32-bit variableFilippos Karapetis
This is needed for future support of large SCI3 scripts. The program counter is isolated and does not interfere with other parts of the VM, plus it does not get stored in saved games, so it's pretty straightforward to convert
2012-06-23SCI: Clean up validateExportFunc() and related functionsFilippos Karapetis
Also renamed some SCI3 related code to indicate when it's SCI3 specific
2012-06-23SCI: Add support for the debug opcode "file" in our script dissassemblerFilippos Karapetis
Also set the correct name for the debug opcode "line"
2012-06-23SCI: Remove a duplicate sanity checkFilippos Karapetis
2012-06-23SCI: Implement kPlayVMD subop 23 (set palette range)Filippos Karapetis
Fixes the wrong palette during video sequences in GK2 and the demo of RAMA
2012-06-21SCI: Fix silly typoFilippos Karapetis
Thanks to digitall for spotting this
2012-06-21SCI: Fix warningsFilippos Karapetis
2012-06-21SCI: Don't compress exported heroes in the Quest for Glory gamesFilippos Karapetis
This allows them to be used by other games in the series not supported by ScummVM (i.e. QFG4, QFG5 and the fanmade AGS version of QFG2)
2012-06-20Merge pull request #246 from lordhoto/osystem-void-buffersJohannes Schickel
OSYSTEM: Use void buffers for screen/overlay/mouse buffers and proper pitch values for overlay code
2012-06-20SCI: Change kRemapColors(5) again. Fixes the colors in QFG4Filippos Karapetis
2012-06-20SCI: Add a warning for kRemapColors(RemapByPercent)Filippos Karapetis
2012-06-20SCI: Implement kRemapColors(5 - set color intensity)Filippos Karapetis
It's finally nighttime in the first murder scene in PQ4
2012-06-18SCI: Store script sizes in 32-bit integersFilippos Karapetis
Since scripts can be larger than 64KB, and getBufSize() returns a 32-bit integer, adapt variables that store script sizes accordingly
2012-06-18SCI: Add setter/getter methods to reg_t'sFilippos Karapetis
No functionality change has been made with this commit. This avoids setting and getting the reg_t members directly, and is the basis of any future work on large SCI3 scripts (larger than 64KB)
2012-06-18SCI: Add a check for empty VMD file namesFilippos Karapetis