Skip to content

Conversation

mbm-OR
Copy link
Contributor

@mbm-OR mbm-OR commented Jun 21, 2021

@mbm-OR mbm-OR added the enhancement New feature or request label Jun 21, 2021
@mbm-OR mbm-OR self-assigned this Jun 21, 2021
twpol pushed a commit that referenced this pull request Jun 21, 2021
- Pull request #79 at 7d9f14b: Update version calculation for new unstable versions
- Pull request #408 at e77a86a: Updating RailDriver SDK library to prepare for 64bit mode
- Pull request #412 at 26e29ed: New TCS function to get speed post information (including warning speed posts)
- Pull request #417 at eca996f: Animated Clocks recognized by ClockHands without extern Files
- Pull request #420 at 39843b1: Delete Russian timetable.rst
- Pull request #421 at 712bc53: Added a reset command in order to reset a TCS emergency braking triggered by the simulator
- Pull request #422 at f4831e5: Change alignment of couplers as they travel through curve.
- Pull request #427 at aabd1f3: Correct an Issue with Motive Force being incorrectly reduced by wagon braking force.
- Pull request #430 at 699ec48: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
twpol pushed a commit that referenced this pull request Jun 22, 2021
- Pull request #79 at 7d9f14b: Update version calculation for new unstable versions
- Pull request #399 at 19facb6: Power supply package
- Pull request #408 at e77a86a: Updating RailDriver SDK library to prepare for 64bit mode
- Pull request #412 at 26e29ed: New TCS function to get speed post information (including warning speed posts)
- Pull request #417 at eca996f: Animated Clocks recognized by ClockHands without extern Files
- Pull request #420 at 39843b1: Delete Russian timetable.rst
- Pull request #422 at f4831e5: Change alignment of couplers as they travel through curve.
- Pull request #427 at aabd1f3: Correct an Issue with Motive Force being incorrectly reduced by wagon braking force.
- Pull request #430 at 699ec48: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
twpol pushed a commit that referenced this pull request Jun 22, 2021
- Pull request #79 at 7d9f14b: Update version calculation for new unstable versions
- Pull request #399 at c344ade: Power supply package
- Pull request #408 at e77a86a: Updating RailDriver SDK library to prepare for 64bit mode
- Pull request #412 at 26e29ed: New TCS function to get speed post information (including warning speed posts)
- Pull request #417 at eca996f: Animated Clocks recognized by ClockHands without extern Files
- Pull request #420 at 39843b1: Delete Russian timetable.rst
- Pull request #422 at f4831e5: Change alignment of couplers as they travel through curve.
- Pull request #427 at aabd1f3: Correct an Issue with Motive Force being incorrectly reduced by wagon braking force.
- Pull request #430 at 699ec48: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
twpol pushed a commit that referenced this pull request Jun 22, 2021
- Pull request #79 at 7d9f14b: Update version calculation for new unstable versions
- Pull request #399 at c344ade: Power supply package
- Pull request #408 at e77a86a: Updating RailDriver SDK library to prepare for 64bit mode
- Pull request #412 at 26e29ed: New TCS function to get speed post information (including warning speed posts)
- Pull request #417 at eca996f: Animated Clocks recognized by ClockHands without extern Files
- Pull request #420 at 39843b1: Delete Russian timetable.rst
- Pull request #422 at f4831e5: Change alignment of couplers as they travel through curve.
- Pull request #427 at aed48ca: Correct an Issue with Motive Force being incorrectly reduced by wagon braking force.
- Pull request #430 at 699ec48: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
twpol pushed a commit that referenced this pull request Jun 22, 2021
- Pull request #79 at 7d9f14b: Update version calculation for new unstable versions
- Pull request #399 at 224d3ca: Power supply package
- Pull request #408 at e77a86a: Updating RailDriver SDK library to prepare for 64bit mode
- Pull request #412 at 26e29ed: New TCS function to get speed post information (including warning speed posts)
- Pull request #417 at eca996f: Animated Clocks recognized by ClockHands without extern Files
- Pull request #420 at 39843b1: Delete Russian timetable.rst
- Pull request #422 at f4831e5: Change alignment of couplers as they travel through curve.
- Pull request #427 at aed48ca: Correct an Issue with Motive Force being incorrectly reduced by wagon braking force.
- Pull request #430 at 699ec48: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
twpol pushed a commit that referenced this pull request Jun 23, 2021
- Pull request #79 at 7d9f14b: Update version calculation for new unstable versions
- Pull request #399 at 224d3ca: Power supply package
- Pull request #408 at e77a86a: Updating RailDriver SDK library to prepare for 64bit mode
- Pull request #412 at 26e29ed: New TCS function to get speed post information (including warning speed posts)
- Pull request #417 at eca996f: Animated Clocks recognized by ClockHands without extern Files
- Pull request #420 at 39843b1: Delete Russian timetable.rst
- Pull request #422 at f4831e5: Change alignment of couplers as they travel through curve.
- Pull request #430 at 699ec48: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
Comment on lines 88 to 89
public TrainDrivingWindow TrainDrivingWindow { get; private set; } // F5 train driving window
public MultiPlayerWindow MultiPlayerWindow { get; private set; } // MultiPlayer data windowed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason the multiplayer window has to be separate, but tied to the new train driving window? Why not bake its information into the existing train list window?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new train driving info window inherits the same principle as the HUD window. Like the original, the multiplayer information was displayed within the HUD window.
Now the proposal is to show the multiplayer information in a dedicated window.
Maybe we could create a web-multiplayer window, if possible.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, the HUD is a debugging tool not meant for use by ordinary players, so it makes sense to communicate the state of the multiplayer subsystem there.

But dedicating an entire window for the multiplayer state? One that can't be closed, shows just two lines, and contains information that seemingly would fit very well within the existing Train List (Alt+F9) window?

image

I'm just having trouble seeing the justification here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, the HUD is a debugging tool not meant for use by ordinary players, so it makes sense to communicate the state of the multiplayer subsystem there.

But dedicating an entire window for the multiplayer state? One that can't be closed, shows just two lines, and contains information that seemingly would fit very well within the existing Train List (Alt+F9) window?

image

I'm just having trouble seeing the justification here.

The Multiplayer info is used also by ordinary players, both by the dispatcher and by the clients (I have experienced that in a good amount of multiplayer sessions), so IMHO it makes sense to have that info together the Train Driving Info window. The info might however be included in the Train Driving Info window, instead of being in a separate, small window, although also the actual layout, with a separate add-on window, provides the same functionality from the point of view of the user.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a multiplayer session, Dispatcher-player side:
Multiplayerinfo-Dispatcher
Similar info is replicated Client-player side.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be the first window that is divided into multiple, interlinked windows, so the impetus is on you to explain why this would be desirable for players.

Copy link
Contributor Author

@mbm-OR mbm-OR Jul 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initially, the MP information was located on the lower part of the Train Driving Info (TDI) window.
But the information of each new player who joined the MP session increased the width and height of the TDI window.
Taking into account that the purpose of the abbreviated mode is to display a window as narrow as possible, keeping the MP session information in the same window, makes it infeasible to obtain a narrow TDI window.
This was the reason to implement a dedicated Multiplayer window.

Commands[(int)UserCommand.DisplayCompassWindow] = new UserCommandKeyInput(0x0B);
Commands[(int)UserCommand.DisplayHelpWindow] = new UserCommandModifiableKeyInput(0x3B, Commands[(int)UserCommand.DisplayNextWindowTab]);
Commands[(int)UserCommand.DisplayHUD] = new UserCommandModifiableKeyInput(0x3F, Commands[(int)UserCommand.DisplayNextWindowTab]);
Commands[(int)UserCommand.DisplayTrainDrivingWindow] = new UserCommandModifiableKeyInput(0x3F, KeyModifiers.Control);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not keen on Ctrl+F5 as the shortcut. For our existing bindings, the general rule of thumb is that Ctrl represents some kind of mode toggle (Ctrl+F4 track monitor mode, Ctrl+F7 label display mode) while Alt opens extra windows (Alt+F9 train list window). How about Alt+F8 for the default key?

Copy link
Contributor

@Csantucci Csantucci Jun 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

F5 is used for the main HUD, so it seems mnemonically useful to use Ctrl-F5 for the Train Driving Info, that displays more or less the same information. Moreover Ctrl-F5 is being used in ORNYMG since long time...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Train Driving Info is a small HUD, with just the information required for the driver.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, so I get the F5 mnemonic now. But it's unfortunate that this would be the only window that toggles with the Ctrl mod key. So far, for window popups, we've always used Alt:

image

On a second look, I would actually suggest assigning the new window to Alt+F5, while moving "Basic HUD Toggle" to Shift+F5.

I should say that, in my thought process, I'm thinking about brand-new players who are downloading OR for the very first time. "Because it's the way we've always done things" isn't a convincing argument to me because, if you already have a NewYear or mainline config with Ctrl+F5 already assigned, OR will preserve, not overwrite, that assignment. Meanwhile, any new players will be left wondering about this seeming inconsistency.

Definitely a controversial decision; maybe we need the management team's opinion here? @cjakeman

Copy link
Contributor Author

@mbm-OR mbm-OR Jul 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the Manual:
7.4.1 Basic Head Up Display (HUD)
By pressing F5 you get some important data displayed at the top left of the display in the so-called
Head Up Display (HUD). If you want the HUD to disappear, press F5 again.
The HUD has 6 different pages. The basic page is shown at game start. To sequentially switch to the other
pages press Shift+F5. After having cycled through all of the extended HUD pages, the basic page is
displayed again.
To hide or redisplay the current extended HUD data while continuing to show the basic HUD, press
Alt+F5.

After many years using a familiar key sequence for the HUD and extended windows. I have the feeling that it won't be welcome by current users.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely a controversial decision; maybe we need the management team's opinion here? @cjakeman

Sorry to hold you up. This mention had passed me by. Will confer and get back to you all shortly.

@YoRyan
Copy link
Member

YoRyan commented Jun 24, 2021

I'm also having trouble rendering the bottom text. It's black on black and impossible to read:

image

twpol pushed a commit that referenced this pull request Jun 24, 2021
- Pull request #79 at 7d9f14b: Update version calculation for new unstable versions
- Pull request #399 at 224d3ca: Power supply package
- Pull request #408 at e77a86a: Updating RailDriver SDK library to prepare for 64bit mode
- Pull request #412 at 26e29ed: New TCS function to get speed post information (including warning speed posts)
- Pull request #417 at eca996f: Animated Clocks recognized by ClockHands without extern Files
- Pull request #420 at 39843b1: Delete Russian timetable.rst
- Pull request #422 at f4831e5: Change alignment of couplers as they travel through curve.
- Pull request #430 at 699ec48: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
- Pull request #431 at 1d2c94f: Correct issue with motive force being reduced by braking force
twpol pushed a commit that referenced this pull request Jun 25, 2021
- Pull request #79 at 7d9f14b: Update version calculation for new unstable versions
- Pull request #399 at 224d3ca: Power supply package
- Pull request #408 at e77a86a: Updating RailDriver SDK library to prepare for 64bit mode
- Pull request #412 at 26e29ed: New TCS function to get speed post information (including warning speed posts)
- Pull request #417 at eca996f: Animated Clocks recognized by ClockHands without extern Files
- Pull request #420 at 39843b1: Delete Russian timetable.rst
- Pull request #422 at f4831e5: Change alignment of couplers as they travel through curve.
- Pull request #430 at 699ec48: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
- Pull request #431 at 057dc64: Correct issue with motive force being reduced by braking force
twpol pushed a commit that referenced this pull request Jun 26, 2021
- Pull request #79 at 7d9f14b: Update version calculation for new unstable versions
- Pull request #399 at 224d3ca: Power supply package
- Pull request #408 at e77a86a: Updating RailDriver SDK library to prepare for 64bit mode
- Pull request #412 at 26e29ed: New TCS function to get speed post information (including warning speed posts)
- Pull request #417 at eca996f: Animated Clocks recognized by ClockHands without extern Files
- Pull request #420 at 39843b1: Delete Russian timetable.rst
- Pull request #422 at f4831e5: Change alignment of couplers as they travel through curve.
- Pull request #430 at 699ec48: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
- Pull request #431 at 057dc64: Correct issue with motive force being reduced by braking force
- Pull request #432 at 1220dc7: ci: Automatically create merge-to-master PR on release branch push
twpol pushed a commit that referenced this pull request Jun 27, 2021
- Pull request #79 at 7d9f14b: Update version calculation for new unstable versions
- Pull request #399 at 224d3ca: Power supply package
- Pull request #408 at e77a86a: Updating RailDriver SDK library to prepare for 64bit mode
- Pull request #412 at 26e29ed: New TCS function to get speed post information (including warning speed posts)
- Pull request #417 at eca996f: Animated Clocks recognized by ClockHands without extern Files
- Pull request #420 at 39843b1: Delete Russian timetable.rst
- Pull request #422 at f4831e5: Change alignment of couplers as they travel through curve.
- Pull request #430 at 699ec48: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
- Pull request #431 at 057dc64: Correct issue with motive force being reduced by braking force
- Pull request #432 at 1220dc7: ci: Automatically create merge-to-master PR on release branch push
twpol pushed a commit that referenced this pull request Jun 30, 2021
- Pull request #79 at 7d9f14b: Update version calculation for new unstable versions
- Pull request #399 at 224d3ca: Power supply package
- Pull request #408 at e77a86a: Updating RailDriver SDK library to prepare for 64bit mode
- Pull request #412 at 26e29ed: New TCS function to get speed post information (including warning speed posts)
- Pull request #417 at eca996f: Animated Clocks recognized by ClockHands without extern Files
- Pull request #420 at 39843b1: Delete Russian timetable.rst
- Pull request #422 at f4831e5: Change alignment of couplers as they travel through curve.
- Pull request #430 at 570a07f: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
- Pull request #431 at 057dc64: Correct issue with motive force being reduced by braking force
- Pull request #432 at 1220dc7: ci: Automatically create merge-to-master PR on release branch push
@mbm-OR
Copy link
Contributor Author

mbm-OR commented Jun 30, 2021

It's black on black and impossible to read:

It's a trick to prevent the window height from changing every time that an item is displayed.
We could replace the black text by empty items, while keeping the required spaces, to let unmodified the window height.

twpol pushed a commit that referenced this pull request Jul 1, 2021
- Pull request #79 at 7d9f14b: Update version calculation for new unstable versions
- Pull request #399 at 224d3ca: Power supply package
- Pull request #408 at e77a86a: Updating RailDriver SDK library to prepare for 64bit mode
- Pull request #412 at 26e29ed: New TCS function to get speed post information (including warning speed posts)
- Pull request #417 at eca996f: Animated Clocks recognized by ClockHands without extern Files
- Pull request #420 at 39843b1: Delete Russian timetable.rst
- Pull request #430 at 570a07f: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
- Pull request #431 at 057dc64: Correct issue with motive force being reduced by braking force
- Pull request #432 at 1220dc7: ci: Automatically create merge-to-master PR on release branch push
@Csantucci
Copy link
Contributor

It's black on black and impossible to read:

It's a trick to prevent the window height from changing every time that an item is displayed.
We could replace the black text by empty items, while keeping the required spaces, to let unmodified the window height.
This is used only for steam locomotives. So for electrics and diesels these lines will always remain black; IMHO for such locomotives it would be better if these lines weren't displayed. As long as the player doesn't switch player locomotvie, the window height would remain the same and would be smaller, with no unused lines.

