Commit Graph

99 Commits

Author SHA1 Message Date
Torbjörn Andersson
4dda4eb31b On Fingolfin's suggestion I put back the inclusion of util.h into Rect, for
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-11 13:25:02 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Gregory Montoir
5e351b0c31 moved all the HE wiz stuff to a separate module, with minor cleanups and simplifications
svn-id: r15921
2004-11-27 17:50:23 +00:00
Gregory Montoir
9bbb5fa0db HE wiz update, o90_unknown29 fully implemented.
Next step : move all the wiz related stuff to a specific class/struct.

svn-id: r15860
2004-11-22 20:34:29 +00:00
Gregory Montoir
cf7f878ddc HE wiz stuff update
svn-id: r15857
2004-11-21 21:31:28 +00:00
Gregory Montoir
628b02a9e8 minor Wiz stuff update
svn-id: r15798
2004-11-13 04:05:35 +00:00
Max Horn
3f842b2017 Simplify calling drawBomp a littl
svn-id: r15448
2004-10-07 16:10:51 +00:00
Travis Howell
29e0bbb13f Allow color adjustment when decompressing wizImages.
svn-id: r15419
2004-10-05 09:39:39 +00:00
Max Horn
b8419baa67 Remove Gdi::fillRect, use the existing fill() method instead
svn-id: r15412
2004-10-04 14:39:42 +00:00
Eugene Sandulenko
1cb05366f8 Implement case 150 for drawBMAPBg
svn-id: r15408
2004-10-04 13:49:30 +00:00
Max Horn
ca12f3f996 Smooth scrolling seems to work very well, so I am promoting it now from hack-status to a fully official feature ;-)
svn-id: r15371
2004-10-01 20:40:03 +00:00
Gregory Montoir
98d82b84e9 rewrote drawStripHE ; although it's less efficient than the previous version, it should fix all the invalid mem read accesses reported by valgrind
svn-id: r15363
2004-09-30 23:30:59 +00:00
Max Horn
3f803aa881 NEWS/TODO update; update smooth scrolling comment
svn-id: r15324
2004-09-28 15:40:39 +00:00
Travis Howell
9dcd1d5ccd Revert by bad change and just adjust for BMAP images.
svn-id: r15304
2004-09-27 01:26:05 +00:00
Travis Howell
274a69a384 Re-enable V7_SMOOTH_SCROLLING_HACK since invalid read/write were unrelated.
svn-id: r15288
2004-09-26 13:41:10 +00:00
Max Horn
972846017c Turning off V7_SMOOTH_SCROLLING_HACK for now again
svn-id: r15270
2004-09-25 15:52:50 +00:00
Travis Howell
ca88387343 Cleanup to reduce code duplication
svn-id: r15267
2004-09-25 11:40:40 +00:00
Travis Howell
3d8fa00317 Cleanup to reduce code duplication.
svn-id: r15266
2004-09-25 11:33:50 +00:00
Travis Howell
0c12afcd71 Cleanup to reduce code duplication.
svn-id: r15264
2004-09-25 11:17:23 +00:00
Max Horn
7c22767b87 Enable V7_SMOOTH_SCROLLING_HACK temporarily, so that some people get exposed to it and can reported all those remaining bugs to me ;-)
svn-id: r15261
2004-09-24 23:33:32 +00:00
Max Horn
360e189fc0 Fix OOB access in V7_SMOOTH_SCROLLING_HACK mode
svn-id: r15260
2004-09-24 23:29:46 +00:00
Max Horn
6749efe84c Avoid out-of-bounds access in V7_SMOOTH_SCROLLING_HACK mode
svn-id: r15258
2004-09-24 22:31:42 +00:00
Max Horn
503fb0982e Get rid of unused dbClear flag
svn-id: r15255
2004-09-24 21:38:22 +00:00
Max Horn
2872c312a9 Added some const qualifiers
svn-id: r15253
2004-09-24 21:35:37 +00:00
Max Horn
4c1ff1d087 More V7_SMOOTH_SCROLLING_HACK related fixes
svn-id: r15251
2004-09-24 21:00:15 +00:00
Max Horn
05cb8627be Made dstPitch an explicit parameter, instead of (ab)using _screenWidth (important for 'smooth scrolling')
svn-id: r15236
2004-09-22 17:57:20 +00:00
Gregory Montoir
0fad7a9538 cleanup / code re-use
svn-id: r15203
2004-09-20 18:27:13 +00:00
Max Horn
09444181ce Moved some code from Gdi::drawBitmap into a new method Gdi::getZPlanes; cleanup
svn-id: r15196
2004-09-19 21:14:51 +00:00
Max Horn
18be57a0d9 Cleanup, added some HE related TODO/FIXME comments (for consideration by the HE folks :-)
svn-id: r15194
2004-09-19 20:17:57 +00:00
Max Horn
c1913852df GFX codec cleanup: renamed some of the Gdi::unkDecode methods; simplified and/or cleaned up some of the codecs; added some relevant TODO/FIXME comments
svn-id: r15171
2004-09-18 21:40:07 +00:00
Gregory Montoir
22b2cfa002 preliminar AuxQueue support (freddemo intro), some glitches though
svn-id: r15149
2004-09-18 00:36:17 +00:00
Eugene Sandulenko
96ad0d9cb7 Added BMAP support in objects.
Though I didn't test it as I don't know when it is used. Please, tell me when
you'll see warning that it is called.
Now we have BMAP for all cases in HE 70+ games.

