aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2014-12-23 11:06:39 +0200
committerFilippos Karapetis2014-12-23 11:06:39 +0200
commit490382098eb122e25aa895dc8de7330c22b1fcf8 (patch)
tree6e05e4584ff421de12edbf253393dcaebe998114
parent9f1fd0dbff6e1702f49708c8ef4cc91f3b44ca4e (diff)
downloadscummvm-rg350-490382098eb122e25aa895dc8de7330c22b1fcf8.tar.gz
scummvm-rg350-490382098eb122e25aa895dc8de7330c22b1fcf8.tar.bz2
scummvm-rg350-490382098eb122e25aa895dc8de7330c22b1fcf8.zip
ZVISION: Disable more unused code
-rw-r--r--engines/zvision/text/text.cpp4
-rw-r--r--engines/zvision/text/text.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/engines/zvision/text/text.cpp b/engines/zvision/text/text.cpp
index 53fcafd027..8ddba3fbab 100644
--- a/engines/zvision/text/text.cpp
+++ b/engines/zvision/text/text.cpp
@@ -51,7 +51,9 @@ cTxtStyle::cTxtStyle() {
_italic = false;
_justify = TXT_JUSTIFY_LEFT;
_size = 12;
+#if 0
_skipcolor = false;
+#endif
_strikeout = false;
_underline = false;
_statebox = 0;
@@ -204,11 +206,13 @@ txtReturn cTxtStyle::parseStyle(const Common::String &strin, int16 ln) {
} else if (token.matchString("skipcolor", true)) {
if (!tokenizer.empty()) {
token = tokenizer.nextToken();
+#if 0
if (token.matchString("on", true)) {
_skipcolor = true;
} else if (token.matchString("off", true)) {
_skipcolor = false;
}
+#endif
}
} else if (token.matchString("image", true)) {
// Not used
diff --git a/engines/zvision/text/text.h b/engines/zvision/text/text.h
index c044e91579..c942b8141a 100644
--- a/engines/zvision/text/text.h
+++ b/engines/zvision/text/text.h
@@ -69,7 +69,9 @@ public:
bool _bold;
bool _underline;
bool _strikeout;
+#if 0
bool _skipcolor;
+#endif
int32 _statebox;
bool _sharp;
// char image ??