twpol pushed a commit that referenced this pull request Jul 1, 2021
- Pull request #79 at 7d9f14b: Update version calculation for new unstable versions
- Pull request #399 at 224d3ca: Power supply package
- Pull request #408 at e77a86a: Updating RailDriver SDK library to prepare for 64bit mode
- Pull request #412 at 26e29ed: New TCS function to get speed post information (including warning speed posts)
- Pull request #417 at eca996f: Animated Clocks recognized by ClockHands without extern Files
- Pull request #420 at 39843b1: Delete Russian timetable.rst
- Pull request #422 at a939764: Change alignment of couplers as they travel through curve.
- Pull request #430 at 570a07f: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
- Pull request #431 at 057dc64: Correct issue with motive force being reduced by braking force
- Pull request #432 at 1220dc7: ci: Automatically create merge-to-master PR on release branch push
twpol pushed a commit that referenced this pull request Jul 1, 2021
- Pull request #79 at 7d9f14b: Update version calculation for new unstable versions
- Pull request #399 at 224d3ca: Power supply package
- Pull request #408 at e77a86a: Updating RailDriver SDK library to prepare for 64bit mode
- Pull request #412 at 26e29ed: New TCS function to get speed post information (including warning speed posts)
- Pull request #417 at eca996f: Animated Clocks recognized by ClockHands without extern Files
- Pull request #420 at 39843b1: Delete Russian timetable.rst
- Pull request #422 at a939764: Change alignment of couplers as they travel through curve.
- Pull request #430 at 570a07f: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
- Pull request #431 at 057dc64: Correct issue with motive force being reduced by braking force
- Pull request #432 at 1220dc7: ci: Automatically create merge-to-master PR on release branch push
- Pull request #433 at 285581a: Don't unload sound sources of the player train whe near it
twpol pushed a commit that referenced this pull request Jul 3, 2021
- Pull request #79 at 7d9f14b: Update version calculation for new unstable versions
- Pull request #399 at 224d3ca: Power supply package
- Pull request #408 at e77a86a: Updating RailDriver SDK library to prepare for 64bit mode
- Pull request #412 at 26e29ed: New TCS function to get speed post information (including warning speed posts)
- Pull request #417 at eca996f: Animated Clocks recognized by ClockHands without extern Files
- Pull request #420 at 39843b1: Delete Russian timetable.rst
- Pull request #430 at 570a07f: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
- Pull request #432 at 1220dc7: ci: Automatically create merge-to-master PR on release branch push
- Pull request #433 at 285581a: Don't unload sound sources of the player train when camera near it 
- Pull request #435 at adb076c: Revised installer for Release 1.4
@mbm-OR
Copy link
Contributor Author

mbm-OR commented Jul 3, 2021

This is used only for steam locomotives. So for electrics and diesels these lines will always remain black; IMHO for such locomotives it would be better if these lines weren't displayed.

Now a new code display items based on the engine type.

twpol pushed a commit that referenced this pull request Jul 3, 2021
- Pull request #79 at 7d9f14b: Update version calculation for new unstable versions
- Pull request #399 at 224d3ca: Power supply package
- Pull request #408 at e77a86a: Updating RailDriver SDK library to prepare for 64bit mode
- Pull request #412 at 26e29ed: New TCS function to get speed post information (including warning speed posts)
- Pull request #417 at eca996f: Animated Clocks recognized by ClockHands without extern Files
- Pull request #420 at 39843b1: Delete Russian timetable.rst
- Pull request #430 at c974e56: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
- Pull request #432 at 1220dc7: ci: Automatically create merge-to-master PR on release branch push
- Pull request #433 at 285581a: Don't unload sound sources of the player train when camera near it 
- Pull request #435 at adb076c: Revised installer for Release 1.4
twpol pushed a commit that referenced this pull request Aug 27, 2021
- Pull request #430 at 09725e9: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
- Pull request #435 at 952b197: Revised installer for Release 1.4
- Pull request #449 at 933a97d: Provides functionality for unpowered control car
- Pull request #456 at ea669bd: Further adjustment to airhose movement
- Pull request #457 at e7431f1: Increase upper limit for World Object Density
- Pull request #461 at b74ac47: Add SME brakes
twpol pushed a commit that referenced this pull request Aug 27, 2021
- Pull request #430 at a96dd64: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
- Pull request #435 at 952b197: Revised installer for Release 1.4
- Pull request #449 at 933a97d: Provides functionality for unpowered control car
- Pull request #456 at ea669bd: Further adjustment to airhose movement
- Pull request #457 at e7431f1: Increase upper limit for World Object Density
- Pull request #461 at b74ac47: Add SME brakes
@mbm-OR
Copy link
Contributor Author

