-
Notifications
You must be signed in to change notification settings - Fork 98
Brake controller scripts refactoring and improvements for mouse control #738
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
Brake controller scripts refactoring and improvements for mouse control #738
Conversation
| public Action<float> SetDynamicBrakeIntervention; | ||
| protected void SetDynamicBrakeIntervention(float value) | ||
| { | ||
| // TODO: Set dynamic brake intervention instead of controller position |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed this TODO some days ago, so if you had the idea of changing this you don't have to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, if you have a different code available for this, I can integrate it in this PR too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes were introduced together with some changes to dynamic brake blending (see #732). Your PR seems harmless, so I think it's better to merge this first, and then I'll rebase #732.
This also conflicts with #713 (it adds a hook to command train brakes from cruise control), which is almost ready except for documentation.
c541d55 to
1934409
Compare
|
Thanks, waiting for blueprint validation. |
|
Blueprints have been approved... but I have to rebase. You will have to approve the changes once more. |
1934409 to
ffe4bba
Compare
…rn as the C# signal scripts (compatible with current scripts)
…h scripted brake controller
ffe4bba to
88cadc9
Compare
cesarBLG
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, I've marked #732 as "Not for unstable" so this PR can stay there for a day or two just in case.
- Pull request #652 at 918fdb1: Add button functions to Raildriver - Pull request #706 at 570ab21: Extended door functionality - Pull request #719 at 13a1638: Upgraded to MonoGame 3.8.0 (+ small update for other libraries) - Pull request #722 at fb9079e: Fix Windows Forms deprecations in ActivityEditor - Pull request #738 at 88cadc9: Brake controller scripts refactoring and improvements for mouse control - Pull request #744 at 3c2dc07: Fixed and improved cabview control conditions related to power supply state - Pull request #746 at 4609acb: Website release 1.5.1 - Pull request #748 at 4f0e878: latitude/longitude fix for bug 1393111 - Pull request #749 at db5764c: OpenRailway Map - Pull request #753 at ab8fe32: Extends CabControls for user input - Pull request #754 at 70a1325: Container weights: https://blueprints.launchpad.net/or/+spec/container-weights - Pull request #755 at f79c1e2: Bug fix for https://bugs.launchpad.net/or/+bug/1999330 Crash with a throttle-air combined control - Pull request #756 at c3f5c55: Bug fix for https://bugs.launchpad.net/or/+bug/1999253 Night .dds textures not loaded
Blueprints:
https://blueprints.launchpad.net/or/+spec/scripts-refactoring
https://blueprints.launchpad.net/or/+spec/brake-controller-scripts-improvements