aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
AgeCommit message (Collapse)Author
2004-08-14Fix MI2 intro text colorsMax Horn
svn-id: r14613
2004-08-14Modified VirtScreen to inherit from Graphics::Surface, and added ↵Max Horn
getPixels()/getBackPixels() accessors (these changes make it a bit easier to implement smooth scrolling); also replaced some uses of rtBuffer by proper access through the corresponding VirtScreen svn-id: r14612
2004-08-10Perform proper clipping (this fixes some graphic regressions in The Dig)Max Horn
svn-id: r14547
2004-08-08Patch #1003866 (SCUMM: New text rendering code (fixes various bugs))Max Horn
svn-id: r14521
2004-08-08Moved some code out into a separate functionMax Horn
svn-id: r14516
2004-08-06Cleanup; added ugly workaround for bug #901462Max Horn
svn-id: r14490
2004-07-18Tiny cleanup ;-)Max Horn
svn-id: r14251
2004-06-27Fix actor palette in HE 7.0 games.Travis Howell
Use roompalette[] for all graphics decoders svn-id: r14075
2004-06-26look for the newer BMAP blocks from later humongous games if we can't find ↵Jonathan Gray
an SMAP block svn-id: r14060
2004-06-23oops. Forgot to remove debug output and rename resource type.Eugene Sandulenko
svn-id: r14004
2004-06-23HE 7.0 fixesEugene Sandulenko
o Stub for o7_startSound o graphics decoders o findResource was moved to ScummEngine and extended o 7.0+ titles use akos costumes, so fix that in launcher o more o6_resourceRoutines stubs Now HE 7.0 games (first 320x200 windows ports) show intros and some are playable to some extent. svn-id: r14003
2004-06-20Rewrote 3DO graphics decoders to more C-like syntax.Eugene Sandulenko
svn-id: r13985
2004-06-14The "Fatty Bear's Birthday Surprise" demo didn't erase subtitles properlyTorbjörn Andersson
during the black-and-white "Alfred Hitchcock Presents" style part of the intro. I think this is the correct fix for it, but I could be wrong... svn-id: r13958
2004-04-08Fix for bugs #929722 (MI2: Difficulty selection screen regression) and ↵Max Horn
#930385 (Subtitles are not shown correctly) by changing restoreCharsetBg() to only restore the screen area which is actually masked by text svn-id: r13508
2004-04-04Removed CharsetRenderer::_mask (this was used to optimize charset mask ↵Max Horn
handling). This shouldn't cause any noticable slowdowns, but allows us to get rid of two nasty hacks, and fixes bug #895355 (DIG: Subtitles sometimes stay on the screen), maybe also others svn-id: r13464
2004-03-28Renamed more OSystem methodsMax Horn
svn-id: r13410
2004-02-28renamed more OSystem methods to follow our naming scheme; renamed ↵Max Horn
NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend svn-id: r13087
2004-02-24Minor correctionTravis Howell
svn-id: r13015
2004-02-24Graphics decoders for 3DO HE titles. Preliminary implementation, don'tEugene Sandulenko
blame me :) After testing I'll convert it to C. svn-id: r13014
2004-02-14Reverted patch #889552. Kirben confirmed it was wrong for DOTT, and it wasTorbjörn Andersson
causing regressions in FOA. See bug #884171 and #893500 for details. svn-id: r12872
2004-02-03Patch #889552: Possible fix for bug #884171Max Horn
svn-id: r12718
2004-01-19this is not necessary anymoreMax Horn
svn-id: r12512
2004-01-18Add back checks for invalid left/right values, fixes regressions for now.Travis Howell
svn-id: r12462
2004-01-08oopsMax Horn
svn-id: r12265
2004-01-08more cleanupMax Horn
svn-id: r12264
2004-01-08move the charset mask to the charset renderer class; some other related changesMax Horn
svn-id: r12263
2004-01-08more cleanupMax Horn
svn-id: r12234
2004-01-08cleanup (make some more use of class Common::Rect)Max Horn
svn-id: r12232
2004-01-08various fixes for vertical scrolling rooms: fixed, screen updates (and made ↵Max Horn
them more efficient), fixed transitionEffect() for 'high' rooms, documented drawStripToScreen() params a little (we really should start documenting for each function which takes coordinates in which coordinate system they are). Please test all vertical scrolling rooms (and others, too) for regressions svn-id: r12228
2004-01-06Fix subtitles glitch when subtitles are shown during room scroll in pass.Travis Howell
svn-id: r12179
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2004-01-06get rid of VirtScreen::scrollableMax Horn
svn-id: r12173
2004-01-06just always call updateDirtyScreen(kTextVirtScreen) - it won't do any harm ↵Max Horn
for games not using that virt screen, but fixes the Indy part of the PASS demo svn-id: r12172
2004-01-06renamed VirtScreen::alloctwobuffers to hasTwoBuffers; added lots of doxygen ↵Max Horn
comments to VirtScreen; cleanup svn-id: r12168
2004-01-05'proper' fix for V1 MM problem; added a FIXMEMax Horn
svn-id: r12149
2004-01-05fix bug #870433 (DIG: Scrolling regression with the lander game)Max Horn
svn-id: r12148
2004-01-04cleanupMax Horn
svn-id: r12139
2004-01-04split out cursor/palette code into separate source filesMax Horn
svn-id: r12138
2004-01-04turns out we always had VirtScreen::backBuf but didn't use it... change that ↵Max Horn
(helps readability of the code, IMO); added Gdi::getMaskBuffer (again, helps understanding the code, I think); regrouped some functions in gfx.cpp svn-id: r12133
2004-01-04replaced many instances of _screenWidth by VirtScreen::width, where ↵Max Horn
approriate (there are cases, like when dealing with the camera, where _screenWidth is correct; in other places we still use it, because the VirtScreen is not available in that place at this time, will be fixed later). Reason for all this: eventually a clean seperation will allow us to use a main screen which is wider than the real screen width -> useful for V7+ smooth scrolling svn-id: r12131
2004-01-04uhm? I don't see why VC 2003 would complain about this, but not about the ↵Max Horn
many equal instances of this code (which, BTW, is perfectly valid C...) svn-id: r12130
2004-01-04I don't see why this would be needed (my guess is that the hack in ↵Max Horn
initVirtScreen (to use _roomHeight) already covers this, and more) svn-id: r12125
2004-01-04remove this HACK workaround - I think I may have fixed the true cause (we'll ↵Max Horn
see) svn-id: r12124
2004-01-03renamed updateDirtyRect to markRectAsDirty (because that's what it really ↵Max Horn
does); used virtual screen id constants in more places svn-id: r12122
2004-01-03cleanupMax Horn
svn-id: r12121
2004-01-03oopsMax Horn
svn-id: r12120
2004-01-03removed unused param in initScreensMax Horn
svn-id: r12119
2004-01-03added & renamed some constants; fixed & added some doxygen comments; cleaned ↵Max Horn
up the dirty screen code a bit (this should also fix a bug in V1/V2 games where part of the screen was not redrawn properly) svn-id: r12118
2003-12-25fix indirect palette cyclingMax Horn
svn-id: r11929
2003-12-17Patch #861716: palManipulateInit for V6 games (I modified the patch a bit)Max Horn
svn-id: r11718