From ac7fbc4bf2805ffc93cf1714eb4bd3508a57ec7c Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Fri, 22 Jun 2012 00:05:20 +0200 Subject: GOB: _renderFlags & 0x40 means the we should draw borders around hotspots Probably a debug-only flag --- engines/gob/draw.h | 1 + engines/gob/hotspots.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'engines') 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(); -- cgit v1.2.3