From 989d67951c9171a77043244d0dccc768bcf84a78 Mon Sep 17 00:00:00 2001 From: Robert Göffringmann Date: Sat, 5 Jul 2003 02:21:19 +0000 Subject: corrected all huffman trees and moved them out of text.cpp svn-id: r8755 --- sky/text.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'sky/text.h') diff --git a/sky/text.h b/sky/text.h index 9213974596..3cda7b3544 100644 --- a/sky/text.h +++ b/sky/text.h @@ -63,7 +63,7 @@ protected: uint8 *addr; uint32 charHeight; uint32 charSpacing; - } _mainCharacterSet, _linkCharacterSet, _controlCharacterSet; + } _mainCharacterSet, _linkCharacterSet, _controlCharacterSet; uint32 _curCharSet; uint8 *_characterSet; @@ -86,6 +86,15 @@ protected: bool _dtCentre; //set for centre text uint32 _lowTextWidth, _mouseOfsX, _mouseOfsY; + static const HuffTree _huffTree_00267[]; // trees moved to hufftext.cpp + static const HuffTree _huffTree_00288[]; + static const HuffTree _huffTree_00303[]; + static const HuffTree _huffTree_00331[]; + static const HuffTree _huffTree_00348[]; + static const HuffTree _huffTree_00365[]; + static const HuffTree _huffTree_00368[]; + static const HuffTree _huffTree_00372[]; + public: uint32 _dtLetters; //no of chars in message }; -- cgit v1.2.3