]> git.tdb.fi Git - r2c2.git/commit
Add a utility function to get path length from Track
authorMikko Rasa <tdb@tdb.fi>
Thu, 15 Aug 2013 15:06:37 +0000 (18:06 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 15 Aug 2013 15:06:37 +0000 (18:06 +0300)
commita5e1363ceac1ab552849640c9021fcda362c4416
treec6270a606304ebbfebf53ad1c0efcbe591132462
parent88971046dfd7ee1491aa4b5c96f612ccfa260aa2
Add a utility function to get path length from Track

This shortens the incantation to get the length of the active path.
source/libr2c2/blockallocator.cpp
source/libr2c2/track.cpp
source/libr2c2/track.h
source/libr2c2/train.cpp