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 |
|
Max Horn
|
5c39a82633
|
two good rules of thumb: don't use typecasts if you don't have to - type cast have a nasty habit of hiding and causing problems. When a method takes a pointer argument, if possible make it const. :-). Cleanup. Fixed font rendering in CMI: you need to call updateDirtyRect() if you modify the screen...
svn-id: r6143
|
2002-12-25 20:07:09 +00:00 |
|
Max Horn
|
883cf3f60e
|
use specified color
svn-id: r6133
|
2002-12-25 14:59:33 +00:00 |
|
Paweł Kołodziejski
|
a01b169434
|
fixed free buffer before alloc new
svn-id: r6131
|
2002-12-25 14:46:14 +00:00 |
|
Paweł Kołodziejski
|
3bbfde3259
|
fixed width font problem in NutRenderer
svn-id: r6128
|
2002-12-25 14:09:54 +00:00 |
|
Paweł Kołodziejski
|
fb47f2a24b
|
added nut renderer, there is bug with font width, fix later
svn-id: r6126
|
2002-12-25 13:04:01 +00:00 |
|