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

Function ddio_MouseSetVCoords

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

virtual coordinate system for mouse (match to video resolution set for optimal mouse usage.

Source from the content-addressed store, hash-verified

196
197// virtual coordinate system for mouse (match to video resolution set for optimal mouse usage.
198void ddio_MouseSetVCoords(int width, int height) { ddio_MouseSetLimits(0, 0, width, height); }
199
200int sdlMouseButtonDownFilter(SDL_Event const *event) {
201 ASSERT(event->type == SDL_MOUSEBUTTONDOWN);

Callers 2

ui_SetScreenModeFunction · 0.85
TelComShowFunction · 0.85

Calls 1

ddio_MouseSetLimitsFunction · 0.85

Tested by

no test coverage detected