aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
AgeCommit message (Collapse)Author
2011-10-28SCI: Remove unneeded casts (thanks to wjp for pointing that out)Filippos Karapetis
2011-10-28SCI: Added two files missing in commit 4ac2940Filippos Karapetis
2011-10-28SCI: Use the original text buffer width/height when drawing itFilippos Karapetis
Fixes the display of overlay text
2011-10-28SCI: Draw overlay text, if it exists (e.g. on buttons)Filippos Karapetis
2011-10-28SCI: Fixed text background color and text transparency for SCI32 gamesFilippos Karapetis
2011-10-26SCI: Renamed GfxControls to GfxControls16Filippos Karapetis
2011-10-20SCI: Added a hack to fix bug #3035693 - "SCI: QFG3 demo: Rope swinging more ↵Filippos Karapetis
heroic than ever"
2011-10-19SCI: Moved the width adjustment outside getPlaneRect()Filippos Karapetis
2011-10-19SCI: Move the palette merging checking code inside the GfxPalette classFilippos Karapetis
2011-10-19SCI: Added a sanity check when drawing text. Older SCI32 saves work nowFilippos Karapetis
2011-10-19SCI: Merged all the code to get/set the NS rectFilippos Karapetis
2011-10-19SCI: Removed unused includesFilippos Karapetis
2011-10-19SCI: Wrapped some very long linesFilippos Karapetis
2011-10-19SCI: Fixed script bug #3425276 - "SCI: PQ2: Game crashes when looking at file"Filippos Karapetis
2011-10-19SCI: The draw_pic console command now works in SCI32Filippos Karapetis
Moreover, the overlay is temporarily hidden to show the picture
2011-10-18SCI: Added some hacks related to new functionality in Phantasmagoria 2Filippos Karapetis
The game will now start (but won't do anything exciting - it'll display its main menu, which doesn't work yet)
2011-10-15SCI: Fixed text length in upscaled SCI32 gamesFilippos Karapetis
2011-10-14SCI: Fixed display of text surfaces in SCI21Filippos Karapetis
2011-10-14SCI: Silenced warningsFilippos Karapetis
2011-10-14SCI: More work on kBitmap (still WIP)Filippos Karapetis
2011-10-14SCI: More work on the vertical plane offset for SCI32. Still WIP.Filippos Karapetis
Vertical clipping is still not finished. This fixes the display in the Torin demo (which uses a scene with loads of items with a vertical offset).
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: Fixed text display in QFG4Filippos Karapetis
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: Removed leftover unused variablesFilippos 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-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-08SCI: Fix black screen in LSL7 introLars Skovlund
2011-09-27SCI: Added support for the halfbrite palette used in Longbow AmigaFilippos Karapetis
This fixes the remaining palette problems in the game (bug #3309036)
2011-09-26SCI: Code formattingFilippos Karapetis
2011-09-25SCI: Bugfix for the palette of Longbow Amiga (still not right)Filippos Karapetis
2011-09-23SCI21: Added some skeleton code for offsetting pictures vertically (not ↵Filippos Karapetis
working yet). Some cleanup
2011-09-05SCI: Fix Island of Dr. Brain copyprot pause menu on touch devicesWillem Jan Palenstijn
Patch from m_kiewitz.
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-09-03SCI: Fix QFG3 run/walk/sleep menu on touch devicesWillem Jan Palenstijn
The analysis and fix are from m_kiewitz.
2011-08-06OSYSTEM: extended installTimerProc() with timer ID parameterEugene Sandulenko
2011-07-01GRAPHICS: Remove default values from FontSJIS::drawChar.Johannes Schickel
drawChar is overloaded in FontSJIS. One takes a "Surface &" as first parameter another one "void *", they furthermore have the exact same number of required parameters. The one "void *" just had a few extra parameters with default values. This resulted in a bug in SCUMM, where "VirtScreen *" (a subclass of Surface) was passed instead of "VirtScreen &" and thus the method taking "void *" was incorrectly used. To make it easier to spot such bugs in the future I just removed the default values and thus disallow such calls.
2011-06-23ANALYSIS: Add static casts to is* functionsLittleboy
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx
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-06-13SCI: Reverted commit db7dea3Filippos Karapetis
The original check was correct, and the associated MG bug (#3049515) has actually been fixed with another commit. Fixes bug (regression) #3315639 - "Character Glitches in KQ4 SCI". Many thanks to waltervn and wjp for their help on this
2011-06-13SCI: Shrink rectangle updated by DrawControl(Text)Willem Jan Palenstijn
This fixes dialogs in Jones CD (bug #3297111) together with 9e2c7f26d2e6c6081489365cbc07cd6edec362ad. This grow was probably accidentally added in 6fda9a5067ca642ccf569a0845e170a6a74ce442. Assembly of KQ5CD and JonesCD confirms it shouldn't be there.
2011-06-12SCI: Remove workaround that caused graphics corruptionWillem Jan Palenstijn
This fixes coins disappearing in Mother Goose SCI1.1 (bug #3051136). Filippos has confirmed the workaround is no longer necessary for the menubar in LSL6 for which it was added.
2011-06-12SCI: Treat all priorities above 15 as noneWillem Jan Palenstijn
Before only 255 was treated this way. This fixes part of the broken dialog boxes in Jones CD (bug #3297111) which use priority 254, and matches Jones CD disassembly.
2011-06-12SCI: Fixed bug #3295931 - "SCI: JONES: Disabled commands are available using ↵md5
shortcuts"