]> git.tdb.fi Git - r2c2.git/commit
New approach for displaying track state
authorMikko Rasa <tdb@tdb.fi>
Sat, 20 Jul 2013 16:03:17 +0000 (19:03 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 20 Jul 2013 16:03:17 +0000 (19:03 +0300)
commit5116fff210cdc3f0fbdae13046cc60450aad5e8f
treeaefae4907290d640c2453e7d4dbcc4879176661d
parent7fac28fcb5afb17eff7c459474e4cf884a02719c
New approach for displaying track state

Paths can now be displayed over either rail in addition to the center of
the track.  Track circuit and allocation state are displayed separately,
allowing more information to be shown.

Instead of pre-creating a path for each track, only create them as needed.
Local controller objects are much more manageable than bundling everything
into one giant class.
22 files changed:
source/3d/allocation.cpp [new file with mode: 0644]
source/3d/allocation.h [new file with mode: 0644]
source/3d/layout.cpp
source/3d/layout.h
source/3d/path.cpp
source/3d/path.h
source/3d/track.cpp
source/3d/track.h
source/3d/trackcircuit.cpp [new file with mode: 0644]
source/3d/trackcircuit.h [new file with mode: 0644]
source/3d/tracktype.cpp
source/3d/tracktype.h
source/3d/utility.cpp [new file with mode: 0644]
source/3d/utility.h [new file with mode: 0644]
source/designer/designer.cpp
source/designer/designer.h
source/engineer/engineer.cpp
source/engineer/engineer.h
source/libr2c2/catalogue.cpp
source/libr2c2/catalogue.h
source/libr2c2/trackchain.cpp
source/libr2c2/trackchain.h