aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2014-12-23 11:03:02 +0200
committerFilippos Karapetis2014-12-23 11:03:57 +0200
commit9f1fd0dbff6e1702f49708c8ef4cc91f3b44ca4e (patch)
treea2dcb1dc8c0d0a9840ce015b14e25be3c27f846c /engines
parent40bd4c485f9ab24e667e66a047214eb7dcef73e8 (diff)
downloadscummvm-rg350-9f1fd0dbff6e1702f49708c8ef4cc91f3b44ca4e.tar.gz
scummvm-rg350-9f1fd0dbff6e1702f49708c8ef4cc91f3b44ca4e.tar.bz2
scummvm-rg350-9f1fd0dbff6e1702f49708c8ef4cc91f3b44ca4e.zip
ZVISION: Disable unused code
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/text/text.cpp8
-rw-r--r--engines/zvision/text/text.h2
2 files changed, 9 insertions, 1 deletions
diff --git a/engines/zvision/text/text.cpp b/engines/zvision/text/text.cpp
index d1dc784f3e..53fcafd027 100644
--- a/engines/zvision/text/text.cpp
+++ b/engines/zvision/text/text.cpp
@@ -44,10 +44,12 @@ cTxtStyle::cTxtStyle() {
_green = 255;
_red = 255;
_bold = false;
+#if 0
+ _newline = false;
_escapement = 0;
+#endif
_italic = false;
_justify = TXT_JUSTIFY_LEFT;
- _newline = false;
_size = 12;
_skipcolor = false;
_strikeout = false;
@@ -115,10 +117,12 @@ txtReturn cTxtStyle::parseStyle(const Common::String &strin, int16 ln) {
}
}
} else if (token.matchString("newline", true)) {
+#if 0
if ((retval & TXT_RET_NEWLN) == 0)
_newline = 0;
_newline++;
+#endif
retval |= TXT_RET_NEWLN;
} else if (token.matchString("point", true)) {
if (!tokenizer.empty()) {
@@ -132,8 +136,10 @@ txtReturn cTxtStyle::parseStyle(const Common::String &strin, int16 ln) {
} else if (token.matchString("escapement", true)) {
if (!tokenizer.empty()) {
token = tokenizer.nextToken();
+#if 0
int32 tmp = atoi(token.c_str());
_escapement = tmp;
+#endif
}
} else if (token.matchString("italic", true)) {
if (!tokenizer.empty()) {
diff --git a/engines/zvision/text/text.h b/engines/zvision/text/text.h
index c278b011c7..c044e91579 100644
--- a/engines/zvision/text/text.h
+++ b/engines/zvision/text/text.h
@@ -61,8 +61,10 @@ public:
uint8 _red; // 0-255
uint8 _green; // 0-255
uint8 _blue; // 0-255
+#if 0
int8 _newline;
int8 _escapement;
+#endif
bool _italic;
bool _bold;
bool _underline;