Commit Graph

40 Commits

Author SHA1 Message Date
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
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
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
Torbjörn Andersson
13e2c224c8 This is probably not the optimal fix, but at least ScummVM compiles again.
svn-id: r16538
2005-01-11 08:06:19 +00:00
Max Horn
5c48717dd2 Remove some more header dependencies
svn-id: r16530
2005-01-10 22:35:43 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
b60febe8a8 Patch #1048283 (Improved CJK / FM-TOWNS support & some documention)
svn-id: r15671
2004-10-23 23:08:53 +00:00
Travis Howell
0ab96ee6c8 Move function as requested.
svn-id: r14844
2004-08-31 07:40:28 +00:00
Travis Howell
e0bb88b91c Add some WIP code for HE games.
Add some music adjustments

svn-id: r14839
2004-08-30 11:52:33 +00:00
Max Horn
28c32a9fb7 Add LOOM cursor support
svn-id: r14703
2004-08-23 08:37:55 +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
3dcd7bbfa8 Record on which virtual screen we last drew masked text
svn-id: r13507
2004-04-08 23:41:10 +00:00
Max Horn
71bbdbfae4 Removed CharsetRenderer::_mask (this was used to optimize charset mask 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-04-04 20:20:09 +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
d1a80a659b cleanup
svn-id: r12259
2004-01-08 17:41:11 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
d7660a2662 introduced namespace Scumm; made #include statements use scumm/ prefix explicitly
svn-id: r10571
2003-10-03 18:33:57 +00:00
Max Horn
3f55f2669d renamed class Scumm to ScummEngine (consisten with other engine names; also makes room for a potential 'Scumm' namespace)
svn-id: r10549
2003-10-02 22:42:03 +00:00
Max Horn
0e645f88ae renamed namespace ScummVM to Common
svn-id: r10544
2003-10-02 17:43:02 +00:00
Max Horn
eec095a72d correct shadow color in Zak256
svn-id: r8659
2003-06-26 21:41:53 +00:00
Max Horn
6fd0e4a07f Patch #747021: DIG&CMI 2 byte charset support (very heavily modified by me; still needs more cleanup but already works well enough)
svn-id: r8293
2003-06-04 14:37:43 +00:00
Max Horn
8a82e59065 constness fixes
svn-id: r7787
2003-05-21 16:28:02 +00:00
Max Horn
5fe08b9191 init charset data
svn-id: r7734
2003-05-20 15:12:33 +00:00
Max Horn
f4c7f37743 Make use of ScummVM::Rect
svn-id: r7546
2003-05-15 22:30:32 +00:00
Max Horn
bc99915aa5 V2 text drawing
svn-id: r7502
2003-05-14 13:30:52 +00:00
Max Horn
45ae0f0d61 force fixed width font in V2 games (our font data is proportional, hence this looks odd for now; proper fix will be to get proper font data)
svn-id: r7499
2003-05-14 12:12:55 +00:00
Max Horn
c63ec9d008 added a v2 charset rendered (with a hardcoded font take from german zak); enabled verbs in zak (well, they are drawn at least :-)
svn-id: r7398
2003-05-08 22:44:46 +00:00
Max Horn
30ac620bd3 drop shadow cleanup
svn-id: r7163
2003-04-27 18:49:27 +00:00
Paweł Kołodziejski
0a46882bea added charset support for all V3 games, and fix for cleaning all 16 variables not only 15
svn-id: r6928
2003-04-07 14:38:26 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
093428ae9a and more cleanup
svn-id: r6718
2003-03-06 17:58:13 +00:00
Paweł Kołodziejski
f543fae16d there are 5 fonts in CMI
svn-id: r6302
2002-12-31 21:41:24 +00:00
Max Horn
a43355a1bf reuse the old (ugly nasty dreaded) string system for V8, too (by supplying a NUT based CharsetRenderer)
svn-id: r6162
2002-12-26 01:47:40 +00:00
Max Horn
48c66ba210 fixed save/load; more restructuring of the charset rendering code
svn-id: r6154
2002-12-26 00:21:19 +00:00
Max Horn
a782a22c4d seperated classic & old256 rendered (now subclasses of CharsetRenderer)
svn-id: r6152
2002-12-25 21:57:01 +00:00
Max Horn
748ac8fe37 more cleanup
svn-id: r6149
2002-12-25 21:42:22 +00:00
Max Horn
d808e4da1f cleanup
svn-id: r6148
2002-12-25 21:14:26 +00:00
Max Horn
fca9ec09e7 moved CharsetRendere into its own header/source file; changed Scumm::_charset into a pointer, to make it possible to use different implementations of it
svn-id: r6147
2002-12-25 21:04:47 +00:00