aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kgraphics.cpp
AgeCommit message (Collapse)Author
2013-04-16SCI: Fix potential memory leak with Mac cursor's hotspotMatthew Hoops
2013-01-11SCI: Add subop 9 of kPalVary (used in SCI32, e.g. QFG4 when exiting the caves)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-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-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-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: 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-05-20SCI: Split the SCI32 graphics kernel functions in a separate fileFilippos Karapetis
2012-02-12SCI: Expand adjustGraphColor to work for older EGA games tooWillem Jan Palenstijn
See bug #3486899.
2012-01-14SCI: Fix bug in fadeIn()/fadeOut()Filippos Karapetis
This wasn't added in 4742b4d728ba772d47cc497681c9bfb0144475bc)
2012-01-13SCI: Some more work on kSetShowStyle. Silenced some chatty warnings in GK1Filippos Karapetis
2011-10-28SCI: Remove unneeded casts (thanks to wjp for pointing that out)Filippos Karapetis
2011-10-28SCI: Added skeleton code for kEditText (still not working)Filippos Karapetis
2011-10-26SCI: Renamed GfxControls to GfxControls16Filippos Karapetis
2011-10-19SCI: Added a detection for the second kSetShowStyle variantFilippos Karapetis
2011-10-19SCI: Merged all the code to get/set the NS rectFilippos Karapetis
2011-10-19SCI: Updated comments in kShowStyle() and kCelInfo()Filippos Karapetis
2011-10-19SCI: Implemented kObjectIntersect()Filippos Karapetis
2011-10-14SCI: Silenced warningsFilippos Karapetis
2011-10-14SCI: More work on kBitmap (still WIP)Filippos Karapetis
2011-10-13SCI: Implemented kBitmap(3) and kBitmap(5). Some cleanupFilippos Karapetis
2011-10-12SCI: Implementation of kCelInfo subop 4Heather Douglass
kCelInfo subop 4 returns the pixel color at the passed in x,y coordinates for the passed in view, loop, cel. Shivers uses this function for the red door puzzle, room 23601 to determine what blocks on the puzzle board are already occupied by pieces.
2011-10-12SCI: Added proper handling of duplicate items in kAddScreenItemFilippos Karapetis
- Items that are being readded to the scene should be updated instead - Added a findScreenItem() call to simplify the code slightly
2011-10-11SCI: Some work on the SCI32 bitmap / font codeFilippos Karapetis
- Initial implementation of kBitmap(0) - Bugfixes for fonts in upscaled games
2011-10-11SCI: kBitmap(1) is kDisposeTextBitmapFilippos Karapetis
2011-10-11SCI: Proper implementation of text drawing for SCI2+Filippos Karapetis
2011-10-10SCI: SCI32 kernel functions kRepaintPlane and kInputText are unusedFilippos Karapetis
2011-10-09SCI: CreateTextBitmap should return a pointer. Also, silenced a warningFilippos Karapetis
2011-10-09SCI32: Documented the extra 2 params in kCreateTextBitmap(0)Filippos Karapetis
2011-10-09SCI21: Moved kRobot() together with the other video functionsFilippos Karapetis
2011-10-08SCI2+: Fixed the implementation of kTextSize(), removing some hacksFilippos Karapetis
Thanks to lskovlun for the fix
2011-10-08SCI2+: Some groundwork for kTextSize()Filippos Karapetis
The old behavior is currently hacked in inside kernelTextSize(), as the top of the subtitles frame is wrong if kTextWidth() is properly working...
2011-10-07SCI: Fix comment in kCelInfoLars Skovlund
2011-10-07SCI21: Some initial work on kBitmapFilippos Karapetis
2011-09-23SCI21: Added some skeleton code for offsetting pictures vertically (not ↵Filippos Karapetis
working yet). Some cleanup
2011-09-03SCI32: Added an initial skeleton structure for the SCI2 text drawing codeFilippos Karapetis
This includes kCreateTextBitmap, and moves all of the text drawing code into the new GfxText32 class
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-29SCI: Added a more generalized fix for bug #3306417md5
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-03-13SCI: Cleanupmd5
2011-03-05SCI: Added some support code for Longbow Amigamd5
2011-03-04SCI: Some palette related changesmd5
- Moved palette color count inside the GfxPalette class - Enabled all of the kPalette subops for 16 color SCI1 games, apart from the ones for intensity palette animation, and palette resource loading - Removed isVGA() and isAmiga32color() methods from the resource manager - they ended up in having inconsistent code
2011-03-02SCI: Cleanupmd5
2011-02-26SCI2+: Mention that the actual problem with text wrapping happens because of ↵md5
the unimplemented kTextSize kernel call in SCI32