Changeset 8457 for code/trunk/src/modules/portals
- Timestamp:
- May 12, 2011, 1:51:18 PM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 1 edited
- 8 copied
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/portals (added) merged: 8177,8198-8200,8243,8278,8290,8454-8455
- Property svn:mergeinfo changed
-
code/trunk/src/modules/portals/PortalEndPoint.cc
r8455 r8457 33 33 XMLPortParam(PortalEndPoint, "design", setTemplate, getTemplate, xmlelement, mode); 34 34 XMLPortParamExtern(PortalEndPoint, DistanceMultiTrigger, this->trigger_, "distance", setDistance, getDistance, xmlelement, mode); 35 XMLPortParamLoadOnly(PortalEndPoint, "target", setTarget s, xmlelement, mode).defaultValues("Pawn");35 XMLPortParamLoadOnly(PortalEndPoint, "target", setTarget, xmlelement, mode).defaultValues("Pawn"); 36 36 37 37 // Add the DistanceMultiTrigger as event source. -
code/trunk/src/modules/portals/PortalEndPoint.h
r8455 r8457 21 21 virtual ~PortalEndPoint(); 22 22 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 23 inline void setTarget s(const std::string & targets) //!< add types which are allowed to activate the PortalEndPoint23 inline void setTarget(const std::string & target) //!< add types which are allowed to activate the PortalEndPoint 24 24 { 25 this->trigger_->addTarget s(targets);25 this->trigger_->addTarget(target); 26 26 } 27 27
Note: See TracChangeset
for help on using the changeset viewer.