aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
AgeCommit message (Collapse)Author
2005-03-06Add extra safety checks from original games, to copyVirtScreenBuffers()Travis Howell
svn-id: r16993
2005-03-02Distinguish between green and amber hercules. Now specify it via hercGreenEugene Sandulenko
and hercAmber. Updated documentation accordingly. svn-id: r16975
2005-03-01Fixed warning.Torbjörn Andersson
svn-id: r16966
2005-02-28Perform some validation before using GFX strip offset (see also bug #795214)Max Horn
svn-id: r16964
2005-02-25fixed compilation for emsvc4Paweł Kołodziejski
svn-id: r16917
2005-02-22Added consts (this usually helps the compiler a bit when optimizing code)Max Horn
svn-id: r16863
2005-02-20(more) correct v2 ditherers. Still suffers from some differences andEugene Sandulenko
text colors are not always match. svn-id: r16818
2005-02-20Patch #1121337 (CGA rendering in early LEC titles).Eugene Sandulenko
Differences against patch: o Updated documentation o Fixed text colors o Implemented Hercules dithering Ditherers are based on loom ega and monkey ega, so for zak and mm they're wrong, i.e. these games look better than with original ditherers. TODO: Proper ditherers for zak & MM EGA ditherers for VGA SCUMM v5 games svn-id: r16816
2005-02-02o Added few targetsEugene Sandulenko
* baseball2003 and Soccer2004 use Bink videos but just for intro movies and logos, so we may add them. * artdemo and readdemo also use Bink, but seems that additionally it uses them in cutscenes, but since there are just few of them, not like in full games, we may try to look at them too * SoccerMLS is (alsmost) working. It runs the intro, shows menu, lets to select from it but then fails at some Wiz stuff and there is no hotspots to choose. I think it may be related to overall HE99 problem with inventory where there is a bug preventing from item selection o baseball2003 and Soccer2004 featured new LECF index block. Add stub for it o SoccerMLS used kernelSetFunction 2001 in intro. add stub for it o Alternative russian freddi3 uses badly formatted logo substitution in intro, so error() in default case in Gdi::drawBMAPBg() was replaced with warning(). svn-id: r16722
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-27Reducing header dependencies a bitMax Horn
svn-id: r16347
2004-12-19to please PalmOS, I moved the _wiz member to ScummEngine_v70he, where it ↵Gregory Montoir
actually belongs, I don't quite like the upcasts I introduced, but I don't know how to deal without them svn-id: r16132
2004-12-10New ARM call (PalmOS)Chris Apers
svn-id: r16014
2004-11-27moved all the HE wiz stuff to a separate module, with minor cleanups and ↵Gregory Montoir
simplifications svn-id: r15921
2004-11-23Revert small part of recent WizImage changes, caused regressions.Travis Howell
svn-id: r15867
2004-11-22HE wiz update, o90_unknown29 fully implemented.Gregory Montoir
Next step : move all the wiz related stuff to a specific class/struct. svn-id: r15860
2004-11-21as the comment suggested, I rearranged the 3DO strip decoding function. ↵Gregory Montoir
Please, someone owning the 3DO games, test that this doesn't cause any regressions ! svn-id: r15858
2004-11-21HE wiz stuff updateGregory Montoir
svn-id: r15857
2004-11-21Applied one of my suggested fixes for bug #1060568. Let's see if it causesTorbjörn Andersson
any regressions... svn-id: r15855
2004-11-13minor Wiz stuff updateGregory Montoir
svn-id: r15798
2004-11-09CleanupChris Apers
svn-id: r15759
2004-10-17Check if VAR_WIZ_TCOLOR is set, before using it.Travis Howell
BMAP images are only used in HE71+. svn-id: r15580
2004-10-17cleanup: moved some things to gfx.cpp and changed o60_setState to match ↵Gregory Montoir
disassembly of version 72 svn-id: r15578
2004-10-17preliminar o72_captureWizImage() implementation ; still have to handle flag ↵Gregory Montoir
0x2 in drawWizImage to display correctly the painting in 1grademo svn-id: r15577
2004-10-11HE games only use flag value too.Travis Howell
svn-id: r15516
2004-10-08CleanupTravis Howell
svn-id: r15469
2004-10-08Partial inventory fix for HE games.Travis Howell
svn-id: r15468
2004-10-08Restrict to full game, since it doesn't exist in demo.Travis Howell
svn-id: r15467
2004-10-07Use slightly less irritating variable names; remove box draw hack, as its ↵Max Horn
semi-broken for smooth scrolling games; if at all, it should be replaced by a proper debugger command svn-id: r15454
2004-10-07Adjusted come commentsMax Horn
svn-id: r15447
2004-10-07Pointer correctionTravis Howell
svn-id: r15442
2004-10-05Allow color adjustment when decompressing wizImages.Travis Howell
svn-id: r15419
2004-10-05HE71+ games use wizImages for charset too.Travis Howell
svn-id: r15417
2004-10-04Remove Gdi::fillRect, use the existing fill() method insteadMax Horn
svn-id: r15412
2004-10-04Ooops, got reverted.Travis Howell
svn-id: r15409
2004-10-04Implement case 150 for drawBMAPBgEugene Sandulenko
svn-id: r15408
2004-10-04Add warningTravis Howell
svn-id: r15407
2004-10-04COMI stores room transparency in RMHD.Travis Howell
Minor cleanup. svn-id: r15406
2004-10-03Fixed bug #1039162 (Sam & Max intro crash) by making drawBox() do nothingTorbjörn Andersson
if the box's width or height is zero or less. svn-id: r15394
2004-10-01Smooth scrolling seems to work very well, so I am promoting it now from ↵Max Horn
hack-status to a fully official feature ;-) svn-id: r15371
2004-09-30rewrote drawStripHE ; although it's less efficient than the previous ↵Gregory Montoir
version, it should fix all the invalid mem read accesses reported by valgrind svn-id: r15363
2004-09-28cleanupGregory Montoir
svn-id: r15334
2004-09-28use the return value of getZPlanes rather that directly accessing _numZBufferGregory Montoir
svn-id: r15333
2004-09-28Rename remaining OSystem methods to match our coding guidelinesMax Horn
svn-id: r15332
2004-09-28Adjust transitionEffect to work properly for vertically scrolled roomsMax Horn
svn-id: r15327
2004-09-27This one doesn't make sense either...Max Horn
svn-id: r15317
2004-09-27Hm, there seems to be no point in subtractig 1 from height/width of these ↵Max Horn
rects (in fact it might cut off too much in a few corner cases, now?); so i am changing it to match the way rects are used in the rest of the SCUMM engine svn-id: r15316
2004-09-27Well, it *looks* as if that clipping code could be simplified. We'll see if ↵Max Horn
somebody starts to yell about the changes, though :-) svn-id: r15313
2004-09-27Fix for bug #1035184 (ALL: Transition FX not working anymore)Max Horn
svn-id: r15312
2004-09-27Looking at my code transformations again, numstrip could in theory become ↵Max Horn
negative, so strengthen the loop condition to catch that case svn-id: r15310