aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.h
AgeCommit message (Collapse)Author
2005-09-19Switch back to using _paletteMod for the palette adjustment in 32 color ↵Travis Howell
Amiga games, since overflow is required for the correct palette (ie 256 should overflow to 0). Fixes the palette regression, bug #1294513 svn-id: r18845
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-05-21Initial support for TMSK masking in HE72+ games.Travis Howell
svn-id: r18201
2005-05-18Patch from Quietust for MM NES:Eugene Sandulenko
o Fix all actor mask bugs o Simplify masking considerably o Moved the decodesNESObject call from object.cpp into gfx.cpp svn-id: r18177
2005-05-11Made Gdi::_transparentColor protectedMax Horn
svn-id: r18049
2005-04-28Moved blast text/object code to ScummEngine_v6Max Horn
svn-id: r17856
2005-04-02CleanupTravis Howell
svn-id: r17333
2005-03-28Moved ObjectClass to object.hMax Horn
svn-id: r17280
2005-03-28Moved NES stuff in class Gdi into a struct _NESMax Horn
svn-id: r17278
2005-03-28Cleaned up the object mode code; removed the friend class ScummEngine from ↵Max Horn
class Gdi; moved dither code to ScummEngine svn-id: r17277
2005-03-26Rename WizParameters field.Travis Howell
Correct start strip in drawBMAPBg() svn-id: r17236
2005-03-26Fixes for MM NES costume mask from Quietust.Eugene Sandulenko
svn-id: r17235
2005-03-25Some more cleanupMax Horn
svn-id: r17227
2005-03-25Moved _roomStrips to class Gdi; put some GFX pre-room init code into the new ↵Max Horn
method Gdi::roomChanged(); some more cleanup svn-id: r17226
2005-03-25Started some cleanup work on class Gdi (in particular, I try to limit that ↵Max Horn
class to GFX decoding only, and moved the screen rendering code out of it) svn-id: r17225
2005-03-25Cleanup: collect the C64 specific render data into a struct inside class GdiMax Horn
svn-id: r17224
2005-03-22Patch from Quietust for MM NESEugene Sandulenko
o objects now update tile colors and mask data o mask data is drawn from the correct offset o verbs are drawn in the correct color svn-id: r17199
2005-03-21Many MM NES fixes/improvements from Quietust:Eugene Sandulenko
o Doesn't crash when going upstairs. Now game is playable up to the green tentacle o Proper subtitles colors o Room mask is decoded but doesn't affect sprites yet o Inventory draw issues fixed o Fix actors position when they're facing right svn-id: r17191
2005-03-16Preliminary support for NES charsets. Colors are wrong and we get glitchesEugene Sandulenko
caused by too narrow screen. Also text clearing doesn't work. svn-id: r17164
2005-03-16Patch from Quietust. Proper drawing of objects and fixes to inventory.Eugene Sandulenko
svn-id: r17162
2005-03-13Preliminary support for MM NES.Eugene Sandulenko
svn-id: r17133
2005-03-06Add extra safety checks from original games, to copyVirtScreenBuffers()Travis Howell
svn-id: r16993
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-01-11On Fingolfin's suggestion I put back the inclusion of util.h into Rect, forTorbjörn Andersson
MIN() and MAX(). I then removed util.h from a bunch of files which I don't think need it any more. (Please let me know if I got too blood-thirsty!) This reverts some of the changes I made this morning. svn-id: r16541
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-11-27moved all the HE wiz stuff to a separate module, with minor cleanups and ↵Gregory Montoir
simplifications svn-id: r15921
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-21HE wiz stuff updateGregory Montoir
svn-id: r15857
2004-11-13minor Wiz stuff updateGregory Montoir
svn-id: r15798
2004-10-07Simplify calling drawBomp a littlMax Horn
svn-id: r15448
2004-10-05Allow color adjustment when decompressing wizImages.Travis Howell
svn-id: r15419
2004-10-04Remove Gdi::fillRect, use the existing fill() method insteadMax Horn
svn-id: r15412
2004-10-04Implement case 150 for drawBMAPBgEugene Sandulenko
svn-id: r15408
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-28NEWS/TODO update; update smooth scrolling commentMax Horn
svn-id: r15324
2004-09-27Revert by bad change and just adjust for BMAP images.Travis Howell
svn-id: r15304
2004-09-26Re-enable V7_SMOOTH_SCROLLING_HACK since invalid read/write were unrelated.Travis Howell
svn-id: r15288
2004-09-25Turning off V7_SMOOTH_SCROLLING_HACK for now againMax Horn
svn-id: r15270
2004-09-25Cleanup to reduce code duplicationTravis Howell
svn-id: r15267
2004-09-25Cleanup to reduce code duplication.Travis Howell
svn-id: r15266
2004-09-25Cleanup to reduce code duplication.Travis Howell
svn-id: r15264
2004-09-24Enable V7_SMOOTH_SCROLLING_HACK temporarily, so that some people get exposed ↵Max Horn
to it and can reported all those remaining bugs to me ;-) svn-id: r15261
2004-09-24Fix OOB access in V7_SMOOTH_SCROLLING_HACK modeMax Horn
svn-id: r15260
2004-09-24Avoid out-of-bounds access in V7_SMOOTH_SCROLLING_HACK modeMax Horn
svn-id: r15258
2004-09-24Get rid of unused dbClear flagMax Horn
svn-id: r15255
2004-09-24Added some const qualifiersMax Horn
svn-id: r15253
2004-09-24More V7_SMOOTH_SCROLLING_HACK related fixesMax Horn
svn-id: r15251
2004-09-22Made dstPitch an explicit parameter, instead of (ab)using _screenWidth ↵Max Horn
(important for 'smooth scrolling') svn-id: r15236
2004-09-20cleanup / code re-useGregory Montoir
svn-id: r15203