aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
AgeCommit message (Collapse)Author
2010-06-04SCI: Fix for Valgrind Warning in Palette.David Turner
svn-id: r49433
2010-05-29Mass renaming of selector-related functions, and removed some defines which ↵Filippos Karapetis
were just cloaking functions with a different name - GET_SEL32 -> readSelector - GET_SEL32V -> readSelectorValue - PUT_SEL32 -> writeSelector - PUT_SEL32V -> writeSelectorValue Also, changed some selector-related function names and variables to CamelCase svn-id: r49317
2010-05-28Silenced some superfluous warnings in KQ5CDFilippos Karapetis
svn-id: r49294
2010-05-26SCI: adding another workaround for picture 376 in sq4/cd (same issue like ↵Martin Kiewitz
originally found in r49216) svn-id: r49247
2010-05-26SCI: adding another hack to sci32 picture drawing, fixes crash in sci32 ↵Martin Kiewitz
games introduced by r49216 svn-id: r49238
2010-05-25SCI: adding comment about error() on pattern opcodes sci1.1+Martin Kiewitz
svn-id: r49217
2010-05-25SCI: error out on pattern opcodes inside vector data when drawing pictures ↵Martin Kiewitz
in sci1.1+, also adding workaround for garbage data inside picture 381 in sq4 svn-id: r49216
2010-05-25SCI: sci1.1 uses hardcoded white for picture cel data instead of the value ↵Martin Kiewitz
specified in header - fixes pixel glitches in island of dr. brain title, sq4 title and qfg3 room during intro svn-id: r49213
2010-05-25SCI: sci1.1 changed priority to 15, when adding to picture - fixes title in ↵Martin Kiewitz
island of dr. brain intro svn-id: r49212
2010-05-24SCI: renaming MacIconBar to GfxMacIconBarMartin Kiewitz
svn-id: r49202
2010-05-24Surface is a struct, not a classFilippos Karapetis
svn-id: r49201
2010-05-24SCI: leave console open for pic_visualize/undither commands - also don't use ↵Martin Kiewitz
SciGui class for undither anymore svn-id: r49198
2010-05-24Add support for showing the icon bar in SCI1.1 Mac.Matthew Hoops
svn-id: r49196
2010-05-24SCI: sort according to original order in kAnimate, when y and z are the same ↵Martin Kiewitz
- fixes iceman half-open compartment in room 35 svn-id: r49189
2010-05-23Cleaned up the game ID code:Filippos Karapetis
- The game ID is now obtained from ScummVM ID directly, not by converting Sierra's internal ID - Moved the code which reads the internal Sierra ID inside the resource manager - Moved the code which converts the internal Sierra ID to ScummVM's IDs together with the rest of the detection code svn-id: r49152
2010-05-20SCI: adding workaround for some underwater rooms in iceman - removing ↵Martin Kiewitz
visual&priority lines that appear because of non dither mode (would merge with dithered fill color combination normally) svn-id: r49113
2010-05-18- Removed the wrapper kalloc, kmem and kfree functions. Now, the associated ↵Filippos Karapetis
Segment manager functions allocateHunkEntry, getHunkPointer and freeHunkEntry are used directly (which are more descriptive, anyway) - Replaced the GET_SEGMENT macro by a method of the segment manager - Removed the unused reference to the created hunk in allocateHunkEntry(), only the reg_t reference to it is returned now svn-id: r49078
2010-05-18Add initial support for KQ6 Mac. Wrapper functions for read/writing to ↵Matthew Hoops
pointers are now used (found in util.*) for code that has different endianness in SCI1.1+ Mac games. Add support for Mac 'snd ' and 'CURS' resources. QFG1 Mac is not yet playable due to script compression. svn-id: r49070
2010-05-15SCI: handle TAB like Ctrl-I on menu key checking, sci0 also did it that way ↵Martin Kiewitz
- makes TAB work for inventory in iceman/qfg1ega svn-id: r49044
2010-05-15SCI: setting port _menuPort, fixing crash on setFont()Martin Kiewitz
svn-id: r49043
2010-05-15SCI: removed _mainPort (was unused, is unused)Martin Kiewitz
svn-id: r49042
2010-05-15SCI: adding special 640x440 upscaling mode for kq6, finally hires portraits ↵Martin Kiewitz
are drawn at the right position svn-id: r49041
2010-05-15SCI: adding upscaled hires mode 640x480 for kq6 and gk1, fixing valgrind ↵Martin Kiewitz
error in GfxPortrait class, not using priority anymore when drawing hires cels (shouldnt be needed for kq6) svn-id: r49040
2010-05-15SCI: SCI_SCREEN_MASK_* now GFX_SCREEN_MASK_*, using enum - added new enum ↵Martin Kiewitz
GFX_SCREEN_UPSCALED_* svn-id: r49039
2010-05-14Silenced some MSVC warningsFilippos Karapetis
svn-id: r49030
2010-05-14SCI: if no priority is set (=255) and a cel is embedded in picture vector ↵Martin Kiewitz
data -> set priority to 0, fixes kq5/amiga - first scene not showing svn-id: r49029
2010-05-13SCI: fix window, when its too large for screen (fixes sq3 crash at ending, ↵Martin Kiewitz
actually caused by script bug) svn-id: r49028
2010-05-13SCI: fix regression of r49026 - line between titlebar and actual window was ↵Martin Kiewitz
overdrawn svn-id: r49027
2010-05-13SCI: remove hack code for shadows and implement them properly (shadow is ↵Martin Kiewitz
actually part of the window, not added onto the window) - fixes especially lsl5 svn-id: r49026
2010-05-13SCI: don't adjust new windows to _wmgrPort for oldGfxFunctions() games (till ↵Martin Kiewitz
kq4 .502), fixes all window positions for those especially sq3old speech bubble windows svn-id: r49025
2010-05-13SCI: removing one assert() from view loading, cause view 260 in kq6 really ↵Martin Kiewitz
contains a celCount == 0 o_O svn-id: r49024
2010-05-13SCI: adding some more assert()s in view data loading for clone :DMartin Kiewitz
svn-id: r49023
2010-05-13SCI: figured out weird special mac sci1.1 view decompression (currently ↵Martin Kiewitz
commented out for clone2727) svn-id: r49020
2010-05-12SCI: header size within sci1.1+ views doesn't include the actual header size ↵Martin Kiewitz
word, adjust accordingly (should make mac view support possible now) svn-id: r49019
2010-05-12SCI: changed behaviour for kDisplay change (r49012) to use oldGfxFunctions ↵Martin Kiewitz
(.502), which isn't 100% accurate (should be .566) but better than not restoring for whole SCI0LATE svn-id: r49017
2010-05-12SCI: tracked down the kDisplay change, added comment about thatMartin Kiewitz
svn-id: r49016
2010-05-12SCI: fix code that was commented out (wasn't meant to get commited that way) ↵Martin Kiewitz
during cleanup r47745 svn-id: r49015
2010-05-12SCI: added comments about r49012, change actually happened during sci0lateMartin Kiewitz
svn-id: r49014
2010-05-12SCI: dont restore port settings for SCI0 games (fixes sq3 wrong font used ↵Martin Kiewitz
when scanning for planets) svn-id: r49012
2010-05-11SCI: init _sysPaletteChangedMartin Kiewitz
svn-id: r49003
2010-05-04Move initGraphics and initCommonGFX from to new header.Max Horn
These functions are only used internally be Engine subclasses, and by moving them to a separate header we can reduce indirect header dependencies. svn-id: r48934
2010-05-04SCI: kPortrait - correctly jump over offset table to land on raw lipsync ↵Martin Kiewitz
data in portrait files svn-id: r48928
2010-04-30SCI: animate cleanupMartin Kiewitz
svn-id: r48876
2010-04-26SCI: fix regression from r48720, upscaled games that use view cursors crashedMartin Kiewitz
svn-id: r48810
2010-04-26SCI: fixing regression from r48771 - sierra used != before SCI1LATE and !(&) ↵Martin Kiewitz
later - fixes broken windows in sq1 svn-id: r48807
2010-04-25SCI: green buttons for sci0early implementedMartin Kiewitz
svn-id: r48799
2010-04-25SCI: draw a black line between titlebar and actual window content for SCI0, ↵Martin Kiewitz
also replaced hardcoded white value (255) with screen specific value svn-id: r48798
2010-04-25SCI: changing setFont() call logic inside textedit controls to save 2 ↵Martin Kiewitz
setFont() calls svn-id: r48797
2010-04-25SCI: we check for enough space, before adding pressed characters in textedit ↵Martin Kiewitz
controls svn-id: r48796
2010-04-25SCI: replaced value with constant when checking if controls are selectedMartin Kiewitz
svn-id: r48795