bool CControl_Manager::build_path_line(CControl_Com *com, const Fvector &target, u32 node, u32 vel_mask) { CControl_Com *path = m_control_elems[ControlCom::eControlPath]; VERIFY (com == path->ced()->capturer()); return (path_builder().build_special(target, node, vel_mask)); }
static t_list *mk_link(char *arg, char *d_name) { char *path; t_list *lst; struct stat buff_stat; if (!(path = path_builder(arg, d_name))) return (NULL); if (lstat(path, &buff_stat) == -1) { puterror(path); return (NULL); } if (!(lst = get_link(d_name, &buff_stat, path))) return (NULL); free(path); return (lst); }