]> git.tdb.fi Git - r2c2.git/commit
Unify destination and waypoints
authorMikko Rasa <tdb@tdb.fi>
Wed, 11 Feb 2015 12:43:15 +0000 (14:43 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 11 Feb 2015 12:43:15 +0000 (14:43 +0200)
commit100c7f252e145f095205c55a178ab57bb8da7e75
treebc1eb2d4340385b20ac52414061cc63b0ea8f55e
parent1c1f8e0c2ce41bc6f943b450a510cc6bac7ef2e4
Unify destination and waypoints

Destination is really just a special case of a waypoint, so there's no
point in keeping it separate.  It just adds duplicated logic, which was
about to get worse with some upcoming new features.
source/libr2c2/timetable.cpp
source/libr2c2/trainrouteplanner.cpp
source/libr2c2/trainrouteplanner.h
source/libr2c2/trainrouter.cpp
source/libr2c2/trainrouter.h