Resource* ResStarlingAtlas::create(CreateResourceContext& context)
 {
     ResStarlingAtlas* ra = new ResStarlingAtlas();
     ra->setName(std::string("!atlas:") + *context.xml_name);
     ra->loadAtlas(context);
     setNode(ra, context.walker.getNode());
     return ra;
 }
예제 #2
0
	Resource *ResStarlingAtlas::create(CreateResourceContext &context)
	{
		ResStarlingAtlas *ra = new ResStarlingAtlas();
		ra->setName(string("!atlas:") + *context.xml_name);
		ra->loadAtlas(context);
		setNode(ra, context.node);
		context.meta = context.meta.next_sibling();
		return ra;
	}