Skip to content

Commit c279fd8

Browse files
committed
Merge branch 'master' into refactor-user-settings-location
Resolve conflict caused by * migration of some functionality into the base class * addition of Telemetry settings
2 parents e50068d + 273f2ef commit c279fd8

File tree

108 files changed

+14410
-8158
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+14410
-8158
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,4 +366,4 @@ healthchecksdb
366366

367367
# Backup folder for Package Reference Convert tool in Visual Studio 2017
368368
MigrationBackup/
369-
/Source/RunActivity/Properties/launchSettings.json
369+
/Source/**/Properties/launchSettings.json

Source/Contrib/DataCollector/Program.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Program
2929
static void Main(string[] args)
3030
{
3131
if (args.Contains("/system", StringComparer.OrdinalIgnoreCase))
32-
SystemInfo.WriteSystemDetails(Console.Out);
32+
CollectSystem();
3333
else if (args.Contains("/tile-terrtex", StringComparer.OrdinalIgnoreCase))
3434
CollectTileTerrtex(args);
3535
else
@@ -53,6 +53,12 @@ static void ShowHelp()
5353
Console.WriteLine(" /help Show help and usage information");
5454
}
5555

56+
static void CollectSystem()
57+
{
58+
Console.Error.WriteLine("Collecting information...");
59+
SystemInfo.WriteSystemDetails(Console.Out);
60+
}
61+
5662
struct TileTerrtexDirectory
5763
{
5864
public string Path;

Source/Contrib/SimulatorTester/UserSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// along with Open Rails. If not, see <http://www.gnu.org/licenses/>.
1717

1818
using System.Collections.Generic;
19-
using ORTS.Settings;
19+
using ORTS.Common;
2020

2121
namespace SimulatorTester
2222
{

Source/Documentation/Manual/appendices.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,19 @@ The value speed is the required speed value in dimension as set by the relevant
678678
Inclusion of speed definition is optional and need not be set if only approach control position functions
679679
are used.
680680

681+
Signal light parameters
682+
-----------------------
683+
684+
.. index::
685+
single: ORTSSignalLightTex
686+
687+
It is possible to have different light textures in the same signal, by inserting
688+
the following parameter in the signal light definition::
689+
690+
ORTSSignalLightTex ( "name" )
691+
692+
Where **name** is the name of the texture to be used for the signal light.
693+
681694
Signal aspect parameters
682695
------------------------
683696
The following parameters can be included in signal aspect definitions.

Source/Documentation/Manual/cabs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ Linked two-state animations (doors type) are named ``<ORTSITEM1TWOSTATE>`` and
908908
The default animation speed for stopped/moving type animations is 8 FPS.
909909
It may be modified with following parameter in the .sd file::
910910

911-
ESD_CustomAnimationSpeed ( 8 )
911+
ESD_ORTSCustomAnimationFPS ( 8 )
912912

913913
Examples of use are fan control, open/close of aerodynamic coverages of couplers
914914
in high speed trains, menu pages switching.
Loading
Loading

Source/Documentation/Manual/options.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,40 @@ Otherwise, if the loco has an Overspeed Monitor specified in its ENG file, then
129129

130130
This monitor is enabled by checking the option.
131131

132+
133+
.. _telemetry:
134+
135+
Telemetry
136+
---------
137+
138+
.. image:: images/options-telemetry.png
139+
140+
These options let you choose which (if any) anonymous data collection types you would like to enable, preview the data that will be collected, and visit the `telemetry server and source code <https://telemetry.openrails.org>`_.
141+
142+
Each anonymous data collection type can be set to:
143+
144+
- **Undecided (off)** - (default) no data is collected or sent, but we may ask if you want to participate via :ref:`notifications`
145+
- **Off** - no data is collected or sent
146+
- **On** - data is collected and sent automatically
147+
148+
There is no option to allow you to check through the collected data before it is sent.
149+
150+
Application, runtime, operating system, and hardware properties
151+
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
152+
153+
This anonymous data collection type can be previewed to see what will be sent; for example::
154+
155+
Application = Open Rails U2025.01.31-1152 (X64)
156+
Runtime = .NET Framework 4.8.9290.0
157+
System = Microsoft Windows 11 Home 10.0.26100 (X64; en-GB; en-GB,en-US,ja-JP)
158+
Memory = 32,592 MB
159+
CPU = 12th Gen Intel(R) Core(TM) i7-1255U (GenuineIntel; 12 threads; 2,600 MHz)
160+
GPU = Intel(R) Iris(R) Xe Graphics (Intel Corporation; 128 MB)
161+
Direct3D = 12_1,12_0,11_1,11_0,10_1,10_0,9_3,9_2,9_1
162+
163+
This is also included at the start of every :ref:`log file <driving-logfile>`.
164+
165+
132166
Audio Options
133167
=============
134168

Source/Documentation/Signalling.docx

4.55 MB
Binary file not shown.

Source/Locales/Contrib/Contrib.pot

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
msgid ""
22
msgstr ""
33
"Project-Id-Version: PACKAGE VERSION\n"
4-
"POT-Creation-Date: 2024-11-09 17:45:26+0100\n"
5-
"PO-Revision-Date: 2024-11-09 17:45:30+0100\n"
4+
"POT-Creation-Date: 2025-01-25 11:57:31+0000\n"
5+
"PO-Revision-Date: 2025-01-25 11:57:33+0000\n"
66
"Last-Translator: \n"
77
"Language-Team: \n"
88
"MIME-Version: 1.0\n"
@@ -628,11 +628,11 @@ msgstr ""
628628
msgid "&Finish"
629629
msgstr ""
630630

631-
#: ../../Contrib/ContentManager/ContentManagerGUI.cs:92
631+
#: ../../Contrib/ContentManager/ContentManagerGUI.cs:103
632632
msgid "Loading..."
633633
msgstr ""
634634

635-
#: ../../Contrib/ContentManager/ContentManagerGUI.Designer.cs:115
635+
#: ../../Contrib/ContentManager/ContentManagerGUI.Designer.cs:116
636636
msgid "Open Rails Content Manager"
637637
msgstr ""
638638

0 commit comments

Comments
 (0)