]> git.tdb.fi Git - r2c2.git/commitdiff
Create a more generic version of Train::get_reserved_distance
authorMikko Rasa <tdb@tdb.fi>
Mon, 4 Oct 2010 19:59:30 +0000 (19:59 +0000)
committerMikko Rasa <tdb@tdb.fi>
Mon, 4 Oct 2010 19:59:30 +0000 (19:59 +0000)
Use it to determine if a trailing non-sensor block can be freed
Don't release blocks if there's not enough distance for stopping
Reserve enough blocks to maintain speed


No differences found