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

Function ddio_MouseGetLimits

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

Source from the content-addressed store, hash-verified

141}
142
143void ddio_MouseGetLimits(int *left, int *top, int *right, int *bottom, int *zmin, int *zmax) {
144 *left = DDIO_mouse_state.l;
145 *top = DDIO_mouse_state.t;
146 *right = DDIO_mouse_state.r;
147 *bottom = DDIO_mouse_state.b;
148
149 if (zmin)
150 *zmin = 0;
151 if (zmax)
152 *zmax = 10;
153}
154
155void ddio_MouseReset() {
156 ddio_MouseSetLimits(0, 0, Lnx_app_obj->m_W, Lnx_app_obj->m_H);

Callers 2

enum_controllersMethod · 0.85
enum_controllersMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected