MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / StopRumble

Function StopRumble

TombEngine/Specific/Input/Input.cpp:716–731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

714 }
715
716 void StopRumble()
717 {
718 if (!OisRumble || !OisEffect)
719 return;
720
721 try
722 {
723 OisRumble->remove(OisEffect);
724 }
725 catch (OIS::Exception& ex)
726 {
727 TENLog("Error when stopping vibration effect: " + std::string(ex.eText), LogLevel::Error);
728 }
729
730 RumbleInfo = {};
731 }
732
733 static void ApplyBindings(const BindingProfile& set)
734 {

Callers 4

UpdateRumbleFunction · 0.85
FreezePhaseFunction · 0.85
EndGameLoopFunction · 0.85
HandleMenuCallsFunction · 0.85

Calls 1

TENLogFunction · 0.85

Tested by

no test coverage detected