aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2014-04-20 02:47:02 +0200
committersapier <Sapier at GMX dot net>2014-04-20 02:47:02 +0200
commitfec1fa51e06185c81a4a69a0a88c1a6ccc68bce7 (patch)
treecd0e8262cd2f002da270c9854cdf5fb227388712 /cmake/Modules
parenta0dd2d89f3a71a9650290a8607d773cc439c7d75 (diff)
Fix macro ARRAYSIZE name collision on windows
Diffstat (limited to 'cmake/Modules')
0 files changed, 0 insertions, 0 deletions
commands: S<[0-9]+ speed or 'M'> Set target speed of train to <speed>. Accelerates if slower, rolls if faster. 'M' means maximum speed. Execution of command continues immediately. B<[0-9]+ speed> Brake until speed is reached. If faster, apply brakes, if slower, do nothing. Execution of command continues immediately. Examples: SM : accelerate to maximum speed S0 : roll to stand B0 : brake to stand S0B3 or B3S0: brake to 3, then roll to stand. W Wait until S and/or B commands reached the desired speed before continuing execution. D<[0-9]+ time> Delay: Wait for time seconds before continuing execution. R Reverse: change movement direction of train. ONLY WORKS WHEN TRAIN STANDS, else no-op. Use B0WR to definitely change direction. Examples: B0 W R D10 SM Subway train stopping in dead end station and returning in opposite direction OL Open left doors OR Open right doors OC Close Doors All door commands are relative to the arrow direction, so if a train drives to opposite arrow direction, L will open its right doors from driver perspective. Execution continues immediately, there is no way to wait for all doors to be opened/closed. Example: B0 W OL D10 OC D1 SM Subway train: stop in station and open doors, depart after 10 seconds. # conditional statements: I<condition><code>; Execute code only if condition applies I<condition><code1>E<code2>; Execute code1 only if condition applies, else execute code2 Conditions: + / -