aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/charset.h
diff options
context:
space:
mode:
authorFlorian Kagerer2010-10-15 19:10:18 +0000
committerFlorian Kagerer2010-10-15 19:10:18 +0000
commitb184d7bbdb109d1d123ebb5cf87fe3d2febe1865 (patch)
tree04cad730a7a54929eb89e4d867c6fc32191a79b4 /engines/scumm/charset.h
parent10bd159d0dfe4238c4df379b1740d098ce8dfa31 (diff)
downloadscummvm-rg350-b184d7bbdb109d1d123ebb5cf87fe3d2febe1865.tar.gz
scummvm-rg350-b184d7bbdb109d1d123ebb5cf87fe3d2febe1865.tar.bz2
scummvm-rg350-b184d7bbdb109d1d123ebb5cf87fe3d2febe1865.zip
SCUMM/FM-TOWNS: improve japanese font drawing in SCUMM 3 games
svn-id: r53510
Diffstat (limited to 'engines/scumm/charset.h')
-rw-r--r--engines/scumm/charset.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/scumm/charset.h b/engines/scumm/charset.h
index b5fc7b1b15..2837e8da20 100644
--- a/engines/scumm/charset.h
+++ b/engines/scumm/charset.h
@@ -27,6 +27,7 @@
#include "common/scummsys.h"
#include "common/rect.h"
+#include "graphics/sjis.h"
#include "scumm/gfx.h"
#include "scumm/saveload.h"
@@ -112,7 +113,7 @@ protected:
ShadowMode _shadowMode;
void enableShadow(bool enable);
- virtual void drawBits1(const Graphics::Surface &s, byte *dst, const byte *src, int drawTop, int width, int height, uint8 bitDepth);
+ virtual void drawBits1(const Graphics::Surface &s, byte *dst, const byte *src, int drawTop, int width, int height, uint8 bitDepth, bool scale2x = false);
public:
CharsetRendererCommon(ScummEngine *vm);
@@ -141,7 +142,7 @@ class CharsetRendererNES : public CharsetRendererCommon {
protected:
byte *_trTable;
- void drawBits1(const Graphics::Surface &s, byte *dst, const byte *src, int drawTop, int width, int height, uint8 bitDepth);
+ void drawBits1(const Graphics::Surface &s, byte *dst, const byte *src, int drawTop, int width, int height, uint8 bitDepth, bool scale2x = false);
public:
CharsetRendererNES(ScummEngine *vm) : CharsetRendererCommon(vm) {}
@@ -171,7 +172,7 @@ public:
#ifdef USE_RGB_COLOR
class CharsetRendererPCE : public CharsetRendererV3 {
protected:
- void drawBits1(const Graphics::Surface &s, byte *dst, const byte *src, int drawTop, int width, int height, uint8 bitDepth);
+ void drawBits1(const Graphics::Surface &s, byte *dst, const byte *src, int drawTop, int width, int height, uint8 bitDepth, bool scale2x = false);
public:
CharsetRendererPCE(ScummEngine *vm) : CharsetRendererV3(vm) {}