aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorSven Hesse2012-06-22 00:05:20 +0200
committerSven Hesse2012-06-22 18:10:53 +0200
commitac7fbc4bf2805ffc93cf1714eb4bd3508a57ec7c (patch)
treed82dc93ed8836fa0f818d3b16aa11fe5f90cda0a /engines/gob
parent76723f4f0fe89650eb64f6fc4e6475d3242d642d (diff)
downloadscummvm-rg350-ac7fbc4bf2805ffc93cf1714eb4bd3508a57ec7c.tar.gz
scummvm-rg350-ac7fbc4bf2805ffc93cf1714eb4bd3508a57ec7c.tar.bz2
scummvm-rg350-ac7fbc4bf2805ffc93cf1714eb4bd3508a57ec7c.zip
GOB: _renderFlags & 0x40 means the we should draw borders around hotspots
Probably a debug-only flag
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/draw.h1
-rw-r--r--engines/gob/hotspots.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/gob/draw.h b/engines/gob/draw.h
index 0c7f768341..e7af1f9af3 100644
--- a/engines/gob/draw.h
+++ b/engines/gob/draw.h
@@ -32,6 +32,7 @@ namespace Gob {
#define RENDERFLAG_COLLISIONS 0x0004
#define RENDERFLAG_CAPTUREPOP 0x0008
#define RENDERFLAG_USEDELTAS 0x0010
+#define RENDERFLAG_BORDERHOTSPOTS 0x0040
#define RENDERFLAG_HASWINDOWS 0x0080
#define RENDERFLAG_NOBLITINVALIDATED 0x0200
#define RENDERFLAG_NOSUBTITLES 0x0400
diff --git a/engines/gob/hotspots.cpp b/engines/gob/hotspots.cpp
index 140cf2901b..ecab9bb906 100644
--- a/engines/gob/hotspots.cpp
+++ b/engines/gob/hotspots.cpp
@@ -1269,7 +1269,7 @@ void Hotspots::evaluateNew(uint16 i, uint16 *ids, InputDesc *inputs,
type &= 0x7F;
// Draw a border around the hotspot
- if (_vm->_draw->_renderFlags & 64) {
+ if (_vm->_draw->_renderFlags & RENDERFLAG_BORDERHOTSPOTS) {
Surface &surface = *_vm->_draw->_spritesArray[_vm->_draw->_destSurface];
_vm->_video->dirtyRectsAll();