MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / CloseControls

Function CloseControls

Descent3/Controls.cpp:626–634  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

624}
625
626void CloseControls() {
627 if (!Control_system_init)
628 return;
629 ResumeControls();
630 DestroyController(Controller);
631 Controller = NULL;
632 mprintf(0, "Closing control system.\n");
633 Control_system_init = false;
634}
635
636// reinits the controller, hence restoring default controller configurations
637void RestoreDefaultControls() {

Callers 2

InitGameEditSystemsFunction · 0.85
ShutdownD3Function · 0.85

Calls 2

ResumeControlsFunction · 0.85
DestroyControllerFunction · 0.50

Tested by

no test coverage detected