diff options
author | Nicola Mettifogo | 2007-01-15 21:58:51 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-01-15 21:58:51 +0000 |
commit | 79d98bf52ab6480ac01b44c927f609d6f43b832f (patch) | |
tree | ea5b9d0ca804e93ce663ac9ba13493a0fb5fd0ed | |
parent | abb7d49bcaf90ddeb0fb10a30d6bd83c8ac574d8 (diff) | |
download | scummvm-rg350-79d98bf52ab6480ac01b44c927f609d6f43b832f.tar.gz scummvm-rg350-79d98bf52ab6480ac01b44c927f609d6f43b832f.tar.bz2 scummvm-rg350-79d98bf52ab6480ac01b44c927f609d6f43b832f.zip |
made _glyphWidths only referenced into graphics.cpp
svn-id: r25096
-rw-r--r-- | engines/parallaction/graphics.cpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp index 33548bbb5e..f76b27ca10 100644 --- a/engines/parallaction/graphics.cpp +++ b/engines/parallaction/graphics.cpp @@ -41,8 +41,19 @@ byte * _pathBackup; uint16 _bgLayers[4]; -// FIXME: -extern byte _glyphWidths[]; +// +// proportional font glyphs width +// +const byte _glyphWidths[126] = { + 0x04, 0x03, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x04, 0x04, 0x06, 0x06, 0x03, 0x05, 0x03, 0x05, + 0x06, 0x06, 0x06, 0x06, 0x07, 0x06, 0x06, 0x06, 0x06, 0x06, 0x03, 0x03, 0x05, 0x04, 0x05, 0x05, + 0x03, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x03, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, + 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x08, 0x07, 0x07, 0x07, 0x05, 0x06, 0x05, 0x08, 0x07, + 0x04, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x03, 0x04, 0x05, 0x05, 0x06, 0x06, 0x05, + 0x05, 0x06, 0x05, 0x05, 0x05, 0x05, 0x06, 0x07, 0x05, 0x05, 0x05, 0x05, 0x02, 0x05, 0x05, 0x07, + 0x08, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x04, 0x04, 0x04, + 0x05, 0x06, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x04, 0x06, 0x05, 0x05, 0x05, 0x05 +}; Cnv Graphics::_font; bool Graphics::_proportionalFont = false; |