Quote from: prissi on April 05, 2026, 02:03:22 AMApprantly, starting a new game does not reset the name language.
if( steps_driven>0 || !can_go_alte_richtung() ) {
// start route from the beginning at index 0, place everything on start
uint32 train_length = move_to(0);
// move one train length to the start position ...
// in north/west direction, we leave the vehicle away to start as much back as possible
ribi_t::ribi neue_richtung = fahr[0]->get_direction();
if(neue_richtung==ribi_t::south || neue_richtung==ribi_t::east) {
// drive the convoi to the same position, but do not hop into next tile!
if( train_length%16==0 ) {
// any space we need => just add
train_length += fahr[vehicle_count-1]->get_desc()->get_length();
}
else {
// limit train to front of tile
train_length += min( (train_length%CARUNITS_PER_TILE)-1, fahr[vehicle_count-1]->get_desc()->get_length() );
}
}
else {
train_length += 1;
}
train_length = max(1,train_length);
/* ... */
}