Resolve "New type for doors"
Closes #307 (closed)
Merge request reports
Activity
Filter activity
741 742 for (TiXmlElement* xVertex = xPolyVertices->FirstChildElement( 743 "vertex"); 744 xVertex && xVertex!=xPolyVertices->LastChild("vertex"); 745 xVertex = xVertex->NextSiblingElement("vertex")) { 746 747 double x1 = xmltof(xVertex->Attribute("px")); 748 double y1 = xmltof(xVertex->Attribute("py")); 749 double x2 = xmltof(xVertex->NextSiblingElement("vertex")->Attribute("px")); 750 double y2 = xmltof(xVertex->NextSiblingElement("vertex")->Attribute("py")); 751 wa->AddWall(Wall(Point(x1, y1), Point(x2, y2))); 752 } 753 } 754 755 if (!waitingArea->ConvertLineToPoly()){ 756 std::cout << "wa convertLineToPoly!"; 718 waitingArea->SetSubRoomID(subroom_id); 719 720 std::map<int, double> nextGoals; 721 722 723 //looking for next_wa 724 for (TiXmlElement* nextWa = e->FirstChildElement("next_wa"); nextWa; 725 nextWa = nextWa->NextSiblingElement("next_wa")) { 726 int nextWaId = xmltoi(nextWa->Attribute("id")); 727 double nextWaP = xmltof(nextWa->Attribute("p")); 728 729 nextGoals.insert(std::pair<int, double>(nextWaId, nextWaP)); 730 } 731 732 if (!waitingArea->setNextGoals(nextGoals)){ 733 std::cout << "wa setNextGoals!"; - A deleted user
added KapaKrit label
mentioned in commit 499d57c1