aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/text32.h
diff options
context:
space:
mode:
authorColin Snover2016-05-28 09:02:41 -0500
committerColin Snover2016-05-28 09:14:33 -0500
commitc8019487f92b44b685ccc066c81fcaf0c30715d2 (patch)
tree40e39c63203934e1a400bfebb190f680b146bb97 /engines/sci/graphics/text32.h
parent506549ae45e09b9c4c0c9c786077c429533ce53c (diff)
downloadscummvm-rg350-c8019487f92b44b685ccc066c81fcaf0c30715d2.tar.gz
scummvm-rg350-c8019487f92b44b685ccc066c81fcaf0c30715d2.tar.bz2
scummvm-rg350-c8019487f92b44b685ccc066c81fcaf0c30715d2.zip
SCI32: Remove unused titled text bitmap code
Titled text bitmaps do not appear to be used by any game scripts. They seem to only be used by the error manager in SSCI, but ScummVM has its own error handling, so we don’t need this implementation.
Diffstat (limited to 'engines/sci/graphics/text32.h')
-rw-r--r--engines/sci/graphics/text32.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/engines/sci/graphics/text32.h b/engines/sci/graphics/text32.h
index 5768ea0c59..20adb3d7c7 100644
--- a/engines/sci/graphics/text32.h
+++ b/engines/sci/graphics/text32.h
@@ -304,17 +304,6 @@ private:
*/
TextAlign _alignment;
- int16 _field_20;
-
- /**
- * TODO: Document
- */
- int16 _field_22;
-
- int _field_2C, _field_30, _field_34, _field_38;
-
- int16 _field_3C;
-
/**
* The position of the text draw cursor.
*/
@@ -392,11 +381,6 @@ public:
*/
reg_t createFontBitmap(const CelInfo32 &celInfo, const Common::Rect &rect, const Common::String &text, const int16 foreColor, const int16 backColor, const GuiResourceId fontId, const int16 skipColor, const int16 borderColor, const bool dimmed);
- /**
- * Creates a font bitmap with a title.
- */
- reg_t createTitledBitmap(const int16 width, const int16 height, const Common::Rect &textRect, const Common::String &text, const int16 foreColor, const int16 backColor, const int16 skipColor, const GuiResourceId fontId, const TextAlign alignment, const int16 borderColor, Common::String &title, const int16 titleForeColor, const int16 titleBackColor, const GuiResourceId titleFontId, const bool doScaling);
-
inline int scaleUpWidth(int value) const {
const int scriptWidth = g_sci->_gfxFrameout->getCurrentBuffer().scriptWidth;
return (value * scriptWidth + _scaledWidth - 1) / _scaledWidth;