[Scummvm-cvs-logs] scummvm master -> 490382098eb122e25aa895dc8de7330c22b1fcf8
bluegr
bluegr at gmail.com
Tue Dec 23 10:07:34 CET 2014
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
490382098e ZVISION: Disable more unused code
Commit: 490382098eb122e25aa895dc8de7330c22b1fcf8
https://github.com/scummvm/scummvm/commit/490382098eb122e25aa895dc8de7330c22b1fcf8
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2014-12-23T11:06:39+02:00
Commit Message:
ZVISION: Disable more unused code
Changed paths:
engines/zvision/text/text.cpp
engines/zvision/text/text.h
diff --git a/engines/zvision/text/text.cpp b/engines/zvision/text/text.cpp
index 53fcafd..8ddba3f 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 c044e91..c942b81 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 ??
More information about the Scummvm-git-logs
mailing list