Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Train tracks segment speed limits #1467

Merged
merged 18 commits into from
Mar 27, 2022

Commits on Mar 15, 2022

  1. Configuration menu
    Copy the full SHA
    e2c81e9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c322a5d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4bf04ee View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2022

  1. SetSegmentSpeedLimit can take finalDir:null

    When `null`, the speed will be applied to all lanes
    _except_ those with `None` direction.
    originalfoo committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    4c4ad42 View commit details
    Browse the repository at this point in the history
  2. Overloaded method now uses finalDir of null

    Removes loop of directions.
    originalfoo committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    3868782 View commit details
    Browse the repository at this point in the history
  3. Improve naming of bool

    originalfoo committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    86b5cf5 View commit details
    Browse the repository at this point in the history
  4. Update OverlaySegmentSpeedlimitHandle.cs

    This is simplified to take advantage of the updates to
    `SpeedLimitManager.Instance.SetSegmentSpeedLimit()`
    in which lane direction specification is no longer mandatory.
    
    It wipes out several loops, particularly over segment lanes.
    originalfoo committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    2d6ffb6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e65f7b6 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2022

  1. Configuration menu
    Copy the full SHA
    bf5b2af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a5b6245 View commit details
    Browse the repository at this point in the history
  3. Turn off SA1508

    Completely useless warning for:
    "A closing brace within a C# element, statement, or expression is preceded by a blank line."
    originalfoo committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    624b776 View commit details
    Browse the repository at this point in the history
  4. AnyApplicableLane segment extension

    Useful for checking if a segment has at least one matching lane
    for `LANE_TYPES` and `VEHICLE_TYPES`.
    originalfoo committed Mar 23, 2022
    Configuration menu
    Copy the full SHA
    7234d43 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2022

  1. Remove superfluous finalDir param

    It's a relic from older incarnation of speed limit tool.
    originalfoo committed Mar 24, 2022
    Configuration menu
    Copy the full SHA
    8d37fc0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a4be76d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0470b50 View commit details
    Browse the repository at this point in the history
  4. Assert flag params aren't None

    `AnyApplicableLane()` will never return `true` if
    either of the relevant params are `None`.
    originalfoo committed Mar 24, 2022
    Configuration menu
    Copy the full SHA
    bbbe358 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2022

  1. Configuration menu
    Copy the full SHA
    1e5447f View commit details
    Browse the repository at this point in the history
  2. Polishing the code

    krzychu124 committed Mar 27, 2022
    Configuration menu
    Copy the full SHA
    648a65a View commit details
    Browse the repository at this point in the history