Oops I forget to commit those file

This commit is contained in:
Sidi Liang 2020-03-11 00:01:23 +08:00
parent 32fe211472
commit 1b6d08dd78
No known key found for this signature in database
GPG Key ID: 79F0A6B20B72F42F
3 changed files with 8 additions and 6 deletions

View File

@ -113,14 +113,14 @@ var Radar = {
if(meters <= 0.5){
me.warningInterval = 0.2;
me.warningSound = "parking_radar_long.wav";
print("Caution! Something behind at less than 0.5 meters!");
#print("Caution! Something behind at less than 0.5 meters!");
return;
}else{
me.warningSound = "parking_radar.wav";
}
meters = sprintf("%.3f", meters);
if(meters != me.lastDis) me.warningInterval = (meters)/me.maxRange;
print("Caution! Something behind at approximatly "~meters~" meters");
#print("Caution! Something behind at approximatly "~meters~" meters");
me.lastDis = meters;
},
sample: func(stepLat, stepLon, searchLat, searchLon){ # returns an elevtion

View File

@ -499,6 +499,8 @@
<multiplay>
<generic>
<bool n="0" alias="/systems/decorations-enable"/>
<int n="0" alias="/sim/model/lights/indicator-left/state"/>
<int n="1" alias="/sim/model/lights/indicator-right/state"/>
<int n="2" alias="/systems/horn"/>
@ -512,7 +514,7 @@
<int n="10" alias="/gear/gear[3]/tyre-smoke"/>
<int n="11" alias="/controls/direction"/>
<int n="12" alias="/systems/codriver-enable"/>
<int n="13" alias="/interior/enable_mug"/>
<!--<int n="13" alias="/interior/enable_mug"/>-->
<int n="14" alias="/systems/instruments/enable_cdu"/>
<int n="15" alias="/systems/instruments/enable_switches"/>
<int n="16" alias="/warninglight/start"/>
@ -581,7 +583,7 @@
<headshake>
<enabled type="bool" userarchive="y">true</enabled>
</headshake>
</rendering>
</rendering>
-->
</sim>

View File

@ -208,8 +208,8 @@
<checkbox>
<halign>left</halign>
<label> Enable Mug</label>
<property>interior/enable_mug</property>
<label> Enable Decorations</label>
<property>systems/decorations-enable</property>
<live>true</live>
<binding>
<command>dialog-apply</command>