aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
AgeCommit message (Collapse)Author
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.
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