Home
last modified time | relevance | path

Searched refs:StageTwoExponent (Results 1 – 4 of 4) sorted by relevance

/dports/games/openbve/OpenBVE-1.8.2.1/source/TrainManager/Power/
H A DAccelerationCurve.cs29 public double StageTwoExponent; field in TrainManager.Power.BveAccelerationCurve
50 …eration * Math.Pow(this.StageTwoSpeed, this.StageTwoExponent - 1.0) * Math.Pow(Speed, -this.StageT… in GetAccelerationOutput()
63 StageTwoExponent = this.StageTwoExponent, in Clone()
/dports/games/openbve/OpenBVE-1.8.2.1/source/Plugins/Train.OpenBve/Train/
H A DTrainDatParser.cs301 AccelerationCurves[n].StageTwoExponent = 1.0; in Parse()
305 …AccelerationCurves[n].StageTwoExponent = 1.0 - Math.Log(a) * AccelerationCurves[n].StageTwoSpeed *… in Parse()
306 if (AccelerationCurves[n].StageTwoExponent <= 0.0) { in Parse()
307 AccelerationCurves[n].StageTwoExponent = 1.0; in Parse()
308 } else if (AccelerationCurves[n].StageTwoExponent > 4.0) { in Parse()
309 AccelerationCurves[n].StageTwoExponent = 4.0; in Parse()
313 AccelerationCurves[n].StageTwoExponent = a; in Parse()
314 if (AccelerationCurves[n].StageTwoExponent <= 0.0) { in Parse()
315 AccelerationCurves[n].StageTwoExponent = 1.0; in Parse()
1082 if (AccelerationCurves[i].StageTwoExponent <= 0.0) { in Parse()
[all …]
/dports/games/openbve/OpenBVE-1.8.2.1/source/TrainEditor/
H A DTrainDat.cs34 StageTwoExponent = 1.0 in Acceleration()
379 t.Acceleration.Entries[n].StageTwoExponent = 1.0; in Load()
382 …t.Acceleration.Entries[n].StageTwoExponent = 1.0 - Math.Log(a) * t.Acceleration.Entries[n].StageTw… in Load()
383 if (t.Acceleration.Entries[n].StageTwoExponent > 4.0) { in Load()
384 t.Acceleration.Entries[n].StageTwoExponent = 4.0; in Load()
388 t.Acceleration.Entries[n].StageTwoExponent = a; in Load()
791 b.AppendLine(t.Acceleration.Entries[i].StageTwoExponent.ToString(Culture)); in Save()
H A DformEditor.cs525 Train.Acceleration.Entries[i].StageTwoExponent = 1.0; in TabcontrolTabsSelecting()
668 textboxE.Text = Train.Acceleration.Entries[i].StageTwoExponent.ToString(Culture); in ComboboxAccelerationNotchSelectedIndexChanged()
723 Train.Acceleration.Entries[i].StageTwoExponent = e2; in TextboxETextChanged()
1389 double e = Train.Acceleration.Entries[Index].StageTwoExponent; in GetAcceleration()