aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
AgeCommit message (Collapse)Author
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"
2011-06-12SCI: Add FIXME for bug #3051136Willem Jan Palenstijn
2011-06-04SCI: Set Mac versions of LSL1 and LSL5 to screen height 190.Walter van Niftrik
This fixes bug #3310782. However, as I was unable to get the games working in a Mac emulator, this is an educated guess at this point.
2011-05-25ALL: behaviour -> behaviorMatthew Hoops
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-09SCI: Line wrap some commentsMax Horn
2011-05-09SCI: Fix warning about potential strict-aliasing rules violationMax Horn
2011-05-09SCI: Slight cleanup to undithering codeMax Horn
2011-05-05SCI: Use new MacCursor code instead of convertCrsrCursor()Matthew Hoops
2011-05-01SCI: Round left/right edges in bitsShow to even coordsWillem Jan Palenstijn
This fixes the vertical black line glitch in the QfG3 start menu (#3293351)
2011-04-29SCI: Fixed bug #3289744 - "Hero Quest 1 demo crashes"md5
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-28JANITORIAL: Format more forward declarations to follow conventionOri Avtalion
2011-04-28JANITORIAL: Format forward declarations to follow conventionOri Avtalion
2011-04-13SCI: Remove left-over fixme commentWillem Jan Palenstijn
It should have been removed in b40b87fdb5b4ee869cce55d852af409896b20c98
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.