svn-id: r14911
2004-09-05 17:39:54 +00:00
Gregory Montoir
54a84da97c preliminar Wiz images support (HE 72)
svn-id: r14875
2004-09-03 17:27:40 +00:00
Eugene Sandulenko
70dbcaf9da Added initial support for BMAP resources of HE 7.2 games. Doesn't work
correctly yet.

svn-id: r14759
2004-08-26 02:47:49 +00:00
Max Horn
152a5e97fe Modified VirtScreen to inherit from Graphics::Surface, and added 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-14 19:42:00 +00:00
Max Horn
835ef5f012 Patch #1003866 (SCUMM: New text rendering code (fixes various bugs))
svn-id: r14521
2004-08-08 22:10:38 +00:00
Max Horn
6772f1d358 Moved some code out into a separate function
svn-id: r14516
2004-08-08 13:24:41 +00:00
Eugene Sandulenko
2e0814514c HE 7.0 fixes
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-23 01:36:57 +00:00
Eugene Sandulenko
80216dc6d6 Rewrote 3DO graphics decoders to more C-like syntax.
svn-id: r13985
2004-06-20 20:54:18 +00:00
Eugene Sandulenko
4117781522 Graphics decoders for 3DO HE titles. Preliminary implementation, don't
blame me :) After testing I'll convert it to C.

svn-id: r13014
2004-02-24 04:45:50 +00:00
Max Horn
04b002bbaa move the charset mask to the charset renderer class; some other related changes
svn-id: r12263
2004-01-08 21:21:40 +00:00
Max Horn
d852e2855a cleanup (make some more use of class Common::Rect)
svn-id: r12232
2004-01-08 03:10:16 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
2ecf66d561 get rid of VirtScreen::scrollable
svn-id: r12173
2004-01-06 12:16:28 +00:00
Max Horn
01c29eabf3 typo
svn-id: r12170
2004-01-06 11:52:12 +00:00
Max Horn
cc67301791 renamed VirtScreen::alloctwobuffers to hasTwoBuffers; added lots of doxygen comments to VirtScreen; cleanup
svn-id: r12168
2004-01-06 11:47:34 +00:00
Max Horn
d16ac3e88f turns out we always had VirtScreen::backBuf but didn't use it... change that (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-04 13:49:03 +00:00
Max Horn
bceb48f5e0 renamed updateDirtyRect to markRectAsDirty (because that's what it really does); used virtual screen id constants in more places
svn-id: r12122
2004-01-03 22:45:23 +00:00
Max Horn
105895da46 cleanup
svn-id: r12121
2004-01-03 22:21:56 +00:00
Max Horn
34db2e793a added & renamed some constants; fixed & added some doxygen comments; cleaned 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
2004-01-03 21:22:07 +00:00