Compare commits

..

4 Commits

Author SHA1 Message Date
maj00r 25e58fa8ae fix(editor): the editor opens without a question
The scenery editor starts straight away, as the simulation does; the question
that it works on the scenery file itself goes, with its texts in every language.
2026-12-04 23:27:16 +01:00
maj00r e0a0f46018 fix(editor): no warning that only some simulator builds have the editor
Every simulator build now opens the scenery editor (eu07 -edit), so the
question before it says only what still matters: the editor works on the
scenery file itself, not on the starter's copy. The tip of the new scenery
wizard no longer says the editor is missing from some builds either.
2026-12-04 23:25:20 +01:00
Hirek 98e67b6867 Merge pull request #74 from MaSzyna-EU07/feat/settings-basic-advanced
whole these
2026-12-04 21:44:48 +00:00
Hirek a095cdee0c Merge pull request #70 from MaSzyna-EU07/feat/settings-basic-advanced
Feat/settings basic advanced
2026-11-30 19:39:49 +00:00
7 changed files with 9 additions and 25 deletions
+3 -13
View File
@@ -701,20 +701,10 @@ public partial class MainWindow : Window
}
/// <summary>
/// The scenery editor, which only some simulator builds have - said up front,
/// since one without it simply does not open it, and it writes to the scenery
/// itself. With none selected there is nothing to write to: the simulator's
/// wizard makes a new one.
/// The scenery editor on the selected scenery; with none selected, the
/// simulator's wizard makes a new one.
/// </summary>
private async Task LaunchEditorAsync()
{
if (AppServices.Current.State.CurrentScenery is { } scenery &&
!await MessageBox.Show(this, string.Format(App.Loc["StartEditorWarning"], Path.GetFileName(scenery.Path)),
App.Loc["StartEditor"], MessageBoxButtons.YesNo))
return;
await FollowStartAsync(AppServices.Current.StartSimulation.ExecuteEditor);
}
private Task LaunchEditorAsync() => FollowStartAsync(AppServices.Current.StartSimulation.ExecuteEditor);
/// <summary>Reports a start that failed, or steps aside for the simulator that started.</summary>
/// <param name="start">The start, run again once what stopped it is put right.</param>
+1 -2
View File
@@ -697,9 +697,8 @@
<String key="StartFreeFly">Spustit bez vozidla</String>
<String key="StartEditorShort">Editor scenérie</String>
<String key="StartEditorWizard">Vytvořit novou scenérii</String>
<String key="StartEditorWizardTip">Průvodce novou scenérií v editoru simulátoru. Editor mají jen některé verze.</String>
<String key="StartEditorWizardTip">Průvodce novou scenérií v editoru simulátoru.</String>
<String key="StartEditor">Spustit editor scenérie</String>
<String key="StartEditorWarning">Editor scenérie (eu07 -edit) mají jen některé verze simulátoru. Pokud ho vybraný simulátor nepodporuje, editor se neotevře. Editor pracuje přímo se souborem {0}, ne s kopií od starteru, takže uložené změny se zapíší do scenérie. Spustit?</String>
<String key="DebugLogVisible">Zobrazovat průběh simulace</String>
<String key="PyScreenPriority">Frekvence obnovení doplňkových obrazovek</String>
<String key="PyPriorityNormal">Standardní</String>
+1 -2
View File
@@ -723,9 +723,8 @@
<String key="StartFreeFly">Start with no vehicle</String>
<String key="StartEditorShort">Scenery editor</String>
<String key="StartEditorWizard">Create a new scenery</String>
<String key="StartEditorWizardTip">The new scenery wizard in the simulator's editor. Only some builds have the editor.</String>
<String key="StartEditorWizardTip">The new scenery wizard in the simulator's editor.</String>
<String key="StartEditor">Open the scenery editor</String>
<String key="StartEditorWarning">Only some simulator builds have the scenery editor (eu07 -edit). If the selected simulator does not, the editor will not open. It works on {0} itself, not on the starter's copy, so what you save goes into the scenery. Start it?</String>
<String key="DebugLogVisible">Log in console</String>
<String key="PyScreenPriority">Extra screens refresh</String>
<String key="PyScreenPriorityDesc">How often cab screens refresh. Less often means more FPS.</String>
+1 -2
View File
@@ -697,9 +697,8 @@
<String key="StartFreeFly">Indítás jármű nélkül</String>
<String key="StartEditorShort">Pályaszerkesztő</String>
<String key="StartEditorWizard">Új színtér létrehozása</String>
<String key="StartEditorWizardTip">Új színtér varázsló a szimulátor szerkesztőjében. A szerkesztő csak egyes verziókban van meg.</String>
<String key="StartEditorWizardTip">Új színtér varázsló a szimulátor szerkesztőjében.</String>
<String key="StartEditor">Pályaszerkesztő indítása</String>
<String key="StartEditorWarning">A pályaszerkesztő (eu07 -edit) csak a szimulátor egyes verzióiban érhető el. Ha a kiválasztott szimulátor nem támogatja, a szerkesztő nem nyílik meg. Közvetlenül a(z) {0} fájlon dolgozik, nem a starter másolatán, így a mentett változások a pályába kerülnek. Elindítod?</String>
<String key="DebugLogVisible">Szimuláció menetének megjelenítése</String>
<String key="PyScreenPriority">Kiegészítő képernyők frissítési gyakorisága</String>
<String key="PyPriorityNormal">Normál</String>
+1 -2
View File
@@ -723,9 +723,8 @@
<String key="StartFreeFly">Uruchom bez pojazdu</String>
<String key="StartEditorShort">Edytor scenerii</String>
<String key="StartEditorWizard">Utwórz nową scenerię</String>
<String key="StartEditorWizardTip">Kreator nowej scenerii w edytorze symulatora. Edytor mają tylko niektóre wersje.</String>
<String key="StartEditorWizardTip">Kreator nowej scenerii w edytorze symulatora.</String>
<String key="StartEditor">Uruchom edytor scenerii</String>
<String key="StartEditorWarning">Edytor scenerii (eu07 -edit) mają tylko niektóre wersje symulatora. Jeśli wybrany plik symulatora go nie obsługuje, edytor się nie otworzy. Edytor pracuje na samym pliku {0}, a nie na kopii przygotowanej przez starter, więc zapisane zmiany trafią do scenerii. Uruchomić?</String>
<String key="DebugLogVisible">Log w konsoli</String>
<String key="PyScreenPriority">Odświeżanie ekranów dodatkowych</String>
<String key="PyScreenPriorityDesc">Jak często odświeżać ekrany w kabinie. Rzadziej to więcej FPS.</String>
+1 -2
View File
@@ -697,9 +697,8 @@
<String key="StartFreeFly">Запустить без транспорта</String>
<String key="StartEditorShort">Редактор сценария</String>
<String key="StartEditorWizard">Создать новый сценарий</String>
<String key="StartEditorWizardTip">Мастер нового сценария в редакторе симулятора. Редактор есть только в некоторых версиях.</String>
<String key="StartEditorWizardTip">Мастер нового сценария в редакторе симулятора.</String>
<String key="StartEditor">Запустить редактор сценария</String>
<String key="StartEditorWarning">Редактор сценария (eu07 -edit) есть только в некоторых версиях симулятора. Если выбранный симулятор его не поддерживает, редактор не откроется. Он работает с самим файлом {0}, а не с копией стартера, поэтому сохранённые изменения попадут в сценарий. Запустить?</String>
<String key="DebugLogVisible">Показывать ход симуляции</String>
<String key="PyScreenPriority">Частота обновления дополнительных экранов</String>
<String key="PyPriorityNormal">Стандартная</String>
+1 -2
View File
@@ -717,9 +717,8 @@
<String key="StartFreeFly">不加载车辆直接开始</String>
<String key="StartEditorShort">线路编辑器</String>
<String key="StartEditorWizard">创建新线路</String>
<String key="StartEditorWizardTip">模拟器编辑器中的新线路向导。只有部分版本带有编辑器。</String>
<String key="StartEditorWizardTip">模拟器编辑器中的新线路向导。</String>
<String key="StartEditor">打开线路编辑器</String>
<String key="StartEditorWarning">只有部分模拟器版本带有线路编辑器(eu07 -edit)。如果所选模拟器没有,编辑器将不会打开。它直接在 {0} 上工作,而不是启动器的副本,因此保存的内容会写入线路。要启动吗?</String>
<String key="DebugLogVisible">在控制台显示日志</String>
<String key="PyScreenPriority">额外的屏幕刷新延迟</String>
<String key="PyScreenPriorityDesc">Python 驾驶室屏幕两次更新之间的最小时间(毫秒)。数值越大更新越少。</String>