1
0
Fork 0

In multiplayer setttings window, added checkbox for multiplayer record.

Also mark the setting (/sim/replay/multiplayer) as userarchive so it is
preserved across fg sessions.
This commit is contained in:
Julian Smith 2020-06-06 09:55:33 +01:00
parent a17bbe1fb1
commit 1941900058
2 changed files with 21 additions and 6 deletions

View file

@ -844,6 +844,7 @@ Started September 2000 by David Megginson, david@megginson.com
<!-- 1 h --> <!-- 1 h -->
</buffer> </buffer>
<tape-directory type="string" userarchive="y"/> <tape-directory type="string" userarchive="y"/>
<multiplayer type="bool" userarchive="y"/>
</replay> </replay>
<airport> <airport>
<runways> <runways>

View file

@ -172,6 +172,20 @@
<col>1</col> <col>1</col>
<colspan>2</colspan> <colspan>2</colspan>
<halign>left</halign> <halign>left</halign>
<name>multiplayer-record</name>
<label>Include multiplayer aircraft in recordings</label>
<property>/sim/replay/multiplayer</property>
<binding>
<command>dialog-apply</command>
<object-name>multiplayer-record</object-name>
</binding>
</checkbox>
<checkbox>
<row>3</row>
<col>1</col>
<colspan>2</colspan>
<halign>left</halign>
<visible> <visible>
<property>sim/multiplay/transmit-filter-property-base-available</property> <property>sim/multiplay/transmit-filter-property-base-available</property>
</visible> </visible>
@ -185,7 +199,7 @@
</checkbox> </checkbox>
<combo> <combo>
<row>3</row> <row>4</row>
<col>1</col> <col>1</col>
<halign>left</halign> <halign>left</halign>
<name>protocol-version</name> <name>protocol-version</name>
@ -213,20 +227,20 @@
</binding> </binding>
</combo> </combo>
<text> <text>
<row>3</row> <row>4</row>
<col>0</col> <col>0</col>
<halign>right</halign> <halign>right</halign>
<label>Compatibility</label> <label>Compatibility</label>
</text> </text>
<text> <text>
<row>4</row> <row>5</row>
<col>0</col> <col>0</col>
<halign>right</halign> <halign>right</halign>
<label> Callsign:</label> <label> Callsign:</label>
</text> </text>
<input> <input>
<row>4</row> <row>5</row>
<col>1</col> <col>1</col>
<halign>left</halign> <halign>left</halign>
<property>/sim/multiplay/callsign</property> <property>/sim/multiplay/callsign</property>
@ -237,7 +251,7 @@
</enable> </enable>
</input> </input>
<text> <text>
<row>6</row><col>0</col> <row>7</row><col>0</col>
<halign>right</halign> <halign>right</halign>
<label>Server:</label> <label>Server:</label>
</text> </text>
@ -254,7 +268,7 @@
</combo> </combo>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<row>4</row> <row>5</row>
<col>1</col> <col>1</col>
<text> <text>
<width>2</width> <width>2</width>