Commit Graph

118 Commits

Author SHA1 Message Date
Max Horn
90b91f12b2 Made Gdi::_transparentColor protected
svn-id: r18049
2005-05-11 13:02:40 +00:00
Max Horn
d03b092659 Moved blast text/object code to ScummEngine_v6
svn-id: r17856
2005-04-28 22:34:56 +00:00
Travis Howell
b5f281e9d8 Cleanup
svn-id: r17333
2005-04-02 14:24:43 +00:00
Max Horn
414fbd0491 Moved ObjectClass to object.h
svn-id: r17280
2005-03-28 22:37:30 +00:00
Max Horn
9ca1a88803 Moved NES stuff in class Gdi into a struct _NES
svn-id: r17278
2005-03-28 20:27:12 +00:00
Max Horn
c5a77afb01 Cleaned up the object mode code; removed the friend class ScummEngine from class Gdi; moved dither code to ScummEngine
svn-id: r17277
2005-03-28 20:18:36 +00:00
Travis Howell
2938c66276 Rename WizParameters field.
Correct start strip in drawBMAPBg()

svn-id: r17236
2005-03-26 06:00:58 +00:00
Eugene Sandulenko
f735ee48af Fixes for MM NES costume mask from Quietust.
svn-id: r17235
2005-03-26 03:49:06 +00:00
Max Horn
df129b198c Some more cleanup
svn-id: r17227
2005-03-25 01:59:47 +00:00
Max Horn
47ee0ce884 Moved _roomStrips to class Gdi; put some GFX pre-room init code into the new method Gdi::roomChanged(); some more cleanup
svn-id: r17226
2005-03-25 01:52:20 +00:00
Max Horn
c86b18716b Started some cleanup work on class Gdi (in particular, I try to limit that class to GFX decoding only, and moved the screen rendering code out of it)
svn-id: r17225
2005-03-25 01:27:28 +00:00
Max Horn
7ed1c19f6c Cleanup: collect the C64 specific render data into a struct inside class Gdi
svn-id: r17224
2005-03-25 00:56:03 +00:00
Eugene Sandulenko
df0869f51d Patch from Quietust for MM NES
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-22 21:07:00 +00:00
Eugene Sandulenko
0bcb0ac257 Many MM NES fixes/improvements from Quietust:
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-21 23:51:48 +00:00
Eugene Sandulenko
f86768fee8 Preliminary support for NES charsets. Colors are wrong and we get glitches
caused by too narrow screen. Also text clearing doesn't work.

svn-id: r17164
2005-03-16 03:20:32 +00:00
Eugene Sandulenko
a827bb1c05 Patch from Quietust. Proper drawing of objects and fixes to inventory.
svn-id: r17162
2005-03-16 02:14:35 +00:00
Eugene Sandulenko
654528422d Preliminary support for MM NES.
svn-id: r17133
2005-03-13 23:18:59 +00:00
Travis Howell
81262457d3 Add extra safety checks from original games, to copyVirtScreenBuffers()
svn-id: r16993
2005-03-06 00:46:13 +00:00
Eugene Sandulenko
27469a1896 Patch #1121337 (CGA rendering in early LEC titles).
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-20 00:17:22 +00:00
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