From 8ede81e4bda3973165330daed4b032aa34cb9566 Mon Sep 17 00:00:00 2001 From: James Turner Date: Sun, 7 Mar 2021 13:15:52 +0000 Subject: [PATCH] Error-reporting strings, MP enable UI Add a checkbox to the MP dialog to control reporting of errors relating to MP pilots --- Translations/default/sys.xml | 2 ++ defaults.xml | 4 ++++ gui/dialogs/multiplayer.xml | 33 ++++++++++++++++++++++++--------- 3 files changed, 30 insertions(+), 9 deletions(-) diff --git a/Translations/default/sys.xml b/Translations/default/sys.xml index 61c9ccc44..470dc16a9 100644 --- a/Translations/default/sys.xml +++ b/Translations/default/sys.xml @@ -47,6 +47,7 @@ Errors occurred in an unknown part of FlightGear. Please report this bug to the FlightGear development team. The traffic schedule '%VALUE%' contains errors, and can't be loaded. Allocating memory failed. Some resources will not be loaded. Adjust your settings to reduce view distance or number of objects loaded. + Loading a model for another pilot (via multi-player) failed. The other pilot will appear as a default model. (You can disable these errors from the multiplayer settings dialog) Unknown error The file or resource was not found @@ -60,6 +61,7 @@ Shader / Effect problems Texture failed to load Errors loading model XML + Error loading 3D model Errors loading terrain (BTG) Errors loading scenery Errors loading user-interface diff --git a/defaults.xml b/defaults.xml index bf16274d3..c5e5f3af5 100644 --- a/defaults.xml +++ b/defaults.xml @@ -949,6 +949,10 @@ Started September 2000 by David Megginson, david@megginson.com true true + + false + true + diff --git a/gui/dialogs/multiplayer.xml b/gui/dialogs/multiplayer.xml index 8b21aee30..787ea9415 100644 --- a/gui/dialogs/multiplayer.xml +++ b/gui/dialogs/multiplayer.xml @@ -213,14 +213,29 @@ - + + 5 + 1 + 2 + left + sim/error-report/mp-report-enabled + true + + + property-toggle + sim/error-report/mp-report-enabled + + + + + 6 0 right - 5 + 6 1 left protocol-version @@ -248,13 +263,13 @@ - 6 + 7 0 right - 6 + 7 1 left /sim/multiplay/callsign @@ -266,7 +281,7 @@ hbox - 6 + 7 1 2 @@ -289,7 +304,7 @@ host left - 7 + 8 1 2 350 @@ -300,7 +315,7 @@ - 8 + 9 0 right @@ -309,13 +324,13 @@ /sim/multiplay/online - 8 + 9 1 left - 8 + 9 1 /sim/multiplay/online