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

Function ddio_MouseQueueFlush

ddio/lnxmouse.cpp:532–535  ·  view source on GitHub ↗

resets mouse queue and button info only.

Source from the content-addressed store, hash-verified

530
531// resets mouse queue and button info only.
532void ddio_MouseQueueFlush() {
533 memset(&DIM_buttons, 0, sizeof(DIM_buttons));
534 MB_queue.flush();
535}
536
537// gets a mouse button event, returns false if none.
538bool ddio_MouseGetEvent(int *btn, bool *state) {

Callers 9

flushMethod · 0.85
flushMethod · 0.85
ddio_MouseResetFunction · 0.85
ResumeControlsFunction · 0.85
SaveGameDialogFunction · 0.85
LoadGameDialogFunction · 0.85
PostLevelResultsFunction · 0.85
BuddyDisplayFunction · 0.85
DoUIMethod · 0.85

Calls 1

flushMethod · 0.45

Tested by

no test coverage detected