[wpdev-commits] wolfpack/python pyregion.cpp,1.16,1.17
Brought to you by:
rip,
thiagocorrea
From: Richard M. <dr...@us...> - 2004-07-10 23:03:39
|
Update of /cvsroot/wpdev/wolfpack/python In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18357/python Modified Files: pyregion.cpp Log Message: Updates to territories: <noentermessage /> and <noguardmessage /> added to flags. Fixed guard messages. <guardowner>the town</guardowner> will default to a cliloc message. Index: pyregion.cpp =================================================================== RCS file: /cvsroot/wpdev/wolfpack/python/pyregion.cpp,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** pyregion.cpp 29 Jun 2004 22:22:59 -0000 1.16 --- pyregion.cpp 10 Jul 2004 23:03:30 -0000 1.17 *************** *** 73,77 **** { /* ! \rproperty region.parent This property represents the parent region of this region. If there is no parent region this property contains None, otherwise another region object for the parent region. */ --- 73,77 ---- { /* ! \rproperty region.parent This property represents the parent region of this region. If there is no parent region this property contains None, otherwise another region object for the parent region. */ *************** *** 178,181 **** --- 178,191 ---- else if ( !strcmp( name, "nomusic" ) ) return PyInt_FromLong( self->pRegion->isNoMusic() ? 1 : 0 ); + /* + \rproperty region.noguardmessage This boolean flag indicates that no guard message should show when entering this region.. + */ + else if ( !strcmp( name, "noguardmessage" ) ) + return PyInt_FromLong( self->pRegion->isNoGuardMessage() ? 1 : 0 ); + /* + \rproperty region.noentermessage This boolean flag indicates that no entrance message should show when entering this region. + */ + else if ( !strcmp( name, "noentermessage" ) ) + return PyInt_FromLong( self->pRegion->isNoEnterMessage() ? 1 : 0 ); return Py_FindMethod( wpRegionMethods, ( PyObject * ) self, name ); |