aboutsummaryrefslogtreecommitdiff
path: root/engines/sky
diff options
context:
space:
mode:
authorChris Apers2007-09-01 19:13:04 +0000
committerChris Apers2007-09-01 19:13:04 +0000
commit500481c4ec684bc943ea5e4c30786bec49871629 (patch)
tree97d4899c4a80107d96b9d22dd005eb45935ac538 /engines/sky
parent88b74c5c91478ea017fa247a2f92fab957257122 (diff)
downloadscummvm-rg350-500481c4ec684bc943ea5e4c30786bec49871629.tar.gz
scummvm-rg350-500481c4ec684bc943ea5e4c30786bec49871629.tar.bz2
scummvm-rg350-500481c4ec684bc943ea5e4c30786bec49871629.zip
Cleanup: remove obsolete code (PalmOS 68K version not supported anymore)
svn-id: r28803
Diffstat (limited to 'engines/sky')
-rw-r--r--engines/sky/hufftext.cpp41
-rw-r--r--engines/sky/text.h13
2 files changed, 0 insertions, 54 deletions
diff --git a/engines/sky/hufftext.cpp b/engines/sky/hufftext.cpp
index b3e299d00c..677ea4817e 100644
--- a/engines/sky/hufftext.cpp
+++ b/engines/sky/hufftext.cpp
@@ -27,17 +27,6 @@
namespace Sky {
-#ifdef PALMOS_68K
-const HuffTree *Text::_huffTree_00109;
-const HuffTree *Text::_huffTree_00267;
-const HuffTree *Text::_huffTree_00288;
-const HuffTree *Text::_huffTree_00303;
-const HuffTree *Text::_huffTree_00331;
-const HuffTree *Text::_huffTree_00348;
-const HuffTree *Text::_huffTree_00365;
-const HuffTree *Text::_huffTree_00368;
-const HuffTree *Text::_huffTree_00372;
-#else
const HuffTree Text::_huffTree_00109[] = {
{ 1, 22, 0 },
{ 2, 9, 0 },
@@ -2015,35 +2004,5 @@ const HuffTree Text::_huffTree_00372[] = {
{ 0, 0, 148 },
{ 0, 0, '!' },
};
-#endif
} // End of namespace Sky
-
-#ifdef PALMOS_68K
-#include "scumm_globals.h"
-
-_GINIT(Sky_Hufftext)
-_GSETPTR(Sky::Text::_huffTree_00109, GBVARS_HUFFTREE_00109_INDEX, const Sky::HuffTree, GBVARS_QUEEN)
-_GSETPTR(Sky::Text::_huffTree_00267, GBVARS_HUFFTREE_00267_INDEX, const Sky::HuffTree, GBVARS_QUEEN)
-_GSETPTR(Sky::Text::_huffTree_00288, GBVARS_HUFFTREE_00288_INDEX, const Sky::HuffTree, GBVARS_QUEEN)
-_GSETPTR(Sky::Text::_huffTree_00303, GBVARS_HUFFTREE_00303_INDEX, const Sky::HuffTree, GBVARS_QUEEN)
-_GSETPTR(Sky::Text::_huffTree_00331, GBVARS_HUFFTREE_00331_INDEX, const Sky::HuffTree, GBVARS_QUEEN)
-_GSETPTR(Sky::Text::_huffTree_00348, GBVARS_HUFFTREE_00348_INDEX, const Sky::HuffTree, GBVARS_QUEEN)
-_GSETPTR(Sky::Text::_huffTree_00365, GBVARS_HUFFTREE_00365_INDEX, const Sky::HuffTree, GBVARS_QUEEN)
-_GSETPTR(Sky::Text::_huffTree_00368, GBVARS_HUFFTREE_00368_INDEX, const Sky::HuffTree, GBVARS_QUEEN)
-_GSETPTR(Sky::Text::_huffTree_00372, GBVARS_HUFFTREE_00372_INDEX, const Sky::HuffTree, GBVARS_QUEEN)
-_GEND
-
-_GRELEASE(Sky_Hufftext)
-_GRELEASEPTR(GBVARS_HUFFTREE_00109_INDEX, GBVARS_QUEEN)
-_GRELEASEPTR(GBVARS_HUFFTREE_00267_INDEX, GBVARS_QUEEN)
-_GRELEASEPTR(GBVARS_HUFFTREE_00288_INDEX, GBVARS_QUEEN)
-_GRELEASEPTR(GBVARS_HUFFTREE_00303_INDEX, GBVARS_QUEEN)
-_GRELEASEPTR(GBVARS_HUFFTREE_00331_INDEX, GBVARS_QUEEN)
-_GRELEASEPTR(GBVARS_HUFFTREE_00348_INDEX, GBVARS_QUEEN)
-_GRELEASEPTR(GBVARS_HUFFTREE_00365_INDEX, GBVARS_QUEEN)
-_GRELEASEPTR(GBVARS_HUFFTREE_00368_INDEX, GBVARS_QUEEN)
-_GRELEASEPTR(GBVARS_HUFFTREE_00372_INDEX, GBVARS_QUEEN)
-_GEND
-
-#endif
diff --git a/engines/sky/text.h b/engines/sky/text.h
index be09f5a437..dd73b51db4 100644
--- a/engines/sky/text.h
+++ b/engines/sky/text.h
@@ -96,7 +96,6 @@ private:
static const uint16 _patchLangIdx[8];
static const uint16 _patchLangNum[8];
-#ifndef PALMOS_68K
static const HuffTree _huffTree_00109[]; // trees moved to hufftext.cpp
static const HuffTree _huffTree_00267[];
static const HuffTree _huffTree_00288[];
@@ -106,18 +105,6 @@ private:
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;
-#endif
};
} // End of namespace Sky