GOB: _renderFlags & 0x40 means the we should draw borders around hotspots
Probably a debug-only flag
This commit is contained in:
parent
76723f4f0f
commit
ac7fbc4bf2
2 changed files with 2 additions and 1 deletions
|
@ -32,6 +32,7 @@ namespace Gob {
|
||||||
#define RENDERFLAG_COLLISIONS 0x0004
|
#define RENDERFLAG_COLLISIONS 0x0004
|
||||||
#define RENDERFLAG_CAPTUREPOP 0x0008
|
#define RENDERFLAG_CAPTUREPOP 0x0008
|
||||||
#define RENDERFLAG_USEDELTAS 0x0010
|
#define RENDERFLAG_USEDELTAS 0x0010
|
||||||
|
#define RENDERFLAG_BORDERHOTSPOTS 0x0040
|
||||||
#define RENDERFLAG_HASWINDOWS 0x0080
|
#define RENDERFLAG_HASWINDOWS 0x0080
|
||||||
#define RENDERFLAG_NOBLITINVALIDATED 0x0200
|
#define RENDERFLAG_NOBLITINVALIDATED 0x0200
|
||||||
#define RENDERFLAG_NOSUBTITLES 0x0400
|
#define RENDERFLAG_NOSUBTITLES 0x0400
|
||||||
|
|
|
@ -1269,7 +1269,7 @@ void Hotspots::evaluateNew(uint16 i, uint16 *ids, InputDesc *inputs,
|
||||||
type &= 0x7F;
|
type &= 0x7F;
|
||||||
|
|
||||||
// Draw a border around the hotspot
|
// 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];
|
Surface &surface = *_vm->_draw->_spritesArray[_vm->_draw->_destSurface];
|
||||||
|
|
||||||
_vm->_video->dirtyRectsAll();
|
_vm->_video->dirtyRectsAll();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue