aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/global.h')
-rw-r--r--engines/gob/global.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/gob/global.h b/engines/gob/global.h
index 242c05578f..4fd5455201 100644
--- a/engines/gob/global.h
+++ b/engines/gob/global.h
@@ -163,6 +163,13 @@ public:
int16 _inter_mouseX;
int16 _inter_mouseY;
+ // While using the notepad or changing the font, the original executable
+ // temporarily dumps Draw::_backSurface to a file. Since that's not really
+ // a nice thing to do, we work around it.
+ Video::SurfaceDesc *_savedBack;
+ Video::Color _savedPal[256];
+ int32 _savedBackSize;
+
inline void clearVars(uint32 count)
{
uint32 i;