MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / stopCursorDrag

Function stopCursorDrag

src/OpenLoco/src/Input.cpp:63–71  ·  view source on GitHub ↗

0x00407231

Source from the content-addressed store, hash-verified

61
62 // 0x00407231
63 void stopCursorDrag()
64 {
65 if (_cursorDragState != 0)
66 {
67 _cursorDragState = 0;
68 Ui::setCursorPos(_cursorDragStart.x, _cursorDragStart.y);
69 Ui::showCursor();
70 }
71 }
72
73 Ui::Point getNextDragOffset()
74 {

Callers 3

quitGameFunction · 0.85
returnToTitleFunction · 0.85
rightMouseButtonReleasedFunction · 0.85

Calls 2

setCursorPosFunction · 0.85
showCursorFunction · 0.85

Tested by

no test coverage detected