@@ -415,6 +415,7 @@ class CVehicleSA : public virtual CVehicle, public virtual CPhysicalSA
415415 unsigned char m_ucVariant2;
416416 unsigned char m_ucVariantCount{0 };
417417 bool m_doorsUndamageable{false };
418+ bool m_heliRotorState{true };
418419
419420 std::array<CVector, VEHICLE_DUMMY_COUNT> m_dummyPositions;
420421
@@ -546,6 +547,7 @@ class CVehicleSA : public virtual CVehicle, public virtual CPhysicalSA
546547 bool GetTyresDontBurst () { return GetVehicleInterface ()->m_nVehicleFlags .bTyresDontBurst ; };
547548 unsigned short GetAdjustablePropertyValue () { return *reinterpret_cast <unsigned short *>(reinterpret_cast <unsigned long >(m_pInterface) + 2156 ); };
548549 float GetHeliRotorSpeed ();
550+ bool GetHeliRotorState () const noexcept override { return m_heliRotorState; }
549551 float GetPlaneRotorSpeed ();
550552
551553 unsigned long GetExplodeTime () { return *reinterpret_cast <unsigned long *>(reinterpret_cast <unsigned int >(m_pInterface) + 1240 ); };
@@ -572,6 +574,7 @@ class CVehicleSA : public virtual CVehicle, public virtual CPhysicalSA
572574 *reinterpret_cast <unsigned short *>(reinterpret_cast <unsigned int >(m_pInterface) + 2156 ) = usAdjustableProperty;
573575 };
574576 void SetHeliRotorSpeed (float speed);
577+ void SetHeliRotorState (bool state, bool stopRotor) noexcept override ;
575578 void SetPlaneRotorSpeed (float fSpeed );
576579 bool SetVehicleWheelRotation (float fWheelRot1 , float fWheelRot2 , float fWheelRot3 , float fWheelRot4 ) noexcept ;
577580 void SetExplodeTime (unsigned long ulTime) { *reinterpret_cast <unsigned long *>(reinterpret_cast <unsigned int >(m_pInterface) + 1240 ) = ulTime; };
0 commit comments