Page 1 of 1
Config setting "reserve_path" ?
Posted: 29 Aug 2009 11:40
by kenny_23
Hi all,
I could not find anny documentaiton for the config setting "reserve_path = true/false".
So I wonder if someone please could explain what it does.
I am using 0.7.2 rc2 and the default value is "false", wich makes me wonder what I´m eventually missing.
Manny thanks in advance.
Please excuse my english...

Re: Config setting "reserve_path" ?
Posted: 29 Aug 2009 11:45
by Alberth
'config settings' are called 'advanced settings' now.
As for the 'reserve_path' setting, it toggles display of reserved paths of trains.
When a train enters a PBS block, it has reserved a path through the whole block. The setting makes such paths visible by darkening the tracks.
Very useful for understanding why a train stops for a signal.
Re: Config setting "reserve_path" ?
Posted: 29 Aug 2009 12:35
by kenny_23
Thank you for the fast reply, but the setting I ask about is only reachable if you open the config file as .txt.
It is under the [pf] section, and reads excactly:
"reserve_path = false" (default value)
The setting you kindly explained is reachable by the advanced settings menue
under "displayoptions", but it reads:
"show_track_resavation = true/false"
in the config file under the [gui] section.
Anyhow thanks again for the fast reply.
Hope someone knows the answer
kenny_23
Re: Config setting "reserve_path" ?
Posted: 29 Aug 2009 12:52
by Alberth
Ah, I wasn't aware that it was a different setting.
A quick grep in the source gave me:
Code: Select all
settings_type.h: bool show_track_reservation; ///< highlight reserved tracks.
settings_type.h: bool reserve_paths; ///< always reserve paths regardless of signal type.
I hope I answered your question now.
Also, most likely all other settings not documented are listed in that settings_type.h file too

Re: Config setting "reserve_path" ?
Posted: 29 Aug 2009 13:12
by kenny_23
Tank you again for the fast reply.
Not really sure what that will do to the behavior of block signals, so maby better let it on the default "false".
Greatings,
kenny_23