mbm-OR commented Aug 28, 2021

It has been detected that the feature to toggle the WindowGlass (transparency) at runtime, works well only, when the ToggleFullScreen() function (Alt + Return) is not called, otherwise, after switching from windowed to full-screen mode, sometimes a transparent window, like a layered window, is visible. That is why this feature is removed.

twpol pushed a commit that referenced this pull request Aug 28, 2021
- Pull request #430 at 7d241a9: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
- Pull request #435 at 952b197: Revised installer for Release 1.4
- Pull request #449 at 933a97d: Provides functionality for unpowered control car
- Pull request #456 at ea669bd: Further adjustment to airhose movement
- Pull request #457 at e7431f1: Increase upper limit for World Object Density
- Pull request #461 at b74ac47: Add SME brakes
twpol pushed a commit that referenced this pull request Aug 28, 2021
- Pull request #430 at 971ae06: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
- Pull request #435 at 952b197: Revised installer for Release 1.4
- Pull request #449 at 933a97d: Provides functionality for unpowered control car
- Pull request #456 at ea669bd: Further adjustment to airhose movement
- Pull request #457 at e7431f1: Increase upper limit for World Object Density
- Pull request #461 at b74ac47: Add SME brakes
Copy link
Contributor

@cjakeman cjakeman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mauricio,

In the OR_NewYear_MG version, clicking on the yellow dot switches the window between wide and narrow format.

I was hoping that clicking on the yellow triangles would do the same (and duplicate the Shift+F5 keystroke), but I find that nothing at all happens which is a shame.

Chris

Copy link
Contributor

@cjakeman cjakeman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mauricio,

I've suggested changes to the Manual text in 3 places so that it reads as better English. Hope that's OK.

Chris

twpol pushed a commit that referenced this pull request Aug 29, 2021
- Pull request #430 at 7426df2: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
- Pull request #435 at 952b197: Revised installer for Release 1.4
- Pull request #449 at 933a97d: Provides functionality for unpowered control car
- Pull request #456 at ea669bd: Further adjustment to airhose movement
- Pull request #457 at e7431f1: Increase upper limit for World Object Density
- Pull request #461 at b74ac47: Add SME brakes
twpol pushed a commit that referenced this pull request Aug 29, 2021
- Pull request #430 at 7426df2: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
- Pull request #435 at 952b197: Revised installer for Release 1.4
- Pull request #449 at 933a97d: Provides functionality for unpowered control car
- Pull request #456 at ea669bd: Further adjustment to airhose movement
- Pull request #457 at e7431f1: Increase upper limit for World Object Density
- Pull request #461 at b74ac47: Add SME brakes
- Pull request #462 at 281b3d9: Revised manual text for some options
@mbm-OR
Copy link
Contributor Author

mbm-OR commented Aug 29, 2021

I was hoping that clicking on the yellow triangles would do the same (and duplicate the Shift+F5 keystroke), but I find that nothing at all happens which is a shame.

Chris

Fixed. It was a misunderstanding by my part.

@mbm-OR
Copy link
Contributor Author

mbm-OR commented Aug 29, 2021

I've suggested changes to the Manual text in 3 places so that it reads as better English. Hope that's OK.

Chris

Thank you for your help.
I understand, that I must apply all yours suggested changes to the current driving.rst file. Is it right?

