TPKGS::TPKGS() : _existingPackages() , _arePackagesLoaded(false) , _mainPackageDir("/packages") , _installPathMap() , _keepDirs() , _ignoreInSource() , _ignoreInSystem() { _installPathMap.insert(PathPair("/", "")); }
std::list<PathPair> FileHandler::GenerateNewNames(std::list<std::string> source) { auto retValue = std::list<PathPair>(); for (auto s : source) { std::string filename = s; std::transform(filename.begin(), filename.end(),filename.begin(), TransformChar); retValue.push_back(PathPair(s, filename)); } return std::move(retValue); }
void DataManager::addGridPath(int x, int y, ObjectPtr object, PathVect* path) { GET_GRID_ITEM(grid,x,y).paths.push_back(PathPair(object, path)); }