Mikko Rasa [Thu, 21 May 2009 16:57:02 +0000 (16:57 +0000)]
Attempt to estimate the exact positions of trains from measured speed data
Improve track vertex array creation
Use Point instead of separate coordinate members for Endpoint and TrackPart
Mikko Rasa [Tue, 19 May 2009 18:46:03 +0000 (18:46 +0000)]
Allow setting sensor ID for multiple tracks at once
Support for controlling turnouts with more than 2 routes
Snap flex-tracks last when loading a layout to get them correctly snapped
Slow down trains when there's only one free sensor block ahead
Put each turnout into its own block to avoid blocking adjacent tracks
Mikko Rasa [Tue, 17 Mar 2009 05:03:36 +0000 (05:03 +0000)]
Convert designer to use mspgbase instead of sdl
Add a missing file in libmarklin
Compatibility with VertexArrayBuilder change
Rename engineer.res to marklin.res for future use in designer too
Mikko Rasa [Sat, 31 May 2008 10:59:14 +0000 (10:59 +0000)]
Convert engineer to use mspgbase instead of SDL
Trains periodically try to continue if blocked by another train
Improve engineer GUI layout
Some bugfixes and tweaks
Mikko Rasa [Fri, 30 May 2008 09:54:26 +0000 (09:54 +0000)]
Major code refactoring:
- Remove container typedefs
- Separate TrackType from Track
- Use indices instead of pointers for endpoints
- Make certain functions return references and throw on error
Compatibility fixes with msp libraries
Mikko Rasa [Sun, 15 Jul 2007 10:59:20 +0000 (10:59 +0000)]
Add Track::get_endpoint_position to avoid duplicating calculations
Fix Block::traverse so it won't hang
Fix memory leaks reported by valgrind
Add signal_speed_changed for locomotive
Bugfixes for block reservation of trains
Color blocks that are occupied by a train
Remove some unnecessary stuff from Engineer
Add simulation mode for sensors
Finish train placing
Add speed display to TrainPanel