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; }
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; }