aboutsummaryrefslogtreecommitdiff
path: root/sky/text.h
diff options
context:
space:
mode:
authorChris Apers2004-12-20 16:50:29 +0000
committerChris Apers2004-12-20 16:50:29 +0000
commitf9d9484d7be4fc5cd14f28e866ce35ff79a2df97 (patch)
treedf5d1c66342891a0e2b4bc866aef5a1dff2b016c /sky/text.h
parent5950a2346eabaa6759b77cf2d2ea099e43a26a7e (diff)
downloadscummvm-rg350-f9d9484d7be4fc5cd14f28e866ce35ff79a2df97.tar.gz
scummvm-rg350-f9d9484d7be4fc5cd14f28e866ce35ff79a2df97.tar.bz2
scummvm-rg350-f9d9484d7be4fc5cd14f28e866ce35ff79a2df97.zip
Moved to a database to save memory on PalmOS
svn-id: r16164
Diffstat (limited to 'sky/text.h')
-rw-r--r--sky/text.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/sky/text.h b/sky/text.h
index 784e7e9f96..372c4b7023 100644
--- a/sky/text.h
+++ b/sky/text.h
@@ -103,6 +103,7 @@ protected:
bool _dtCentre; //set for centre text
uint32 _lowTextWidth, _mouseOfsX, _mouseOfsY;
+#ifndef __PALM_OS__
static const HuffTree _huffTree_00109[]; // trees moved to hufftext.cpp
static const HuffTree _huffTree_00267[];
static const HuffTree _huffTree_00288[];
@@ -112,6 +113,19 @@ protected:
static const HuffTree _huffTree_00365[];
static const HuffTree _huffTree_00368[];
static const HuffTree _huffTree_00372[];
+#else
+public:
+ static const HuffTree *_huffTree_00109; // trees moved to hufftext.cpp
+ static const HuffTree *_huffTree_00267;
+ 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;
+protected:
+#endif
static const PatchMessage _patchedMessages[NUM_PATCH_MSG];
static const uint16 _patchLangIdx[8];