aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
AgeCommit message (Collapse)Author
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2011-04-04SCI: Initialize newPlane fully before adding it to _planesMax Horn
2011-04-02SCI: Fix Mac SCI32 picture transparencyMatthew Hoops
2011-03-30SCI: Minor cleanupMatthew Hoops
2011-03-30SCI32: Support for views with 640x400 native resolutionLars Skovlund
(fixes Wolfgang closeup, room 720)
2011-03-29JANITORIAL: Remove/comment unused varsdhewg
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-29SCI: Limit SCI32 view scaling to when we're actually scalingMatthew Hoops
Fixes bug #3253208
2011-03-25SCI: Make sure that planeOffsetX is always correctly initializedmd5
Fixes several issues with the menu in KQ7. Thanks to vakons for his patch. Fixes bug #3231867 - "KQ7 scrolling bug"
2011-03-25SCI: Add two TODOsdhewg
2011-03-20SCI: Moved the engine hunk pointer processing code inside the GfxPorts classmd5
This allows us make _windowList private again
2011-03-20SCI: Added a new console command "window_list" or "wl"md5
This can be used to see a list of the currently open windows. Also, added a sanity check for the "al" command and performed some minor cleanup
2011-03-20SCI: Removed forward references to obsolete classesmd5
2011-03-20SCI: Added a new console command, "animate_list" or "al"md5
This shows the current animation list, along with object properties, positions and the scripts they belong to
2011-03-14SCI: Fix the screen height of SQ1 MacMatthew Hoops
2011-03-13SCI: Fixed the flashing icon bar in the Mac version of Castle of Dr. Brainmd5
Thanks to waltervn for his work and help on this
2011-03-13SCI: Fixed regression of rev b1055a3c86. Japanese games should work againmd5
2011-03-10SCI: Fix uncompressed SCI1.1 viewsMatthew Hoops
A regression from d2ad7898d93
2011-03-10SCI: Made some checks inside unditherBitmap() more understandablemd5
2011-03-10SCI: Some renaming related to the undithering codemd5
Renamed some variables, functions and comments related to the undithering code, to make them a bit easier to understand
2011-03-09SCI: Implement Mac iconbar event handling.Walter van Niftrik
2011-03-09SCI: Whitespace fixesmd5
2011-03-09SCI: Some cleanup and fixes to the view unpacking codemd5
- Added comments for all the different view unpacking algorithms - Merged the SCI1 VGA and SCI1.1 VGA unpacking code - Fixed views in Longbow Amiga (the palette is still broken, though) - Used memset()/memcpy() instead of looping through - Fixed a regression of rev. d2ad789 (LSL1 Spanish, bug #3135872)
2011-03-09SCI: Save mouse position in SciEvent.Johannes Schickel
Instead of querying the event manager for the current mouse cursor coordinates kGetEvent now uses the saved mouse positions, which will assure every event will be processed with the correct coordinates instead of the current ones. Various other functions using SciEvent directly were adapted too. This fixes cursor click positions for the WinCE backend. Thanks to wjp and waltervn for helping me with this.
2011-03-08SCI: Remove unused argument to saidWillem Jan Palenstijn
2011-03-07Merge branch 'pe_exe' of https://github.com/clone2727/scummvm into ↵Matthew Hoops
clone2727-pe_exe
2011-03-07SCI: Initial handling of the views in Longbow Amiga. Still not rightmd5
2011-03-06SCUMM: Use the new WinCursor code in SCUMM HEMatthew Hoops
Also, updated the MacResManager cursor code to reflect the SCUMM resource extractor code changes
2011-03-06SCI: Fix KQ6 Mac inventory cursorsMatthew Hoops
2011-03-06SCI: Fix Mac SCI1.1 view decompressionMatthew Hoops
A regression from d2ad7898d9
2011-03-06SCI: Silence GCC warningeriktorbjorn
2011-03-06SCI: Merged the cel data unpacking code for views and picturesmd5
2011-03-06SCI: Some changes to picture drawingmd5
- Fixed picture drawing for Longbow Amiga (view drawing is still wrong, though) - Added debug output for picture drawing
2011-03-05SCI: Cleared up the different view types and ordered them by color countmd5
2011-03-05SCI: Added some support code for Longbow Amigamd5
2011-03-04SCI: Fix Mac icon bar palette match orderMatthew Hoops
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-04SCI: Cleaned up some view type checksmd5
2011-03-04SCI: Enable fade transitions for SCI1 EGA gamesmd5
2011-03-04SCI: Fix flood fill matching in EGA modeWillem Jan Palenstijn
In EGA games a pixel in the framebuffer is only 4 bits. We store a full byte per pixel to allow undithering, but when comparing pixels for flood-fill purposes, we should only compare the visible color of a pixel. This fixes bug #3078365 in Iceman.
2011-03-04SCI: Added support for 16/32 color view and picture patchesmd5
16 color patches (*.p16 and *.v16) are used in 16 color EGA SCI1 games 32 color patches (*.p32 and *.v32) are used in 32 color Amiga SCI1 games Removed a workaround for SCI1 EGA (bug #3044500), as that bug has been fixed already in the view patch. Thanks to waltervn for observing this.
2011-03-04SCI: Added a comment for the additional code in kDisplaymd5
This extra code that is responsible for changing text placing has been found in SCI1 middle (i.e. LSL1VGA) and newer games
2011-03-04SCI: Amiga SCI1 middle games are actually SCI1 latemd5
This fixes a lot of glitches, caused by the differences between the two versions
2011-03-04SCI: Add fixme for EGA flood fill bug (#3078365)Willem Jan Palenstijn
2011-03-04SCI: Removed a hack for SCI1 Amiga games in setOnScreen()md5
2011-03-04SCI: Amiga SCI1 middle games use the new PC SCI1 late transition effectsmd5
2011-03-02SCI: Always add new windows to back of list up to SCI_1_EGA_ONLY.Willem Jan Palenstijn
Confirmed this behaviour in KQ1sci, KQ4, Iceman and QfG2. Hoyle3-demo remains an exception.
2011-03-02SCI: Call Graph(RedrawBox) from EndUpdate for SCI0/01Willem Jan Palenstijn
Confirmed this behaviour in KQ1sci, KQ4, Iceman, and that it isn't present in QfG2 and KQ5CD. This fixes the graphics glitch in KQ4 when falling down the stairs in room 61 (#3039775).
2011-03-02Revert "SCI: Fixed bug #3039775 - "KQ4: Graphics glitch [...]""Willem Jan Palenstijn
This reverts commit 74e99328ec0fa43074c52b69d21922407153a1aa. SSCI takes care of this issue in a different manner, which the next commit emulates.
2011-03-02SCI: Fixed bug #3040161 - "LONGBOW: Textbox glitch"md5
GetLongest() could exceed the maximum width with the very last character of a word. The same fix has been applied to the SCI32 code.
2011-03-02SCI: Fixed text positioning in the credits screen of Dr. Brain Amigamd5
The additional text positioning code in kDisplay was added in SCI1 middle, not SCI1 late. Also, did some slight cleanup