diff options
author | Eugene Sandulenko | 2017-01-16 22:54:16 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-01-16 22:54:16 +0100 |
commit | aef95a6964613adc6d5956ef01477880ff3e8a9a (patch) | |
tree | b2e6a07ab1cfb50a1245b7a276d81e0e01dfe419 /graphics/fonts/macfont.h | |
parent | 88981b8db6881cc6c40a0409e27d49aca4835057 (diff) | |
download | scummvm-rg350-aef95a6964613adc6d5956ef01477880ff3e8a9a.tar.gz scummvm-rg350-aef95a6964613adc6d5956ef01477880ff3e8a9a.tar.bz2 scummvm-rg350-aef95a6964613adc6d5956ef01477880ff3e8a9a.zip |
GRAPHICS: First part for reading FOND Mac resources
Diffstat (limited to 'graphics/fonts/macfont.h')
-rw-r--r-- | graphics/fonts/macfont.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/graphics/fonts/macfont.h b/graphics/fonts/macfont.h index 1716ea69c7..e006fee0d1 100644 --- a/graphics/fonts/macfont.h +++ b/graphics/fonts/macfont.h @@ -28,6 +28,20 @@ namespace Graphics { +struct AsscEntry { + uint16 _fontSize; + uint16 _fontStyle; + uint16 _fontID; +}; + +struct BBoxEntry { + uint16 _style; + uint16 _left; + uint16 _bottom; + uint16 _right; + uint16 _top; +}; + /** * Processing of Mac FONT/NFNT rResources */ @@ -76,6 +90,15 @@ private: uint16 _ffIntl[2]; uint16 _ffVersion; + uint16 _ffNumAssoc; + Common::Array<AsscEntry> _ffAssocEntries; + + uint16 _ffNumOffsets; + uint32 *_ffOffsets; + + uint16 _ffNumBBoxes; + Common::Array<BBoxEntry> _ffBBoxes; + byte *_bitImage; struct Glyph { |