movei->pname);
target= 0;
}
- target= movposcomb_update_feature(target,mfi,pos_l);
+ target= movposcomb_feature_update(mfi,target,pos_l);
return cmd_route_movfeat(ps,ci, move,movei,target);
}
feati->pname, posn, m->pname);
}
-MovPosComb movposcomb_update_feature(MovPosComb startpoint,
- const MovFeatInfo *mfi,
- int featpos) {
+MovPosComb movposcomb_feature_update(const MovFeatInfo *mfi,
+ MovPosComb startpoint, int featpos) {
MovPosComb above_weight= mfi->weight * mfi->posns;
MovPosComb above= startpoint / above_weight;
MovPosComb below= startpoint % mfi->weight;
assert(featix >= 0 && featix < indep->move->i->n_movfeats);
ouposn_feat(indep->move, mo->i, mo->posn, m);
indep->actualpos=
- movposcomb_update_feature(indep->actualpos, mo->i, mo->posn);
+ movposcomb_feature_update(mo->i, indep->actualpos, mo->posn);
indep->actualunk &= ~unkfeatbit(featix);
ouposn_moving(indep);
}
const char *movpos_pname(const Segment *move, MovPosComb poscomb);
-MovPosComb movposcomb_update_feature(MovPosComb startpoint,
- const MovFeatInfo *mfi,
+MovPosComb movposcomb_feature_update(const MovFeatInfo *mfi,
+ MovPosComb startpoint,
int featpos);
/* Returns movposcomb representing a changed combination of positions;
* pure function. */