diff options
| author | Max Horn | 2002-09-19 23:49:38 +0000 |
|---|---|---|
| committer | Max Horn | 2002-09-19 23:49:38 +0000 |
| commit | fcfc72296ccf751d4900d05129cbefcc0823550b (patch) | |
| tree | ba41b667a6dc68fbd9f3ac5aa526a359ac03b4df /scumm/scumm.h | |
| parent | f838473c25cba44a858a341558c34367fe1a44ea (diff) | |
| download | scummvm-rg350-fcfc72296ccf751d4900d05129cbefcc0823550b.tar.gz scummvm-rg350-fcfc72296ccf751d4900d05129cbefcc0823550b.tar.bz2 scummvm-rg350-fcfc72296ccf751d4900d05129cbefcc0823550b.zip | |
based on my findings for guifont, I changed string.cpp to read the char width table for OLD256 games! yippi! some more code cleanup, and marked two struct values as 'to be removed when savegame format changes'
svn-id: r4978
Diffstat (limited to 'scumm/scumm.h')
| -rw-r--r-- | scumm/scumm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/scumm.h b/scumm/scumm.h index 334ffa124f..1b2342bf04 100644 --- a/scumm/scumm.h +++ b/scumm/scumm.h @@ -197,7 +197,7 @@ struct CharsetRenderer { int _bufPos; byte _unk12, _disableOffsX; - byte *_ptr; + byte *_ptr; // FIXME: This field is *NOT* used - remove next time save game format changes byte _unk2, _bpp; byte _invNumBits; uint32 _charOffs; @@ -220,7 +220,7 @@ struct CharsetRenderer { void drawBits(); void printChar(int chr); void printCharOld(int chr); - int getSpacing(char chr); + int getSpacing(char chr, byte *charset); int getStringWidth(int a, byte *str, int pos); void addLinebreaks(int a, byte *str, int pos, int maxwidth); }; |
