aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
AgeCommit message (Collapse)Author
2010-07-14SCI: removing hardcoded size when drawing list controls - fixes load/save ↵Martin Kiewitz
dialog in lsl6 svn-id: r50894
2010-07-14SCI: separating qfg1ega and qfg1vga gameidsMartin Kiewitz
svn-id: r50881
2010-07-14SCI: Removed a chatty (and unneeded) warningFilippos Karapetis
svn-id: r50860
2010-07-13SCI: adding comment about palette formatsMartin Kiewitz
svn-id: r50847
2010-07-13SCI: adding comment about GfxPicture::draw() and picture resource formatsMartin Kiewitz
svn-id: r50846
2010-07-13SCI: change handling of priority in combination with embedded cels inside ↵Martin Kiewitz
picture resources, change in r49029 was wrong - fixes pq1 (map not changing when driving car) svn-id: r50845
2010-07-11SCI: also sync palette after playing movies, fixes kq6 introMartin Kiewitz
svn-id: r50798
2010-07-10SCI: calling speed throttler as well from kPalette(setIntensity) if needed - ↵Martin Kiewitz
fixes kq6 intro svn-id: r50794
2010-07-10SCI: calculate widths for menu after switching to menuport, i guess this was ↵Martin Kiewitz
the reason why we sometimes had issues drawing parts of the menu (random issue) svn-id: r50784
2010-07-10SCI: adding kPalette signatures, fixing 3 kPalVary calls, fixing ↵Martin Kiewitz
kAssertPalette (we used the wrong parameter number before, maybe the issues were caused by this) svn-id: r50780
2010-07-06SCI: fix regression of r50721 - pausing/resuming only on actual menu usageMartin Kiewitz
svn-id: r50724
2010-07-06SCI: fix regression of r50599 - broken greyed font drawingMartin Kiewitz
svn-id: r50720
2010-07-02SCI: change drawing of fonts, so that we never do triple pixel line ↵Martin Kiewitz
duplications. sierra didn't do this, but it looks much better - "fixes" gk1, kq6 font rendering when running in hires svn-id: r50599
2010-07-02SCI: added possible workaround or final solution for hires portraits not ↵Martin Kiewitz
fully removed from screen in kq6 - needs to get investigated further but this will get a little bit difficult svn-id: r50594
2010-07-02SCI: changing adjusting of upscaled hires box coordinatesMartin Kiewitz
svn-id: r50593
2010-07-02Extended the SCI2 text drawing hack for SCI2.1 too, and added font cachingFilippos Karapetis
svn-id: r50592
2010-06-30SCI: adjust brRect and nsRect, if sci2 hires views are used, fixes hotspots ↵Martin Kiewitz
in gk1 svn-id: r50536
2010-06-30SCI: remove some duplicate codeMartin Kiewitz
svn-id: r50535
2010-06-30SCI: support for hires views in gk1Martin Kiewitz
svn-id: r50533
2010-06-29Handle empty clip rectangles in GfxView::drawScaled(). Fixes an assert in ↵Filippos Karapetis
the first room of the game svn-id: r50503
2010-06-29SCI: Rewrap more commentsMax Horn
svn-id: r50500
2010-06-29SCI: Add some const qualifiersMax Horn
svn-id: r50499
2010-06-29SCI: Rename listEntry -> 'it' for better readabilityMax Horn
svn-id: r50498
2010-06-29SCI: Simplify List::iterator usage in GfxAnimateMax Horn
svn-id: r50497
2010-06-29SCI: Simplify GfxAnimate code, get rid of _listDataMax Horn
svn-id: r50496
2010-06-28SCI: updated comment about transparent pixels in viewsMartin Kiewitz
svn-id: r50454
2010-06-28SCI: kAnimate resetting _lastCastCount all the timeMartin Kiewitz
svn-id: r50453
2010-06-28SCI: fix regression of r50422, please no refactoring without proper testing ↵Martin Kiewitz
- fixes animations in all sorts of games svn-id: r50451
2010-06-28SCI: added comment - lsl5 also has too large windowsMartin Kiewitz
svn-id: r50450
2010-06-28Remove CRsWillem Jan Palenstijn
svn-id: r50435
2010-06-28SCI: add const again to newWidthMartin Kiewitz
svn-id: r50434
2010-06-28SCI: fix regression of r50424, 2x scalingMartin Kiewitz
svn-id: r50433
2010-06-28SCI: Cleanup GfxView code (formatting etc.); also insert some asserts to ↵Max Horn
protect scalingX/Y arrays svn-id: r50425
2010-06-28SCI: Optimized GfxScreen::scale2x a bitMax Horn
svn-id: r50424
2010-06-28SCI: Comment cleanupMax Horn
svn-id: r50423
2010-06-28SCI: Remove GfxView::getLoopInfo; add assert to GfxView::getCelInfoMax Horn
The return value of GfxView::getCelInfo was used virtually everywhere without a check for it being non-NULL. Hence instead of returning NULL when the loop count is zero, it makes more sense to assert out (instead of a segfault, or worse, random data being used). svn-id: r50422
2010-06-28SCI: Add const qualifiers to many GfxView methods and their return values.Max Horn
This helps to ensure proper data encapsulation. Also reformatted some overlong comments to 80 chars per line, and fixed some other code formatting issues. svn-id: r50421
2010-06-28SCI: Make src param of GfxScreen::scale2x constMax Horn
svn-id: r50420
2010-06-28SCI: separated the graphics initialization code a bitFilippos Karapetis
- Moved all of the graphics initialization code on startup inside initGraphics() - Moved all of the screen initialization (resolution, upscaled graphics etc) code inside GfxScreen() svn-id: r50412
2010-06-27Silenced a false positive in MSVC about a potentially uninitialized variableFilippos Karapetis
svn-id: r50392
2010-06-27SCI: Fix for large views in GK2. At least it does not segfault now.Lars Skovlund
svn-id: r50376
2010-06-26Further improve readabilityWillem Jan Palenstijn
svn-id: r50345
2010-06-26Improve readabilityWillem Jan Palenstijn
svn-id: r50340
2010-06-26SCI: another commit for adding a workaround for islang room 300 again ↵Martin Kiewitz
(although i already commited it already, stupid torturegit) svn-id: r50330
2010-06-25Removed the getHunkPointer error - it's valid SCI behavior (e.g. when ↵Filippos Karapetis
loading/quitting sometimes, since hunks are not saved). We check for valid hunk pointers anyway, so there's no reason for the warning/error svn-id: r50279
2010-06-25When loading a game, stop all running VMs recursively, and also stop ↵Filippos Karapetis
kAnimate's current recursion. This fixes the invalid execution stack frame in SQ1, when loading from the death screen after dying from the acid drops in Kerona. This should also fix the invalid hunk pointers, thus the warning about invalid hunk pointers has been turned into an error, as it shouldn't occur anymore svn-id: r50277
2010-06-25SCI: Introduce SciGameId enumMax Horn
svn-id: r50273
2010-06-25SCI: detect, if SCI1.1 game is merging or copying palette instead of using ↵Martin Kiewitz
gameIds. Also prints method used, when using debug command "version" svn-id: r50261
2010-06-24SCI: fix kTextSize to not crash when destination has an invalid rect in itMartin Kiewitz
svn-id: r50210
2010-06-23SCI: we extended the showBits() rect all the way depending on where the ↵Martin Kiewitz
object moved, fixed - fixes kq6cd flickering coin and pq1 flickering locker issue svn-id: r50190