aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
AgeCommit message (Collapse)Author
2003-05-24fixed flashlight oddities in Zak256Max Horn
svn-id: r7904
2003-05-24cleanup / minor tweakMax Horn
svn-id: r7890
2003-05-23replaced many unsafe uses of derefActorSafe by derefActor; replaced ↵Max Horn
derefActorSafe/assert pairs by derefActor (gives better error message); replaced various derefActorSafe/if(a!=0) pairs by derefActor (in cases where the deref should never fail, ever, except due to a bug in ScummVM) svn-id: r7859
2003-05-21many pedantic warning fixes (and some actual potential buglets fixed, too)Max Horn
svn-id: r7795
2003-05-21added v2 cutscene support (not quite complete; and crashes at some point in ↵Max Horn
maniac because VAR_EGO contains a bogus value); cleanup svn-id: r7781
2003-05-19more special palette fixes by erikMax Horn
svn-id: r7689
2003-05-18Fixed VC++ warningsJamieson Christian
svn-id: r7652
2003-05-18warning() automatically outputs a newline after the warning message; adding ↵Max Horn
a newline into the format string adds another newline (which contains the single char '!') svn-id: r7647
2003-05-18Part of patch #739119 (attempt to fix bug #651077 at least partially)Max Horn
svn-id: r7643
2003-05-16V2 camera fix (again thanks MadMoose)Max Horn
svn-id: r7587
2003-05-16Fixed VC++ warningsJamieson Christian
svn-id: r7555
2003-05-15moved drawBox to gfx.cpp (seems to be the more logical location)Max Horn
svn-id: r7554
2003-05-15cleanupMax Horn
svn-id: r7550
2003-05-15make some more use of ScummVM::Point; cleanupMax Horn
svn-id: r7549
2003-05-15Make use of ScummVM::RectMax Horn
svn-id: r7546
2003-05-15ScummPoint -> ScummVM::PointMax Horn
svn-id: r7543
2003-05-15cleanupMax Horn
svn-id: r7538
2003-05-15cleanup / added FIXMEMax Horn
svn-id: r7536
2003-05-15adding some asserts (e.g. against that evil COMI crasher)Max Horn
svn-id: r7526
2003-05-14fixed light blue EGA palette entryMax Horn
svn-id: r7507
2003-05-14V2 text drawingMax Horn
svn-id: r7502
2003-05-14various V8 tweaksMax Horn
svn-id: r7494
2003-05-13NUM_ACTORS -> _numActors (for consistency)Max Horn
svn-id: r7489
2003-05-12cleanup (fixes another VC warning, too ;-)Max Horn
svn-id: r7480
2003-05-12made hasCharsetMask return a bool (fixes VC compilation warnings)Max Horn
svn-id: r7478
2003-05-12added a hack to draw z masks onto the screen (useful to debug potential z ↵Max Horn
masking bugs, like bug #724685) svn-id: r7476
2003-05-11correction: V2 mask decompression works 100% correct. We just ignore it.Max Horn
svn-id: r7430
2003-05-11cleanup / tweaks (V2 masking, at least in Zakdemo, seems not to work ↵Max Horn
properly, though) svn-id: r7429
2003-05-11cleanupMax Horn
svn-id: r7428
2003-05-10work around some illegal var access' in COMI/V8 - there are more, but I am ↵Max Horn
not always sure if avoiding the access is the proper fix; maybe in some cases we should just define that var for V8 to the proper value? svn-id: r7425
2003-05-10renamed _scrWidth/_scrHeight -> _roomWidht/_roomHeight, and ↵Max Horn
_realWidth/_realHeight -> _screenWidth/_screenHeight (inspired by MadMoose, but I'll take the blame - still this seems much more logical & intuitive) svn-id: r7423
2003-05-10fixed the way redrawBGStrip invokes drawBitmap -> this makes the office ↵Max Horn
scene in the Zak intro show up correctly (again thanks to MadMoose for the clue that lead to the right solution :-) svn-id: r7421
2003-05-10fixed operator precedence (thanks MadMoose)Max Horn
svn-id: r7420
2003-05-10removed obsolete checkMax Horn
svn-id: r7418
2003-05-10oopsMax Horn
svn-id: r7417
2003-05-10removed obsolete code; cleanup for my V2 drawBitmap 'hack', which got rid of ↵Max Horn
most of the duplicate code svn-id: r7416
2003-05-10implemented v2 masking (at least I get no negative effects, but anybody feel ↵Max Horn
free to valgrind this :-) svn-id: r7415
2003-05-10new V2 drawBitmap implementation which handles object drawing, too; no ↵Max Horn
masking implemented yet. Once it fully works, will remove all the _egaStrip* stuff svn-id: r7413
2003-05-10added a 'width' parameter to drawBitmap (contrary to 'numstrips', it ↵Max Horn
specifies the full width of the image passed in, not how much we shoul draw of it) - this will be used for the new V2 drawBitmap code; renamed drawBitmap parameter 'h' to 'height' svn-id: r7412
2003-05-10cleanupMax Horn
svn-id: r7411
2003-05-09V2 Vars FixJames Brown
svn-id: r7404
2003-05-09updated my FIXME commentMax Horn
svn-id: r7401
2003-05-08yet more v2 var fixesMax Horn
svn-id: r7397
2003-05-08more v2 var access fixesMax Horn
svn-id: r7395
2003-05-08fixed various cases of bad var accessMax Horn
svn-id: r7394
2003-05-08init all VAR_* variables to 0xFF; replaced access to _vars in the form ↵Max Horn
_vars[VAR_*] by VARS(VAR_*) which performs a validity checK; renamed _vars to _scummVars to make sure I updated all places; fixed two places where V6 and newer games would access V5 vars (but there are still some left, it seems); checked VAR access for now only generates a warning svn-id: r7393
2003-05-07Patch #733099: DIG: Experimental camera fix (should fix bugs #716350 and ↵Max Horn
#659158) svn-id: r7384
2003-05-04fixed drawing code for height != 128, but added a (temporary) hack to ignore ↵Max Horn
any such drawing anyway, for demo purposes svn-id: r7308
2003-05-04there ya goMax Horn
svn-id: r7307
2003-05-04much better, but still buggyMax Horn
svn-id: r7306