[Scummvm-cvs-logs] SF.net SVN: scummvm:[35012] scummvm/trunk/engines/parallaction

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Wed Nov 12 08:08:43 CET 2008


Revision: 35012
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35012&view=rev
Author:   peres001
Date:     2008-11-12 07:08:43 +0000 (Wed, 12 Nov 2008)

Log Message:
-----------
Fixed default zone flags, so that labels in BRA are only shown on zones which have one.

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/objects.cpp
    scummvm/trunk/engines/parallaction/parser_ns.cpp

Modified: scummvm/trunk/engines/parallaction/objects.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/objects.cpp	2008-11-11 23:35:18 UTC (rev 35011)
+++ scummvm/trunk/engines/parallaction/objects.cpp	2008-11-12 07:08:43 UTC (rev 35012)
@@ -158,8 +158,8 @@
 	_left = _top = _right = _bottom = 0;
 
 	_type = 0;
-	_flags = 0;
 
+	_flags = kFlagsNoName;
 	_label = 0;
 
 	// BRA specific

Modified: scummvm/trunk/engines/parallaction/parser_ns.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/parser_ns.cpp	2008-11-11 23:35:18 UTC (rev 35011)
+++ scummvm/trunk/engines/parallaction/parser_ns.cpp	2008-11-12 07:08:43 UTC (rev 35012)
@@ -1350,6 +1350,7 @@
 
 //			printf("label: %s", _tokens[1]);
 	ctxt.z->_label = _vm->_gfx->renderFloatingLabel(_vm->_labelFont, _tokens[1]);
+	ctxt.z->_flags &= ~kFlagsNoName;
 }
 
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list