aboutsummaryrefslogtreecommitdiff
path: root/scumm/smush/smush_font.h
diff options
context:
space:
mode:
authorMax Horn2003-06-04 14:37:43 +0000
committerMax Horn2003-06-04 14:37:43 +0000
commit6fd0e4a07f7502cf88e0d65a7030836196c15852 (patch)
tree15622623c1b5e89dea1ae57d208101cf93d4d3e3 /scumm/smush/smush_font.h
parent97aaab94108c3ddbac82a130ddb4f4050867a880 (diff)
downloadscummvm-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.h3
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);
};