aboutsummaryrefslogtreecommitdiff
path: root/scumm/nut_renderer.cpp
AgeCommit message (Collapse)Author
2004-08-08Patch #1003866 (SCUMM: New text rendering code (fixes various bugs))Max Horn
svn-id: r14521
2004-07-26Load SMUSH files and NUT fonts from mac container files, too (done that by ↵Max Horn
adding a new high level method openFile to class ScummEngine) svn-id: r14346
2004-06-27Thanks to File::setDefaultDirectory(), in most cases it is *not* necessary ↵Max Horn
to pass getGameDataPath() on to File::open() svn-id: r14087
2004-04-08cleanupMax Horn
svn-id: r13506
2004-04-05removed exception for no used nut fontPaweł Kołodziejski
svn-id: r13469
2004-04-04Added TODO/FIXME commentMax Horn
svn-id: r13463
2004-04-04allow disabling of text shadow in NUT font rendererMax Horn
svn-id: r13459
2004-02-02Fixed most bugs, so only cosmetic visual things left.Eugene Sandulenko
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-01Fix for bug #880418 (COMI: Subtitle problems)Max Horn
svn-id: r12710
2004-01-15do a better job at charset clipping; some reengineering. However, to ↵Max Horn
properly fix text drawing in COMI, we need to do some major changes svn-id: r12417
2004-01-08fix maskpos (I think... needs testing)Max Horn
svn-id: r12229
2004-01-07do clipping somewhat more efficientlyMax Horn
svn-id: r12214
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2004-01-04replaced many instances of _screenWidth by VirtScreen::width, where ↵Max Horn
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
2003-11-08cleanup whitespacesPaweł Kołodziejski
svn-id: r11217
2003-10-17patch #823031: Support Russian Full ThrottleMax Horn
svn-id: r10879
2003-10-03introduced namespace Scumm; made #include statements use scumm/ prefix ↵Max Horn
explicitly svn-id: r10571
2003-10-02renamed class Scumm to ScummEngine (consisten with other engine names; also ↵Max Horn
makes room for a potential 'Scumm' namespace) svn-id: r10549
2003-09-09cleanup; fix for bug #795942 (COMI: text display off screen) and #785760 ↵Max Horn
(COMI: Lockup/crash on Skull Island) svn-id: r10144
2003-09-06added support for codec1 in nut rendererPaweł Kołodziejski
svn-id: r10046
2003-06-07follow our coding conventionsMax Horn
svn-id: r8377
2003-06-07make SmushFont inherit from NutRenderer (TODO: drawChar stuff should be ↵Max Horn
unified, too) svn-id: r8375
2003-06-04some more cleanupMax Horn
svn-id: r8304
2003-06-04some cleanup & refactoring (CJK fonts have proper shadows now, for example); ↵Max Horn
preparations to merge NutRenderer and SmushFont svn-id: r8303
2003-06-04Patch #747021: DIG&CMI 2 byte charset support (very heavily modified by me; ↵Max Horn
still needs more cleanup but already works well enough) svn-id: r8293
2003-06-01added a getMaskBuffer method (makes it easier to read some of the code); ↵Max Horn
merged setVirtscreenDirty() into updateDirtyRect(); made setDirtyRange a method of struct VirtScreen svn-id: r8241
2003-05-27increased nut font debug level to 8Max Horn
svn-id: r8034
2003-05-10renamed _scrWidth/_scrHeight -> _roomWidht/_roomHeight, and ↵Max Horn
_realWidth/_realHeight -> _screenWidth/_screenHeight (inspired by MadMoose, but I'll take the blame - still this seems much more logical & intuitive) svn-id: r7423
2003-04-01Patch 713149: Fix OOB accessMax Horn
svn-id: r6893
2003-03-08hacked in some crude clipping code for drawChar; let's see if that helps ↵Max Horn
Valgrind svn-id: r6771
2003-03-06updated copyrights headersPaweł Kołodziejski
svn-id: r6726
2003-03-04load NUT fonts even if they do not specify full 256 chars (e.g. the COMI ↵Max Horn
demo only defines 233 chars svn-id: r6685
2003-03-03fix double free bugMax Horn
svn-id: r6679
2003-03-03don't error out if a font is missing -> this fixes the COMI demoMax Horn
svn-id: r6678
2003-01-30fixed crash with non-ASCII charsMax Horn
svn-id: r6577
2003-01-19some cleanupPaweł Kołodziejski
svn-id: r6515
2003-01-15made NUT font rendered honor _ignoreCharsetMaskMax Horn
svn-id: r6466
2002-12-31hacked in font shadow. font shadows are very important for readability. ↵Max Horn
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-31added masking to nut charset rendererMax Horn
svn-id: r6300
2002-12-31hack to get actor text color rightMax Horn
svn-id: r6299
2002-12-31fixed NUT text render when screen is scrolledMax Horn
svn-id: r6297
2002-12-30removed more dead weightMax Horn
svn-id: r6277
2002-12-30small optimizationMax Horn
svn-id: r6276
2002-12-27Error out when fonts are missingJames Brown
svn-id: r6190
2002-12-25cleanupMax Horn
svn-id: r6153
2002-12-25two good rules of thumb: don't use typecasts if you don't have to - type ↵Max Horn
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-25use specified colorMax Horn
svn-id: r6133
2002-12-25fixed free buffer before alloc newPaweł Kołodziejski
svn-id: r6131
2002-12-25fixed width font problem in NutRendererPaweł Kołodziejski
svn-id: r6128
2002-12-25added nut renderer, there is bug with font width, fix laterPaweł Kołodziejski
svn-id: r6126