]> git.tdb.fi Git - r2c2.git/commit
Major architecture rework
authorMikko Rasa <tdb@tdb.fi>
Mon, 8 Mar 2010 21:53:29 +0000 (21:53 +0000)
committerMikko Rasa <tdb@tdb.fi>
Mon, 8 Mar 2010 21:53:29 +0000 (21:53 +0000)
commit651698847d5293cfb15b6fb23a394701388c0151
tree08e828758a7161e39dacfeab875539a41d41afff
parentdcfa1e9503b7e97b61396d7458f0b2e5896779cd
Major architecture rework
Create a Driver abstraction to hide the code that talks to the physical equipment
Remove TrafficManager and put Blocks and Trains in Layout
Dynamically update Blocks as the layout changes
Remove Locomotive, Turnout and Sensor classes
Tracks now have an active_path property
Trains now allows setting functions
Move option parsing in Engineer to a separate class
Many minor changes
51 files changed:
source/3d/layout.cpp
source/3d/layout.h
source/designer/designer.cpp
source/designer/manipulator.cpp
source/designer/toolbar.cpp
source/engineer/engineer.cpp
source/engineer/engineer.h
source/engineer/mainpanel.cpp
source/engineer/options.cpp [new file with mode: 0644]
source/engineer/options.h [new file with mode: 0644]
source/engineer/trainpanel.cpp
source/engineer/trainpanel.h
source/engineer/trainproperties.cpp
source/libmarklin/block.cpp
source/libmarklin/block.h
source/libmarklin/command.cpp [deleted file]
source/libmarklin/command.h [deleted file]
source/libmarklin/constants.cpp [deleted file]
source/libmarklin/constants.h [deleted file]
source/libmarklin/control.cpp [deleted file]
source/libmarklin/control.h [deleted file]
source/libmarklin/driver.cpp [new file with mode: 0644]
source/libmarklin/driver.h [new file with mode: 0644]
source/libmarklin/dummy.cpp [new file with mode: 0644]
source/libmarklin/dummy.h [new file with mode: 0644]
source/libmarklin/except.h [deleted file]
source/libmarklin/intellibox.cpp [new file with mode: 0644]
source/libmarklin/intellibox.h [new file with mode: 0644]
source/libmarklin/layout.cpp
source/libmarklin/layout.h
source/libmarklin/locomotive.cpp [deleted file]
source/libmarklin/locomotive.h [deleted file]
source/libmarklin/reply.cpp [deleted file]
source/libmarklin/reply.h [deleted file]
source/libmarklin/route.cpp
source/libmarklin/route.h
source/libmarklin/sensor.cpp [deleted file]
source/libmarklin/sensor.h [deleted file]
source/libmarklin/track.cpp
source/libmarklin/track.h
source/libmarklin/tracktype.cpp
source/libmarklin/tracktype.h
source/libmarklin/trafficmanager.cpp [deleted file]
source/libmarklin/trafficmanager.h [deleted file]
source/libmarklin/train.cpp
source/libmarklin/train.h
source/libmarklin/turnout.cpp [deleted file]
source/libmarklin/turnout.h [deleted file]
source/network/server.cpp
source/network/server.h
tracks.dat