Max Horn
683e934908
Removed pointless debug calls (they just cause overhead)
...
svn-id: r16738
2005-02-06 16:51:57 +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
Max Horn
0d746b05fc
Added methods to access charset x/y offs values (though those seem to be all 0 in COMI)
...
svn-id: r15482
2004-10-09 00:47:47 +00:00
Max Horn
768133d6e6
Rename some member vars to avoid _ followed by an uppercase letter. More of those are left in the code, though (and I am not really sure whether we want to change that, so far we had no problems caused by this)
...
svn-id: r15175
2004-09-18 22:42:45 +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
908723cc84
Load SMUSH files and NUT fonts from mac container files, too (done that by adding a new high level method openFile to class ScummEngine)
...
svn-id: r14346
2004-07-26 23:15:01 +00:00
Max Horn
df984b3824
Thanks to File::setDefaultDirectory(), in most cases it is *not* necessary to pass getGameDataPath() on to File::open()
...
svn-id: r14087
2004-06-27 21:52:25 +00:00
Max Horn
2b94290c97
cleanup
...
svn-id: r13506
2004-04-08 23:38:09 +00:00
Paweł Kołodziejski
74d902c62b
removed exception for no used nut font
...
svn-id: r13469
2004-04-05 18:45:40 +00:00
Max Horn
749d75cdcb
Added TODO/FIXME comment
...
svn-id: r13463
2004-04-04 19:50:52 +00:00
Max Horn
5858a919a2
allow disabling of text shadow in NUT font renderer
...
svn-id: r13459
2004-04-04 18:07:26 +00:00
Eugene Sandulenko
8a2496d6c5
Fixed most bugs, so only cosmetic visual things left.
...
o Support transparency for characters. Needed for cockpit rendering
o Fixed bug in NUT renderer which drawed transparent characters garbled
o Fixed long-standing (and outstanding) bug with SAUD error
o Previous fix fixed music in some cases (scene transitions)
o Fixed bug with palette being reset when smush video is rewind
o Made debug level for insane adjustable at compile time (maybe I will remove it later)
svn-id: r12717
2004-02-02 22:40:20 +00:00
Max Horn
0176e4de25
Fix for bug #880418 (COMI: Subtitle problems)
...
svn-id: r12710
2004-02-01 21:08:46 +00:00
Max Horn
11425a0cdd
do a better job at charset clipping; some reengineering. However, to properly fix text drawing in COMI, we need to do some major changes
...
svn-id: r12417
2004-01-15 22:37:48 +00:00
Max Horn
a655527949
fix maskpos (I think... needs testing)
...
svn-id: r12229
2004-01-08 01:43:32 +00:00
Max Horn
9a191d2c43
do clipping somewhat more efficiently
...
svn-id: r12214
2004-01-07 13:29:30 +00:00
Max Horn
033ff78ae9
updated copyright notice
...
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
805f512452
replaced many instances of _screenWidth by VirtScreen::width, where 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-04 13:09:02 +00:00
Paweł Kołodziejski
1f9e408e2f
cleanup whitespaces
...
svn-id: r11217
2003-11-08 21:59:32 +00:00
Max Horn
5b1c2e68b9
patch #823031 : Support Russian Full Throttle
...
svn-id: r10879
2003-10-17 19:20:00 +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
deb4f6b786
cleanup; fix for bug #795942 (COMI: text display off screen) and #785760 (COMI: Lockup/crash on Skull Island)
...
svn-id: r10144
2003-09-09 20:54:19 +00:00
Paweł Kołodziejski
bbd23e60ce
added support for codec1 in nut renderer
...
svn-id: r10046
2003-09-06 16:42:28 +00:00
Max Horn
49b9a8fc9d
follow our coding conventions
...
svn-id: r8377
2003-06-07 00:49:36 +00:00
Max Horn
4303edcbbd
make SmushFont inherit from NutRenderer (TODO: drawChar stuff should be unified, too)
...
svn-id: r8375
2003-06-07 00:33:46 +00:00
Max Horn
b4da713bfd
some more cleanup
...
svn-id: r8304
2003-06-04 23:51:25 +00:00
Max Horn
565a100c83
some cleanup & refactoring (CJK fonts have proper shadows now, for example); preparations to merge NutRenderer and SmushFont
...
svn-id: r8303
2003-06-04 23:32:09 +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
cb5fb5d403
added a getMaskBuffer method (makes it easier to read some of the code); merged setVirtscreenDirty() into updateDirtyRect(); made setDirtyRange a method of struct VirtScreen
...
svn-id: r8241
2003-06-01 14:30:26 +00:00
Max Horn
052a482f40
increased nut font debug level to 8
...
svn-id: r8034
2003-05-27 15:31:13 +00:00
Max Horn
acb35fc915
renamed _scrWidth/_scrHeight -> _roomWidht/_roomHeight, and _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-10 21:49:59 +00:00
Max Horn
68e7ce8143
Patch 713149: Fix OOB access
...
svn-id: r6893
2003-04-01 15:32:17 +00:00
Max Horn
73f7f88c96
hacked in some crude clipping code for drawChar; let's see if that helps Valgrind
...
svn-id: r6771
2003-03-08 13:26:20 +00:00
Paweł Kołodziejski
aa3766018f
updated copyrights headers
...
svn-id: r6726
2003-03-06 21:46:56 +00:00
Max Horn
db404cb1c4
load NUT fonts even if they do not specify full 256 chars (e.g. the COMI demo only defines 233 chars
...
svn-id: r6685
2003-03-04 02:45:50 +00:00
Max Horn
423f26bc27
fix double free bug
...
svn-id: r6679
2003-03-03 23:57:10 +00:00
Max Horn
405b6fd051
don't error out if a font is missing -> this fixes the COMI demo
...
svn-id: r6678
2003-03-03 23:39:48 +00:00
Max Horn
756c059a12
fixed crash with non-ASCII chars
...
svn-id: r6577
2003-01-30 16:02:20 +00:00
Paweł Kołodziejski
8f2b07260a
some cleanup
...
svn-id: r6515
2003-01-19 11:00:21 +00:00
Max Horn
b1c570aa6e
made NUT font rendered honor _ignoreCharsetMask
...
svn-id: r6466
2003-01-15 03:10:28 +00:00
Max Horn
542d0edd6d
hacked in font shadow. font shadows are very important for readability. However, the question remainds if this is the right way to achieve it; and also how to know when to *not* draw it...
...
svn-id: r6301
2002-12-31 21:15:46 +00:00
Max Horn
d65915beff
added masking to nut charset renderer
...
svn-id: r6300
2002-12-31 20:52:11 +00:00
Max Horn
1517ce3894
hack to get actor text color right
...
svn-id: r6299
2002-12-31 20:17:46 +00:00
Max Horn
561b2c9d7c
fixed NUT text render when screen is scrolled
...
svn-id: r6297
2002-12-31 18:17:05 +00:00
Max Horn
69dfba70eb
removed more dead weight
...
svn-id: r6277
2002-12-30 13:55:36 +00:00
Max Horn
85fe4018bc
small optimization
...
svn-id: r6276
2002-12-30 13:52:16 +00:00
James Brown
29f0d9af8e
Error out when fonts are missing
...
svn-id: r6190
2002-12-27 03:56:34 +00:00
Max Horn
91fc86eede
cleanup
...
svn-id: r6153
2002-12-25 23:18:30 +00:00