Home
last modified time | relevance | path

Searched refs:CurrentSpeed (Results 1 – 25 of 147) sorted by relevance

123456

/dports/games/openbve/OpenBVE-1.8.2.1/source/TrainManager/Car/Windscreen/
H A DWiper.cs27 public WiperSpeed CurrentSpeed; field in TrainManager.Car.WindscreenWiper
43 CurrentSpeed = WiperSpeed.Off; in WindscreenWiper()
54 if (CurrentSpeed < WiperSpeed.Fast) in ChangeSpeed()
56 CurrentSpeed++; in ChangeSpeed()
60 if (CurrentSpeed > WiperSpeed.Off) in ChangeSpeed()
62 CurrentSpeed--; in ChangeSpeed()
74 if (CurrentSpeed == WiperSpeed.Off) in Update()
112 if (CurrentSpeed > 0) in Update()
114 if (HoldPosition == WiperPosition.Right && CurrentSpeed != WiperSpeed.Fast) in Update()
149 if (CurrentSpeed > 0) in Update()
[all …]
/dports/games/openbve/OpenBVE-1.8.2.1/source/OpenBVE/OldCode/
H A DTrainManager.cs57 if (Trains[i].Cars[k].CurrentSpeed < Trains[j].Cars[0].CurrentSpeed) in UpdateTrains()
59 double v = Trains[j].Cars[0].CurrentSpeed - Trains[i].Cars[k].CurrentSpeed; in UpdateTrains()
63 Trains[i].Cars[k].CurrentSpeed = s; in UpdateTrains()
64 Trains[j].Cars[0].CurrentSpeed = s; in UpdateTrains()
108 Trains[i].Cars[h].CurrentSpeed = in UpdateTrains()
137 Trains[j].Cars[h].CurrentSpeed = in UpdateTrains()
147 if (Trains[i].Cars[0].CurrentSpeed > Trains[j].Cars[k].CurrentSpeed) in UpdateTrains()
154 Trains[i].Cars[0].CurrentSpeed = s; in UpdateTrains()
155 Trains[j].Cars[k].CurrentSpeed = s; in UpdateTrains()
198 Trains[i].Cars[h].CurrentSpeed = in UpdateTrains()
[all …]
/dports/games/openbve/OpenBVE-1.8.2.1/source/TrainManager/Train/
H A DBrakeSystem.cs77 …Cars[CarIndex].CarBrake.Update(TimeElapsed, Cars[DriverCar].CurrentSpeed, Handles.LocoBrake, out D… in UpdateBrakeSystem()
88 …Cars[CarIndex].CarBrake.Update(TimeElapsed, Cars[DriverCar].CurrentSpeed, Handles.LocoBrake, out D… in UpdateBrakeSystem()
92 …Cars[CarIndex].CarBrake.Update(TimeElapsed, Cars[DriverCar].CurrentSpeed, Handles.Brake, out Decel… in UpdateBrakeSystem()
104 …Cars[CarIndex].CarBrake.Update(TimeElapsed, Cars[DriverCar].CurrentSpeed, Handles.Brake, out Decel… in UpdateBrakeSystem()
112 …Cars[CarIndex].CarBrake.Update(TimeElapsed, Cars[DriverCar].CurrentSpeed, Handles.Brake, out Decel… in UpdateBrakeSystem()
124 …Cars[CarIndex].CarBrake.Update(TimeElapsed, Cars[DriverCar].CurrentSpeed, Handles.Brake, out Decel… in UpdateBrakeSystem()
150 …Cars[CarIndex].CarBrake.Update(TimeElapsed, Cars[DriverCar].CurrentSpeed, Handles.Brake, out Decel… in UpdateBrakeSystem()
162 …Cars[CarIndex].CarBrake.Update(TimeElapsed, Cars[DriverCar].CurrentSpeed, Handles.LocoBrake, out D… in UpdateBrakeSystem()
166 …Cars[CarIndex].CarBrake.Update(TimeElapsed, Cars[DriverCar].CurrentSpeed, Handles.Brake, out Decel… in UpdateBrakeSystem()
175 …Cars[CarIndex].CarBrake.Update(TimeElapsed, Cars[DriverCar].CurrentSpeed, Handles.Brake, out Decel… in UpdateBrakeSystem()
[all …]
H A DTrainBase.cs294 if (CurrentSpeed > CurrentRouteLimit) in Update()
353 else if (CurrentSpeed > CurrentSectionLimit) in Update()
403 double spd = Math.Abs(CurrentSpeed); in Update()
486 if (Handles.EmergencyBrake.Driver & CurrentSpeed > -0.03 & CurrentSpeed < 0.03) in UpdatePhysicsAndControls()
516 Cars[i].CurrentSpeed = 0.0; in UpdateSpeeds()
723 CurrentSpeed = 0.0; in UpdateSpeeds()
729 Cars[i].CurrentSpeed = NewSpeeds[i]; in UpdateSpeeds()
730 CurrentSpeed += NewSpeeds[i]; in UpdateSpeeds()
735 CurrentSpeed *= invcarlen; in UpdateSpeeds()
835 else if (CurrentSpeed > CurrentSectionLimit) in SectionChange()
[all …]
/dports/games/openbve/OpenBVE-1.8.2.1/source/TrainManager/TrackFollowingObject/AI/
H A DTrackFollowingObject.AI.cs94 double oldSpeed = Train.CurrentSpeed; in Trigger()
95 Train.CurrentSpeed = DeltaPosition / TimeElapsed; in Trigger()
96 …Train.Specs.CurrentAverageAcceleration = (int)NewDirection * (Train.CurrentSpeed - oldSpeed) / Tim… in Trigger()
100 Train.CurrentSpeed = 0.0; in Trigger()
115 Car.CurrentSpeed = Train.CurrentSpeed; in Trigger()
116 Car.Specs.PerceivedSpeed = Train.CurrentSpeed; in Trigger()
/dports/games/openbve/OpenBVE-1.8.2.1/source/TrainManager/SafetySystems/
H A DStationAdjustAlarm.cs28 if (baseTrain.CurrentSpeed > -0.277777777777778 & baseTrain.CurrentSpeed < 0.277777777777778) in Update()
/dports/games/0ad/0ad-0.0.23b-alpha/source/tools/atlas/GameInterface/
H A DActorViewer.cpp81 float CurrentSpeed; member
392 m.CurrentSpeed = speed; in SetActor()
402 m.CurrentSpeed = speed; in SetActor()
407 m.CurrentSpeed = 0.f; in SetActor()
417 m.CurrentSpeed = 0.f; in SetActor()
542 if (m.WalkEnabled && m.CurrentSpeed) in Update()
549 z -= m.CurrentSpeed*simFrameLength; in Update()
/dports/lang/fpc-source/fpc-3.2.2/packages/ptc/examples/
H A Dland.pp283 angle, deltaAngle, deltaSpeed, CurrentSpeed, scale, delta: Double;
305 CurrentSpeed := deltaSpeed * 10;
349 PTCKEY_UP: CurrentSpeed := CurrentSpeed + deltaSpeed * delta * scale;
351 PTCKEY_DOWN: CurrentSpeed := CurrentSpeed - deltaSpeed * delta * scale;
358 CurrentSpeed := 0;
370 Inc(x0, Trunc(CurrentSpeed * CosT[index]) div 256);
371 Inc(y0, Trunc(CurrentSpeed * SinT[index]) div 256);
/dports/games/openbve/OpenBVE-1.8.2.1/source/TrainManager/Car/
H A DCarBase.cs361 double speed = Math.Abs(CurrentSpeed); in UpdateRunSounds()
369 if (CurrentSpeed == 0.0) in UpdateRunSounds()
999 double sr = Math.Abs(CurrentSpeed); in UpdateTopplingCantAndSpring()
1230 double v = Math.Abs(CurrentSpeed); in UpdateSpeed()
1404 if (CurrentSpeed >= -0.01 & CurrentSpeed <= 0.01) in UpdateSpeed()
1483 target = CurrentSpeed; in UpdateSpeed()
1508 int d = Math.Sign(CurrentSpeed); in UpdateSpeed()
1522 if (Math.Abs(CurrentSpeed) > c) in UpdateSpeed()
1524 Speed = CurrentSpeed - d * c; in UpdateSpeed()
1535 if (Math.Abs(CurrentSpeed) > c) in UpdateSpeed()
[all …]
/dports/games/openbve/OpenBVE-1.8.2.1/source/OpenBVE/Game/Score/
H A DScore.cs76 if (Math.Abs(TrainManager.PlayerTrain.CurrentSpeed) < 0.1) in Update()
92 OpenedDoorsCounter += (Math.Abs(TrainManager.PlayerTrain.CurrentSpeed) + 0.25) * TimeElapsed; in Update()
109 double a = Math.Abs(TrainManager.PlayerTrain.CurrentSpeed) - 0.277777777777778; in Update()
320 …nStopState.Pending & (TrainManager.PlayerTrain.CurrentSpeed < -1.5 | TrainManager.PlayerTrain.Curr… in Update()
/dports/sysutils/edk2/edk2-platforms-89f6170d/Silicon/Hisilicon/Drivers/Smbios/ProcessorSubClassDxe/
H A DProcessorSubClass.c478 UINT16 CurrentSpeed; in AddSmbiosProcessorTypeTable() local
503 CurrentSpeed = GetCpuFrequency(ProcessorNumber); in AddSmbiosProcessorTypeTable()
542 CurrentSpeed = 0; in AddSmbiosProcessorTypeTable()
599 Type4Record->CurrentSpeed = CurrentSpeed; in AddSmbiosProcessorTypeTable()
/dports/games/openbve/OpenBVE-1.8.2.1/source/OpenBVE/Game/AI/
H A DAI.SimpleHuman.cs89 double spd = Train.CurrentSpeed; in PerformDefault()
207 …CurrentRoute.Stations[Train.Station].OpenRightDoors) & Math.Abs(Train.CurrentSpeed) < 0.25 & Train… in PerformDefault()
270 …CurrentRoute.Stations[Train.Station].OpenRightDoors) & Math.Abs(Train.CurrentSpeed) < 0.25 & Train… in PerformDefault()
290 …CurrentRoute.Stations[Train.Station].OpenRightDoors) & Math.Abs(Train.CurrentSpeed) < 0.25 & Train… in PerformDefault()
299 …e.Stations[Train.Station].Stops[stopIndex].ForwardTolerance && Math.Abs(Train.CurrentSpeed) < 0.25) in PerformDefault()
390 …tionAtServiceMaximumPressure(Train.Handles.Brake.Actual, Train.Cars[Train.DriverCar].CurrentSpeed); in PerformDefault()
826 …if (Train.Handles.Power.Driver == 0 && Train.CurrentSpeed > powerend && Train.Specs.CurrentAverage… in PerformDefault()
835 if (Train.CurrentSpeed < powerend) in PerformDefault()
959 if(Train.Cars[Train.DriverCar].Windscreen.Wipers.CurrentSpeed != WiperSpeed.Off) in PerformDefault()
966 switch (Train.Cars[Train.DriverCar].Windscreen.Wipers.CurrentSpeed) in PerformDefault()
[all …]
/dports/games/openbve/OpenBVE-1.8.2.1/source/ObjectViewer/Trains/
H A DNearestTrainStatus.cs53 car.CurrentSpeed = Speed / 3.6; in Apply()
112 car.CurrentSpeed = 0.0; in Initialize()
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/ArmPkg/Universal/Smbios/ProcessorSubClassDxe/
H A DProcessorSubClass.c626 MiscProcessorData.CurrentSpeed = 0; in AddSmbiosProcessorTypeTable()
660 Type4Record->CurrentSpeed = MiscProcessorData.CurrentSpeed; in AddSmbiosProcessorTypeTable()
673 Type4Record->CurrentSpeed = GetCpuFrequency (ProcessorIndex); in AddSmbiosProcessorTypeTable()
/dports/sysutils/edk2/edk2-edk2-stable202102/ArmPkg/Universal/Smbios/ProcessorSubClassDxe/
H A DProcessorSubClass.c626 MiscProcessorData.CurrentSpeed = 0; in AddSmbiosProcessorTypeTable()
660 Type4Record->CurrentSpeed = MiscProcessorData.CurrentSpeed; in AddSmbiosProcessorTypeTable()
673 Type4Record->CurrentSpeed = GetCpuFrequency (ProcessorIndex); in AddSmbiosProcessorTypeTable()
/dports/games/openbve/OpenBVE-1.8.2.1/source/OpenBVE/Game/
H A DMessageManager.TextualMessages.cs49 double spd = Math.Abs(TrainManager.PlayerTrain.CurrentSpeed); in Update()
79 double spd = Math.Abs(TrainManager.PlayerTrain.CurrentSpeed); in Update()
/dports/games/openbve/OpenBVE-1.8.2.1/source/TrainManager/SafetySystems/Plugin/AI/
H A DPluginAI.UKDt.cs90 overCurrentSpeed = Plugin.Train.CurrentSpeed; in Perform()
104 if (Plugin.Train.CurrentSpeed < overCurrentSpeed + 10) in Perform()
/dports/games/openbve/OpenBVE-1.8.2.1/source/RouteViewer/Audio/
H A DSounds.Update.cs30 …listenerVelocity = car.CurrentSpeed * Vector3.Normalize(diff) + Program.Renderer.Camera.AlignmentS… in UpdateLinearModel()
106 velocity = Car.CurrentSpeed * direction; in UpdateLinearModel()
270 listenerVelocity = car.CurrentSpeed * Vector3.Forward; in UpdateInverseModel()
272 listenerVelocity = car.CurrentSpeed * Vector3.Normalize(diff); in UpdateInverseModel()
505 velocity = Car.CurrentSpeed * direction; in UpdateInverseModel()
/dports/games/openbve/OpenBVE-1.8.2.1/source/OpenBveApi/Train/
H A DAbstractCar.cs28 public double CurrentSpeed; field in OpenBveApi.Trains.AbstractCar
H A DAbstractTrain.cs33 public double CurrentSpeed; field in OpenBveApi.Trains.AbstractTrain
/dports/games/openbve/OpenBVE-1.8.2.1/source/OpenBVE/System/
H A DScripting.cs82 return Train.Cars[0].CurrentSpeed; in speed()
84 return Train.Cars[CarIndex].CurrentSpeed; in speed()
131 (double) Math.Sign(Train.Cars[j].CurrentSpeed); in accelerationMotor()
156 (double) Math.Sign(Train.Cars[CarIndex].CurrentSpeed); in accelerationMotor()
/dports/games/openbve/OpenBVE-1.8.2.1/source/OpenBVE/Audio/
H A DSounds.Update.cs31 …listenerVelocity = car.CurrentSpeed * Vector3.Normalize(diff) + Program.Renderer.Camera.AlignmentS… in UpdateLinearModel()
108 velocity = Car.CurrentSpeed * direction; in UpdateLinearModel()
280 listenerVelocity = car.CurrentSpeed * Vector3.Forward; in UpdateInverseModel()
282 listenerVelocity = car.CurrentSpeed * Vector3.Normalize(diff); in UpdateInverseModel()
521 velocity = Car.CurrentSpeed * direction; in UpdateInverseModel()
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/ArmPkg/Include/Library/
H A DOemMiscLib.h33 UINT16 CurrentSpeed; ///< Current clock speed in MHz member
/dports/sysutils/edk2/edk2-edk2-stable202102/ArmPkg/Include/Library/
H A DOemMiscLib.h33 UINT16 CurrentSpeed; ///< Current clock speed in MHz
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/message/fusion/
H A Dmptfc.c691 new_speed = pp0dest->CurrentSpeed; in mptfc_display_port_link_speed()
792 pp0dest->CurrentSpeed = le32_to_cpu(pp0dest->CurrentSpeed); in mptfc_GetFcPortPage0()
1017 if (pp0->CurrentSpeed == MPI_FCPORTPAGE0_CURRENT_SPEED_1GBIT) in mptfc_init_host_attr()
1019 else if (pp0->CurrentSpeed == MPI_FCPORTPAGE0_CURRENT_SPEED_2GBIT) in mptfc_init_host_attr()
1021 else if (pp0->CurrentSpeed == MPI_FCPORTPAGE0_CURRENT_SPEED_4GBIT) in mptfc_init_host_attr()
1023 else if (pp0->CurrentSpeed == MPI_FCPORTPAGE0_CURRENT_SPEED_10GBIT) in mptfc_init_host_attr()

123456