aboutsummaryrefslogtreecommitdiff
path: root/sky/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'sky/text.h')
-rw-r--r--sky/text.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sky/text.h b/sky/text.h
index ffebcc79dd..0d24c70599 100644
--- a/sky/text.h
+++ b/sky/text.h
@@ -24,6 +24,12 @@
#include "sky/disk.h"
+struct HuffTree {
+ char lChild;
+ char rChild;
+ char value;
+};
+
class SkyText {
public:
SkyText(SkyDisk *skyDisk, uint32 gameVersion, uint16 _language);
@@ -36,6 +42,7 @@ public:
protected:
bool getTBit();
void fnSetFont(uint32 fontNr);
+ char traverseTree(const HuffTree *huffTree);
virtual char getTextChar() = 0;
SkyDisk *_skyDisk;