//------------------------------------------------------------------------------ //! bool DFMappingNode::dumpCustom( TextStream& os, StreamIndent& indent ) const { os << indent << "scale = " << _scale << "," << nl; os << indent << "offset = " << VMFmt( _offset ) << "," << nl; return os.ok(); }
//------------------------------------------------------------------------------ //! bool DFNoiseImageNode::dumpCustom( TextStream& os, StreamIndent& indent ) const { os << indent << "type = " << _type << "," << nl; switch( _type ) { case TYPE_CELL: case TYPE_PERLIN: break; case TYPE_PERLIN_FILTERED: os << indent << "perfilwidth = " << _perFil._width << "," << nl; break; case TYPE_VORONOI: os << indent << "jitter = " << _vor._jitter << "," << nl; break; case TYPE_FBM: os << indent << "fbmwidth = " << _fbm._width << "," << nl; os << indent << "octaves = " << _fbm._octaves << "," << nl; os << indent << "lacunarity = " << _fbm._lacunarity << "," << nl; os << indent << "gain = " << _fbm._gain << "," << nl; break; default: break; } return os.ok(); }
//------------------------------------------------------------------------------ //! bool DFDrawCircleNode::dumpCustom( TextStream& os, StreamIndent& indent ) const { os << indent << "color=" << VMFmt(_color) << "," << nl; os << indent << "center=" << VMFmt(_center) << "," << nl; os << indent << "radius=" << VMFmt(_radius) << "," << nl; return os.ok(); }
//------------------------------------------------------------------------------ //! bool DFDrawRectNode::dumpCustom( TextStream& os, StreamIndent& indent ) const { os << indent << "color=" << VMFmt(_color) << "," << nl; os << indent << "center=" << VMFmt(_center) << "," << nl; os << indent << "size=" << VMFmt(_size) << "," << nl; return os.ok(); }
//------------------------------------------------------------------------------ //! bool DFPolygonNode::dumpCustom( TextStream& os, StreamIndent& indent ) const { os << indent << "{" << nl; ++indent; for( auto cur = _polygon->begin(); cur != _polygon->end(); ++cur ) { os << indent << VMFmt( *cur ) << "," << nl; } --indent; os << indent << "}" << nl; return os.ok(); }
//------------------------------------------------------------------------------ //! bool DFMaterialIDNode::dumpCustom( TextStream& os, StreamIndent& indent ) const { os << indent << "id = " << _matID << "," << nl; return os.ok(); }
//------------------------------------------------------------------------------ //! bool DFFillColorNode::dumpCustom( TextStream& os, StreamIndent& indent ) const { os << indent << "color=" << VMFmt(_color) << "," << nl; return os.ok(); }
//------------------------------------------------------------------------------ //! bool DFImportImageNode::dumpCustom( TextStream& os, StreamIndent& indent ) const { os << indent << "\"" << _imageID << "\"," << nl; return os.ok(); }