diff options
author | Max Horn | 2003-06-04 14:37:43 +0000 |
---|---|---|
committer | Max Horn | 2003-06-04 14:37:43 +0000 |
commit | 6fd0e4a07f7502cf88e0d65a7030836196c15852 (patch) | |
tree | 15622623c1b5e89dea1ae57d208101cf93d4d3e3 /scumm/smush/smush_font.h | |
parent | 97aaab94108c3ddbac82a130ddb4f4050867a880 (diff) | |
download | scummvm-rg350-6fd0e4a07f7502cf88e0d65a7030836196c15852.tar.gz scummvm-rg350-6fd0e4a07f7502cf88e0d65a7030836196c15852.tar.bz2 scummvm-rg350-6fd0e4a07f7502cf88e0d65a7030836196c15852.zip |
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
Diffstat (limited to 'scumm/smush/smush_font.h')
-rw-r--r-- | scumm/smush/smush_font.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/smush/smush_font.h b/scumm/smush/smush_font.h index 46f0e21453..8e9b06b33d 100644 --- a/scumm/smush/smush_font.h +++ b/scumm/smush/smush_font.h @@ -50,6 +50,7 @@ protected: int getStringWidth(char *str); int getCharHeight(byte c); int getStringHeight(char *str); + int draw2byte(byte *buffer, int dst_width, int x, int y, int idx); int drawChar(byte *buffer, int dst_width, int x, int y, byte chr); void drawSubstring(char *str, byte *buffer, int dst_width, int x, int y); void decodeCodec(byte *dst, byte *src, int length); @@ -60,7 +61,7 @@ public: void setColor(byte c) { _color = c; } void drawStringCentered(char *str, byte *buffer, int dst_width, int dst_height, int y, int xmin, int width, int offset); void drawStringWrap(char *str, byte *buffer, int dst_width, int dst_height, int x, int y, int width); - void drawStringWrapCentered(char *str, byte *buffer, int dst_width, int dst_height, int x, int32 y, int width); + void drawStringWrapCentered(char *str, byte *buffer, int dst_width, int dst_height, int x, int y, int width); void drawStringAbsolute(char *str, byte *buffer, int dst_width, int x, int y); }; |