twpol pushed a commit that referenced this pull request Aug 30, 2021
- Pull request #430 at 7426df2: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
- Pull request #435 at 952b197: Revised installer for Release 1.4
- Pull request #449 at 933a97d: Provides functionality for unpowered control car
- Pull request #456 at ea669bd: Further adjustment to airhose movement
- Pull request #457 at e7431f1: Increase upper limit for World Object Density
- Pull request #462 at 281b3d9: Revised manual text for some options
twpol pushed a commit that referenced this pull request Aug 30, 2021
- Pull request #430 at 7426df2: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
- Pull request #435 at 952b197: Revised installer for Release 1.4
- Pull request #449 at 933a97d: Provides functionality for unpowered control car
- Pull request #456 at ea669bd: Further adjustment to airhose movement
- Pull request #457 at e7431f1: Increase upper limit for World Object Density
- Pull request #462 at 281b3d9: Revised manual text for some options
- Pull request #463 at f1c627e: Add SME brak function
@cjakeman
Copy link
Contributor

Hi Mauricio,

I understand, that I must apply all yours suggested changes to the current driving.rst file. Is it right?

Not "must" but "may" - these changes are not a condition for approval. I think the Manual would be better if you made these changes to driving.rst. If you wish, you can do this from right here within GitHub, by pressing the Commit Suggestion buttons.

P.S. I am very thankful that you have worked on this PR and quickly enough so that it will become part of the v1.4 Release (expect a code freeze very soon).

Chris

twpol pushed a commit that referenced this pull request Aug 30, 2021
- Pull request #430 at 7426df2: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
- Pull request #435 at 952b197: Revised installer for Release 1.4
- Pull request #449 at 06f8d32: Provides functionality for unpowered control car
- Pull request #456 at ea669bd: Further adjustment to airhose movement
- Pull request #457 at e7431f1: Increase upper limit for World Object Density
- Pull request #462 at 281b3d9: Revised manual text for some options
- Pull request #463 at f1c627e: Add SME brake function
mbm-OR and others added 4 commits August 30, 2021 10:40
Co-authored-by: Chris Jakeman <github@jakeman.plus.com>
Co-authored-by: Chris Jakeman <github@jakeman.plus.com>
Co-authored-by: Chris Jakeman <github@jakeman.plus.com>
Co-authored-by: Chris Jakeman <github@jakeman.plus.com>
twpol pushed a commit that referenced this pull request Aug 30, 2021
- Pull request #430 at 9ba8ec5: Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window
- Pull request #435 at 952b197: Revised installer for Release 1.4
- Pull request #449 at 06f8d32: Provides functionality for unpowered control car
- Pull request #456 at ea669bd: Further adjustment to airhose movement
- Pull request #457 at e7431f1: Increase upper limit for World Object Density
- Pull request #462 at 281b3d9: Revised manual text for some options
- Pull request #463 at f1c627e: Add SME brake function
- Pull request #464 at 2eeaf7a: Bug fix for https://bugs.launchpad.net/or/+bug/1942061. WindResistance locales.
Copy link
Contributor

@cjakeman cjakeman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Mauricio,

Thanks for those changes.

Approved.

@cjakeman cjakeman merged commit c809033 into openrails:master Aug 30, 2021
}
else if(Orts.MultiPlayer.MPManager.Simulator.Confirmer != null)
{
var status = $"{Viewer.Catalog.GetString("Status")}: {MPManager.Catalog.GetString("Connection to the server is lost, will play as single mode")}";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

During initialization in timetable mode, this line is executed and triggers an exception because MPManager.Catalog is null.

Copy link
Contributor Author

@mbm-OR mbm-OR Sep 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for detecting it so quickly.
A possible solution would be the following:

protected internal override void Initialize()
{
base.Initialize();
// Reset window size
if( !Owner.Viewer.Simulator.TimetableMode )
UpdateWindowSize();
}

I will generate a bug report and a PR.
PR: Bug fix for https://bugs.launchpad.net/or/+bug/1942652. Timetable crash. #466

twpol pushed a commit to openrails/openrails.org that referenced this pull request May 27, 2022
@mbm-OR mbm-OR deleted the blueprint/train-driving-ui-window branch November 22, 2024 21:11
@twpol twpol changed the title Blueprint https://blueprints.launchpad.net/or/+spec/train-driving-ui-window Train Driving UI window May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

5 participants