aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/text32.h
diff options
context:
space:
mode:
authorColin Snover2017-01-22 19:01:02 -0600
committerColin Snover2017-03-30 19:46:27 -0500
commit739047f887e9fef53c89ecf76de8809e7ae6809f (patch)
treef4ce3d24a00f2bb58a575c2f76841de9a00567c1 /engines/sci/graphics/text32.h
parent3de6f290e7724369424ec33dd56b60fbc393460c (diff)
downloadscummvm-rg350-739047f887e9fef53c89ecf76de8809e7ae6809f.tar.gz
scummvm-rg350-739047f887e9fef53c89ecf76de8809e7ae6809f.tar.bz2
scummvm-rg350-739047f887e9fef53c89ecf76de8809e7ae6809f.zip
SCI32: Always reinit GfxText32 statics on game startup
Fixes bad scaling of text when switching between games with different script resolutions.
Diffstat (limited to 'engines/sci/graphics/text32.h')
-rw-r--r--engines/sci/graphics/text32.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/graphics/text32.h b/engines/sci/graphics/text32.h
index 722af34339..bfd5ebc606 100644
--- a/engines/sci/graphics/text32.h
+++ b/engines/sci/graphics/text32.h
@@ -153,6 +153,11 @@ public:
GfxText32(SegManager *segMan, GfxCache *fonts);
/**
+ * Initialises static GfxText32 members.
+ */
+ static void init();
+
+ /**
* The memory handle of the currently active bitmap.
*/
reg_t _bitmap;