From b72262e0e88c926c02d64f7e96567388f642ca06 Mon Sep 17 00:00:00 2001 From: jano <jean.pellotier@wanadoo.fr> Date: Tue, 14 Jan 2020 12:52:59 +0100 Subject: [PATCH] added the clock offset and max simtime per frame in the lag menu to ease lag settings --- gui/dialogs/lag-adjust.xml | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gui/dialogs/lag-adjust.xml b/gui/dialogs/lag-adjust.xml index ceafae500..2f8e9ec48 100644 --- a/gui/dialogs/lag-adjust.xml +++ b/gui/dialogs/lag-adjust.xml @@ -175,6 +175,50 @@ <property>/sim/multiplay/lag/spectator-offset</property> <live>true</live> </text> + + <text> + <row>4</row> + <col>0</col> + <label>Clock offset</label> + <halign>right</halign> + </text> + + <input> + <name>clock-offset</name> + <row>4</row> + <col>1</col> + <width>75</width> + <height>25</height> + <label>Seconds</label> + <live>true</live> + <property>/sim/time/mp-clock-offset-sec</property> + <binding> + <command>dialog-apply</command> + <object-name>clock-offset</object-name> + </binding> + </input> + + <text> + <row>5</row> + <col>0</col> + <label>Max sim time /frame</label> + <halign>right</halign> + </text> + + <input> + <name>max-simtime</name> + <row>5</row> + <col>1</col> + <width>45</width> + <height>25</height> + <label>Seconds</label> + <live>true</live> + <property>/sim/max-simtime-per-frame</property> + <binding> + <command>dialog-apply</command> + <object-name>max-simtime</object-name> + </binding> + </input> </group> </PropertyList>