Home
last modified time | relevance | path

Searched refs:CarBrake (Results 1 – 25 of 28) sorted by relevance

12

/dports/games/openbve/OpenBVE-1.8.2.1/source/TrainManager/Train/
H A DBrakeSystem.cs31 … Cars[i].CarBrake.brakePipe.CurrentPressure -= Cars[i].CarBrake.brakePipe.LeakRate * TimeElapsed; in UpdateBrakeSystem()
32 …if (Cars[i].CarBrake.brakePipe.CurrentPressure < 0.0) Cars[i].CarBrake.brakePipe.CurrentPressure =… in UpdateBrakeSystem()
40 … Cars[i].CarBrake.brakePipe.CurrentPressure -= Cars[i].CarBrake.brakePipe.LeakRate * TimeElapsed; in UpdateBrakeSystem()
41 …if (Cars[i].CarBrake.brakePipe.CurrentPressure < 0.0) Cars[i].CarBrake.brakePipe.CurrentPressure =… in UpdateBrakeSystem()
138 …p = Cars[CarIndex].CarBrake.brakeCylinder.CurrentPressure / Cars[CarIndex].CarBrake.brakeCylinder.… in UpdateBrakeSystem()
144 …p = Cars[CarIndex].CarBrake.brakeCylinder.CurrentPressure / Cars[CarIndex].CarBrake.brakeCylinder.… in UpdateBrakeSystem()
178 if (Cars[CarIndex].CarBrake.airSound != null) in UpdateBrakeSystem()
221 if (Cars[CarIndex].CarBrake.Rub.IsPlaying) in UpdateBrakeSystem()
225 Cars[CarIndex].CarBrake.Rub.Source.Pitch = pitch; in UpdateBrakeSystem()
226 Cars[CarIndex].CarBrake.Rub.Source.Volume = gain; in UpdateBrakeSystem()
[all …]
/dports/games/openbve/OpenBVE-1.8.2.1/source/Plugins/Train.OpenBve/Train/XML/
H A DTrainXmlParser.BrakeNode.cs27 …Train.Cars[Car].CarBrake.brakeType = BrakeType.Main; //We have a compressor so must be a main brak… in ParseBrakeNode()
232 …Train.Cars[Car].CarBrake.mainReservoir = new MainReservoir(compressorMinimumPressure, compressorMa… in ParseBrakeNode()
233 …Train.Cars[Car].CarBrake.airCompressor = new Compressor(compressorRate, Train.Cars[Car].CarBrake.m… in ParseBrakeNode()
234 …Train.Cars[Car].CarBrake.equalizingReservoir = new EqualizingReservoir(equalizingReservoirServiceR… in ParseBrakeNode()
235 Train.Cars[Car].CarBrake.equalizingReservoir.NormalPressure = 1.005 * brakePipeNormalPressure; in ParseBrakeNode()
237 …].CarBrake.brakePipe = new BrakePipe(brakePipeNormalPressure, brakePipeChargeRate, brakePipeServic… in ParseBrakeNode()
242 …Train.Cars[Car].CarBrake.auxiliaryReservoir = new AuxiliaryReservoir(0.975 * brakePipeNormalPressu… in ParseBrakeNode()
244 …Train.Cars[Car].CarBrake.brakeCylinder = new BrakeCylinder(brakeCylinderServiceMaximumPressure, br… in ParseBrakeNode()
245 …Train.Cars[Car].CarBrake.straightAirPipe = new StraightAirPipe(straightAirPipeServiceRate, straigh… in ParseBrakeNode()
/dports/games/openbve/OpenBVE-1.8.2.1/source/ObjectViewer/Trains/
H A DNearestTrain.cs72 …train.Cars[i].CarBrake = new AutomaticAirBrake(EletropneumaticBrakeType.None, train.Handles.Emerge… in CreateDummyTrain()
76 …train.Cars[i].CarBrake = new ElectromagneticStraightAirBrake(EletropneumaticBrakeType.None, train.… in CreateDummyTrain()
79 train.Cars[i].CarBrake.mainReservoir = new MainReservoir(Status.MainReservoirPressure * 1000.0); in CreateDummyTrain()
80 …train.Cars[i].CarBrake.equalizingReservoir = new EqualizingReservoir(Status.EqualizingReservoirPre… in CreateDummyTrain()
81 train.Cars[i].CarBrake.brakePipe = new BrakePipe(Status.BrakePipePressure * 1000.0); in CreateDummyTrain()
82 train.Cars[i].CarBrake.brakeCylinder = new BrakeCylinder(Status.BrakeCylinderPressure * 1000.0); in CreateDummyTrain()
83 …train.Cars[i].CarBrake.straightAirPipe = new StraightAirPipe(Status.StraightAirPipePressure * 1000… in CreateDummyTrain()
H A DNearestTrainStatus.cs59 car.CarBrake.mainReservoir.CurrentPressure = MainReservoirPressure * 1000.0; in Apply()
60 car.CarBrake.equalizingReservoir.CurrentPressure = EqualizingReservoirPressure * 1000.0; in Apply()
61 car.CarBrake.brakePipe.CurrentPressure = BrakePipePressure * 1000.0; in Apply()
62 car.CarBrake.brakeCylinder.CurrentPressure = BrakeCylinderPressure * 1000.0; in Apply()
63 car.CarBrake.straightAirPipe.CurrentPressure = StraightAirPipePressure * 1000.0; in Apply()
/dports/games/openbve/OpenBVE-1.8.2.1/source/OpenBVE/Graphics/Renderers/
H A DOverlays.Debug.cs291 …if (TrainManager.PlayerTrain.Cars[i].CarBrake is AutomaticAirBrake | TrainManager.PlayerTrain.Cars… in RenderBrakeSystemDebug()
299 double p = TrainManager.PlayerTrain.Cars[i].CarBrake.brakePipe.CurrentPressure; in RenderBrakeSystemDebug()
300 double r = p / TrainManager.PlayerTrain.Cars[i].CarBrake.brakePipe.NormalPressure; in RenderBrakeSystemDebug()
305 …if (TrainManager.PlayerTrain.Cars[i].CarBrake is AutomaticAirBrake | TrainManager.PlayerTrain.Cars… in RenderBrakeSystemDebug()
327 double p = TrainManager.PlayerTrain.Cars[i].CarBrake.brakeCylinder.CurrentPressure; in RenderBrakeSystemDebug()
333 if (TrainManager.PlayerTrain.Cars[i].CarBrake.brakeType == BrakeType.Main) in RenderBrakeSystemDebug()
341 double p = TrainManager.PlayerTrain.Cars[i].CarBrake.mainReservoir.CurrentPressure; in RenderBrakeSystemDebug()
342 double r = p / TrainManager.PlayerTrain.Cars[i].CarBrake.mainReservoir.MaximumPressure; in RenderBrakeSystemDebug()
347 if (TrainManager.PlayerTrain.Cars[i].CarBrake.brakeType == BrakeType.Main) in RenderBrakeSystemDebug()
361 …TrainManager.PlayerTrain.Cars[i].CarBrake is ElectromagneticStraightAirBrake & TrainManager.Player… in RenderBrakeSystemDebug()
[all …]
/dports/games/openbve/OpenBVE-1.8.2.1/source/Plugins/Train.OpenBve/Train/
H A DTrainDatParser.cs1188 Train.Cars[i].CarBrake.brakeType = BrakeType.Main; in Parse()
1192 Train.Cars[i].CarBrake.brakeType = BrakeType.Auxiliary; in Parse()
1195 …Train.Cars[i].CarBrake.airCompressor = new Compressor(5000.0, Train.Cars[i].CarBrake.mainReservoir… in Parse()
1208 Train.Cars[i].CarBrake.JerkUp = JerkBrakeUp; in Parse()
1209 Train.Cars[i].CarBrake.JerkDown = JerkBrakeDown; in Parse()
1236 …Train.Cars[i].CarBrake.brakeCylinder.CurrentPressure = Train.Cars[i].CarBrake.brakeCylinder.Servic… in Parse()
1237 …Train.Cars[i].CarBrake.brakePipe.CurrentPressure = Train.Cars[i].CarBrake.brakePipe.NormalPressure; in Parse()
1238 …Train.Cars[i].CarBrake.straightAirPipe.CurrentPressure = Train.Cars[i].CarBrake.brakeCylinder.Serv… in Parse()
1239 …Train.Cars[i].CarBrake.equalizingReservoir.CurrentPressure = Train.Cars[i].CarBrake.equalizingRese… in Parse()
1263 …Train.Cars[i].CarBrake.brakeCylinder.CurrentPressure = Train.Cars[i].CarBrake.brakeCylinder.Emerge… in Parse()
[all …]
/dports/games/openbve/OpenBVE-1.8.2.1/source/Plugins/Train.OpenBve/Sound/
H A DSoundCfg.Bve2.cs30 …train.Cars[train.DriverCar].CarBrake.Release = new CarSound(Plugin.currentHost, train.TrainFolder,… in Parse()
55 …train.Cars[i].CarBrake.Air = new CarSound(Plugin.currentHost, train.TrainFolder, "Air.wav", SoundC… in Parse()
56 …train.Cars[i].CarBrake.AirHigh = new CarSound(Plugin.currentHost, train.TrainFolder, "AirHigh.wav"… in Parse()
57 …train.Cars[i].CarBrake.AirZero = new CarSound(Plugin.currentHost, train.TrainFolder, "AirZero.wav"… in Parse()
58 if (train.Cars[i].CarBrake.brakeType == BrakeType.Main) in Parse()
60 …train.Cars[i].CarBrake.airCompressor.EndSound = new CarSound(Plugin.currentHost, train.TrainFolder… in Parse()
61 …train.Cars[i].CarBrake.airCompressor.LoopSound = new CarSound(Plugin.currentHost, train.TrainFolde… in Parse()
62 …train.Cars[i].CarBrake.airCompressor.StartSound = new CarSound(Plugin.currentHost, train.TrainFold… in Parse()
97 …train.Cars[i].CarBrake.Rub = new CarSound(Plugin.currentHost, train.TrainFolder, "Rub.wav", SoundC… in Parse()
H A DSoundCfg.Xml.cs104 ParseNode(cc, out car.CarBrake.AirHigh, center, SoundCfgParser.smallRadius); in Parse()
108 ParseNode(cc, out car.CarBrake.Air, center, SoundCfgParser.smallRadius); in Parse()
112 ParseNode(cc, out car.CarBrake.AirZero, center, SoundCfgParser.smallRadius); in Parse()
124 ParseNode(cc, out car.CarBrake.Release, center, SoundCfgParser.smallRadius); in Parse()
212 if (car.CarBrake.brakeType != BrakeType.Main) in Parse()
223 … ParseNode(cc, out car.CarBrake.airCompressor.StartSound, center, SoundCfgParser.mediumRadius); in Parse()
227 … ParseNode(cc, out car.CarBrake.airCompressor.LoopSound, center, SoundCfgParser.mediumRadius); in Parse()
233 … ParseNode(cc, out car.CarBrake.airCompressor.EndSound, center, SoundCfgParser.mediumRadius); in Parse()
475 ParseNode(c, out car.CarBrake.Rub, center, SoundCfgParser.mediumRadius); in Parse()
H A DSoundCfg.Bve4.cs268 …train.Cars[c].CarBrake.AirHigh = new CarSound(Plugin.currentHost, trainFolder, FileName, i, b, Sou… in Parse()
275 …train.Cars[c].CarBrake.Air = new CarSound(Plugin.currentHost, trainFolder, FileName, i, b, SoundCf… in Parse()
282 …train.Cars[c].CarBrake.AirZero = new CarSound(Plugin.currentHost, trainFolder, FileName, i, b, Sou… in Parse()
295 …train.Cars[c].CarBrake.Release = new CarSound(Plugin.currentHost, trainFolder, FileName, i, b, Sou… in Parse()
318 if (train.Cars[c].CarBrake.brakeType == BrakeType.Main) in Parse()
323 …train.Cars[c].CarBrake.airCompressor.StartSound = new CarSound(Plugin.currentHost, trainFolder, Fi… in Parse()
326 …train.Cars[c].CarBrake.airCompressor.LoopSound = new CarSound(Plugin.currentHost, trainFolder, Fil… in Parse()
329 …train.Cars[c].CarBrake.airCompressor.EndSound = new CarSound(Plugin.currentHost, trainFolder, File… in Parse()
738 …train.Cars[c].CarBrake.Rub = new CarSound(Plugin.currentHost, trainFolder, FileName, i, b, SoundCf… in Parse()
/dports/games/openbve/OpenBVE-1.8.2.1/source/RouteViewer/
H A DFunctionScripts.cs837 Function.Stack[s] = Train.Cars[Train.DriverCar].CarBrake is AutomaticAirBrake ? 1.0 : 0.0; in ExecuteFunctionScript()
873 Function.Stack[s] = Train.Cars[CarIndex].CarBrake.mainReservoir.CurrentPressure; in ExecuteFunctionScript()
885 Function.Stack[s - 1] = Train.Cars[j].CarBrake.mainReservoir.CurrentPressure; in ExecuteFunctionScript()
893 Function.Stack[s] = Train.Cars[CarIndex].CarBrake.equalizingReservoir.CurrentPressure; in ExecuteFunctionScript()
905 Function.Stack[s - 1] = Train.Cars[j].CarBrake.equalizingReservoir.CurrentPressure; in ExecuteFunctionScript()
913 Function.Stack[s] = Train.Cars[CarIndex].CarBrake.brakePipe.CurrentPressure; in ExecuteFunctionScript()
925 Function.Stack[s - 1] = Train.Cars[j].CarBrake.brakePipe.CurrentPressure; in ExecuteFunctionScript()
933 Function.Stack[s] = Train.Cars[CarIndex].CarBrake.brakeCylinder.CurrentPressure; in ExecuteFunctionScript()
945 Function.Stack[s - 1] = Train.Cars[j].CarBrake.brakeCylinder.CurrentPressure; in ExecuteFunctionScript()
953 Function.Stack[s] = Train.Cars[CarIndex].CarBrake.straightAirPipe.CurrentPressure; in ExecuteFunctionScript()
[all …]
/dports/games/openbve/OpenBVE-1.8.2.1/source/ObjectViewer/
H A DFunctionScripts.cs842 Function.Stack[s] = Train.Cars[Train.DriverCar].CarBrake is AutomaticAirBrake ? 1.0 : 0.0; in ExecuteFunctionScript()
878 Function.Stack[s] = Train.Cars[CarIndex].CarBrake.mainReservoir.CurrentPressure; in ExecuteFunctionScript()
890 Function.Stack[s - 1] = Train.Cars[j].CarBrake.mainReservoir.CurrentPressure; in ExecuteFunctionScript()
898 Function.Stack[s] = Train.Cars[CarIndex].CarBrake.equalizingReservoir.CurrentPressure; in ExecuteFunctionScript()
910 Function.Stack[s - 1] = Train.Cars[j].CarBrake.equalizingReservoir.CurrentPressure; in ExecuteFunctionScript()
918 Function.Stack[s] = Train.Cars[CarIndex].CarBrake.brakePipe.CurrentPressure; in ExecuteFunctionScript()
930 Function.Stack[s - 1] = Train.Cars[j].CarBrake.brakePipe.CurrentPressure; in ExecuteFunctionScript()
938 Function.Stack[s] = Train.Cars[CarIndex].CarBrake.brakeCylinder.CurrentPressure; in ExecuteFunctionScript()
950 Function.Stack[s - 1] = Train.Cars[j].CarBrake.brakeCylinder.CurrentPressure; in ExecuteFunctionScript()
958 Function.Stack[s] = Train.Cars[CarIndex].CarBrake.straightAirPipe.CurrentPressure; in ExecuteFunctionScript()
[all …]
/dports/games/openbve/OpenBVE-1.8.2.1/source/TrainManager/SafetySystems/Plugin/
H A DPlugin.cs125 double bcPressure = this.Train.Cars[this.Train.DriverCar].CarBrake.brakeCylinder.CurrentPressure; in UpdatePlugin()
126 double mrPressure = this.Train.Cars[this.Train.DriverCar].CarBrake.mainReservoir.CurrentPressure; in UpdatePlugin()
127 …double erPressure = this.Train.Cars[this.Train.DriverCar].CarBrake.equalizingReservoir.CurrentPres… in UpdatePlugin()
128 double bpPressure = this.Train.Cars[this.Train.DriverCar].CarBrake.brakePipe.CurrentPressure; in UpdatePlugin()
129 …double sapPressure = this.Train.Cars[this.Train.DriverCar].CarBrake.straightAirPipe.CurrentPressur… in UpdatePlugin()
H A DPlugin.Functions.cs115 if (Cars[DriverCar].CarBrake is AutomaticAirBrake) in vehicleSpecs()
119 else if(Cars[DriverCar].CarBrake is ElectricCommandBrake) in vehicleSpecs()
/dports/games/openbve/OpenBVE-1.8.2.1/source/TrainManager/Handles/
H A DHandles.LocoBrake.cs72 …baseTrain.Cars[baseTrain.DriverCar].CarBrake.Release.Play(baseTrain.Cars[baseTrain.DriverCar], fal… in ApplyState()
158 …baseTrain.Cars[baseTrain.DriverCar].CarBrake.Release.Play(baseTrain.Cars[baseTrain.DriverCar], fal… in ApplyState()
H A DHandles.AirBrake.cs53 …baseTrain.Cars[baseTrain.DriverCar].CarBrake.Release.Play(baseTrain.Cars[baseTrain.DriverCar], fal… in ApplyState()
H A DHandles.Brake.cs77 …baseTrain.Cars[baseTrain.DriverCar].CarBrake.Release.Play(baseTrain.Cars[baseTrain.DriverCar], fal… in ApplyState()
/dports/games/openbve/OpenBVE-1.8.2.1/source/TrainManager/Brake/AirBrake/
H A DThroughPiped.cs6 public class ThroughPiped : CarBrake
H A DElectricCommandBrake.cs7 public class ElectricCommandBrake : CarBrake
H A DAutomaticAirBrake.cs6 public class AutomaticAirBrake : CarBrake
/dports/games/openbve/OpenBVE-1.8.2.1/source/OpenBVE/Game/AI/
H A DAI.SimpleHuman.cs223 … 10 || Train.Cars[Train.DriverCar].CarBrake.brakeCylinder.CurrentPressure < 0.3 * Train.Cars[Train… in PerformDefault()
227 …se if (Train.Cars[Train.DriverCar].CarBrake.brakeCylinder.CurrentPressure > 0.9 * Train.Cars[Train… in PerformDefault()
390 …double BrakeDeceleration = Train.Cars[Train.DriverCar].CarBrake.DecelerationAtServiceMaximumPressu… in PerformDefault()
395 …if (Train.Cars[Train.DriverCar].CarBrake.motorDeceleration != 0 && Train.Cars[Train.DriverCar].Car… in PerformDefault()
397 BrakeDeceleration = Train.Cars[Train.DriverCar].CarBrake.motorDeceleration; in PerformDefault()
/dports/games/openbve/OpenBVE-1.8.2.1/source/TrainManager/Car/Systems/
H A DHoldBrake.cs36 double a = Car.CarBrake.motorDeceleration; in Update()
/dports/games/openbve/OpenBVE-1.8.2.1/source/OpenBVE/System/
H A DScripting.cs251 return Train.Cars[CarIndex].CarBrake.mainReservoir.CurrentPressure; in mainReservoir()
265 return Train.Cars[CarIndex].CarBrake.brakePipe.CurrentPressure; in brakePipe()
279 return Train.Cars[CarIndex].CarBrake.brakeCylinder.CurrentPressure; in brakeCylinder()
293 return Train.Cars[CarIndex].CarBrake.straightAirPipe.CurrentPressure; in straightAirPipe()
/dports/games/openbve/OpenBVE-1.8.2.1/source/TrainManager/Brake/
H A DCarBrake.cs7 public abstract class CarBrake class
/dports/games/openbve/OpenBVE-1.8.2.1/source/OpenBVE/Game/ObjectManager/AnimatedObjects/
H A DFunctionScripts.cs1043 Function.Stack[s] = Train.Cars[CarIndex].CarBrake.mainReservoir.CurrentPressure; in ExecuteFunctionScript()
1055 Function.Stack[s - 1] = Train.Cars[j].CarBrake.mainReservoir.CurrentPressure; in ExecuteFunctionScript()
1063 Function.Stack[s] = Train.Cars[CarIndex].CarBrake.equalizingReservoir.CurrentPressure; in ExecuteFunctionScript()
1075 Function.Stack[s - 1] = Train.Cars[j].CarBrake.equalizingReservoir.CurrentPressure; in ExecuteFunctionScript()
1083 Function.Stack[s] = Train.Cars[CarIndex].CarBrake.brakePipe.CurrentPressure; in ExecuteFunctionScript()
1095 Function.Stack[s - 1] = Train.Cars[j].CarBrake.brakePipe.CurrentPressure; in ExecuteFunctionScript()
1103 Function.Stack[s] = Train.Cars[CarIndex].CarBrake.brakeCylinder.CurrentPressure; in ExecuteFunctionScript()
1115 Function.Stack[s - 1] = Train.Cars[j].CarBrake.brakeCylinder.CurrentPressure; in ExecuteFunctionScript()
1123 Function.Stack[s] = Train.Cars[CarIndex].CarBrake.straightAirPipe.CurrentPressure; in ExecuteFunctionScript()
1135 Function.Stack[s - 1] = Train.Cars[j].CarBrake.straightAirPipe.CurrentPressure; in ExecuteFunctionScript()
/dports/games/openbve/OpenBVE-1.8.2.1/source/TrainManager/Car/
H A DCarBase.cs40 public CarBrake CarBrake; field in TrainManager.Car.CarBase
507 …double max = CarBrake.DecelerationAtServiceMaximumPressure(baseTrain.Handles.Brake.Actual, Current… in UpdateMotorSounds()
1340 Specs.MotorAcceleration += CarBrake.JerkDown * TimeElapsed; in UpdateSpeed()
1384 Specs.MotorAcceleration -= CarBrake.JerkUp * TimeElapsed; in UpdateSpeed()
1394 Specs.MotorAcceleration += CarBrake.JerkDown * TimeElapsed; in UpdateSpeed()

12