aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
AgeCommit message (Collapse)Author
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
2010-04-25SCI: reset cursor state when kDrawControl gets called on textedit controls, ↵Martin Kiewitz
fixes cursor placement issues svn-id: r48794
2010-04-25SCI: fix regression of r48659 - now calculating menu width and splitting ↵Martin Kiewitz
text on kernelDrawMenuBar() as well - fixes menu not displaying all the time in hoyle 1&2 svn-id: r48791
2010-04-24SCI: reverting r48787 port updates were actually introduced (heard that ↵Martin Kiewitz
before) in SCI1. I used the outdated wiki before and that one lists qfg2 and xmas90ega being SCI01. They are actually SCI1 svn-id: r48789
2010-04-24SCI: r48786 port updates were actually introduced during SCI01, qfg2 and ↵Martin Kiewitz
xmas90ega only. We enable port updates only for non-multilingual SCI01 games now - fixes percentage bar for qfg1 japanese as well svn-id: r48787
2010-04-24SCI: beginUpdate()/endUpdate() of ports were introduced inside kAnimate() in ↵Martin Kiewitz
SCI01 - fixes percentage bar not showing up in qfg1ega svn-id: r48786
2010-04-24SCI: added special comments about r48784Martin Kiewitz
svn-id: r48785
2010-04-24SCI: changing GetLongest() on kanji (again) hopefully it's now working as in ↵Martin Kiewitz
sierra sci :P svn-id: r48784
2010-04-24SCI: document skipping over breaking spaces done in r48781Martin Kiewitz
svn-id: r48782
2010-04-24SCI: change the way we handle breaking spaces based on how sierra sci does ↵Martin Kiewitz
it, revert r48778/r48779 svn-id: r48781
2010-04-23SCI: fix for regression of r48778: do add spaces to width, if we are at ↵Martin Kiewitz
ending of text - the whole change may be wrong altogether svn-id: r48779
2010-04-23SCI: text16 ::Width() doesn't add ending spaces to the width anymore, sierra ↵Martin Kiewitz
sci also doesn't do this - fixes windows being too large sometimes svn-id: r48778
2010-04-23SCI: pc98 sierra interpreter had special code, that circumvents having a ↵Martin Kiewitz
japanese punctuation char as first char on new lines - we do so now as well svn-id: r48777
2010-04-22SCI: added additional comment for setOrigin() commit (from waltervn), after ↵Martin Kiewitz
doing some test with sierra interpreter svn-id: r48775
2010-04-22SCI: make setOrigin() for ports behave like in sierra sci, fixes qfg1ega ↵Martin Kiewitz
character screen issues ("moving" controls), fixes jones/vga 1 pixel-off windows svn-id: r48772
2010-04-22SCI: SCI1LATE+ checks for STYLE_USER, versions before check for ↵Martin Kiewitz
STYLE_USER|STYLE_TRANSPARENT svn-id: r48771
2010-04-20SCI: get color white instead of hardcoded 255 inside openPort(), fixes not ↵Martin Kiewitz
working inverting of button controls on qfg1ega character stats screen svn-id: r48755
2010-04-20SCI: replaced values with constantMartin Kiewitz
svn-id: r48754
2010-04-20SCI: the pc98 rom has to display kanji directly, because of the bad ↵Martin Kiewitz
behaviour of GetLongest() we will actually put more chars in each line as actually fit. That way the scripts will only show most of the chars, but actually leave out some of the pixels of the far right characters. We now show kanji chars directly, sort of reproducing pc98 rom behaviour svn-id: r48748