aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
AgeCommit message (Collapse)Author
2012-07-25SCI: Rewrite the color remapping code to support simultaneous effectsFilippos Karapetis
Fixes the torch in the full version of QFG4
2012-07-24SCI: Refresh remapping by percent whenever the screen palette changesFilippos 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: Remove unused variablesFilippos Karapetis
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-16SCI: Handle all negative priority values. Fixes graphics in the SQ6 demoFilippos 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-06SCI: Better handling for Phantasmagoria's odd screen sizeFilippos Karapetis
Still not right, as the width isn't set
2012-07-06SCI: Add a hack to handle the internal script resolution in PhantasmagoriaFilippos Karapetis
2012-07-05SCI: Fix typoFilippos Karapetis
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: Add a check for invalid clip rectanglesFilippos Karapetis
Happens in QFG4, when starting a battle
2012-07-04SCI: Some cleanup of the warnings in the SCI32 plane manipulation codeFilippos Karapetis
2012-07-04SCI: Update some version checks in kernelFrameout() to work with SCI3 tooFilippos Karapetis
2012-06-22SCI: Further cleanup of the frame drawing codeFilippos Karapetis
2012-06-22SCI: Simplify the SCI32 coordinate adjustment codeFilippos Karapetis
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: Remove multibyte character processing code from SCI32Filippos Karapetis
There are no Japanese/PC-98 SCI32 games, so this code is not needed
2012-06-20SCI: Don't attempt to draw line feed characters in SCI32Filippos Karapetis
Fixes junk in the about dialogs 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-06-16SCI: Get rid of casts on CursorManager::replaceCursor calls.Johannes Schickel
2012-06-16SCI: Get rid of casts on OSystem::copyRectToScreen calls.Johannes Schickel
2012-06-15SCI: Limit floodfill hack to GK1Filippos Karapetis
Fixes the intro of LSL7 and the inventory screen in PQ4
2012-06-09SCI: Initial implementation of AddLine, UpdateLine, DeleteLineFilippos Karapetis
2012-06-09SCI: Handle translucent text planesFilippos Karapetis
Fixes the incorrect flood fill in the Rada Drums screen in GK1
2012-06-08SCI: Handle resource ID -1 when setting the palVary resourceFilippos Karapetis
Fixes several wrong colors in SQ6
2012-06-07SCI: Initial implementation of kScrollWindow, used in some SCI21 gamesFilippos Karapetis
This is used in LSL6 hires and SQ6. This initial implementation is hackish and only works in SQ6 (nothing is shown in LSL6)
2012-05-21SCI: Added two new debug commands, plane_list and plane_itemsFilippos Karapetis
These can be used to debug drawn items in SCI32
2012-05-14SCI: Implement savegame deletion functionality in SCI32Filippos Karapetis
This is based on two kernel functions, kMakeSaveCatName and kMakeSaveFileName
2012-05-14SCI: Check for object visibility, if an object defines itFilippos Karapetis
Fixes the inventory in GK1
2012-05-11SCI: Fix bug #3040625 - "SCI: ECOQUEST French/German: Speech balloon graphic ↵Filippos Karapetis
glitch" This bug is caused by the fact that the sprites in that scene and the speech bubble share the same priority, so we compensate for that with a workaround
2012-04-29SCI: Add a hack to fix the cursor colors in Longbow (bug #3489101)Filippos Karapetis
2012-03-25SCI: Fix cursor coordinates for SCI01. Fixes a crash in KQ1 (bug #3503932)Filippos Karapetis
2012-03-20GRAPHICS: Convert PictDecoder to the ImageDecoder APIMatthew Hoops
2012-03-13JANITORIAL: Replace (x ? false : true) by !(x).Christoph Mallon
2012-03-08SCI: Fix GK1 Mac text positioningMatthew Hoops
A regression from the text bitmap code addition
2012-03-07SCI: Add a new configuration option for SQ4 CD, "silver_cursors"Filippos Karapetis
This allows the user to choose the alternate set of silver mouse cursors that is available in the game resources of the game, instead of the original golden ones
2012-02-21Merge pull request #182 from fingolfin/forbid-ctypeWillem Jan Palenstijn
ALL: Avoid using is* macros from ctype.h
2012-02-20COMMON: Move isFoo functions to namespace Common, add doxygen commentsMax Horn
2012-02-17SCI: Added some sanity checks by digitallFilippos Karapetis
- Limit the LB1 cursor workaround to LB1 only (so that fanmade games aren't affected) - Error our when bad cursor hotspots are found
2012-02-17SCI: Fix and cleanup the monochrome cursor codeFilippos Karapetis
This makes the code like FreeSCI again, which is the correct way to fix bug #3487088.
2012-02-17SCI: Fix bug #3487088 - "SCI: LB1: Missing Wait cursor"Filippos Karapetis
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15ALL: Avoid using is* macros from ctype.hMax Horn
On some systems, passing signed chars to macros like isspace() etc. lead to a runtime error. Hence, mark these macros as forbidden by default, and introduce otherwise equivalent alternatives for them.
2012-02-13SCI: Fix the order of diagonal roll transitions in the old lookup tableFilippos Karapetis
This fixes several inverted transitions (like in SQ3, ICEMAN, Hoyle 1 etc) - bug #3485194
2012-02-13SCI: Fix bug #3487092: "SCI: LB1: Magnifying glass cursor is grey"Filippos Karapetis
2012-01-15SCI: Properly handle negative coordinates in drawTextBitmap()Filippos Karapetis
This fixes occasional crashes when going to the map in GK1. Many thanks to digitall for finding this through Valgrind
2012-01-15SCI: Plug loads of memory leaks in the SCI32 graphics codeFilippos Karapetis
Many thanks to digitall for finding these
2012-01-14SCI: Don't clip the plane rectangle in kernelDeletePlane()Filippos Karapetis
The actual cause for this clipping has been fixed