MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / ClO_SetInvert

Function ClO_SetInvert

src/MenuOptions.c:548–551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546
547static cc_bool ClO_GetInvert(void) { return Camera.Invert; }
548static void ClO_SetInvert(cc_bool v) {
549 Camera.Invert = v;
550 Options_SetBool(OPT_INVERT_MOUSE, v);
551}
552
553static int ClO_GetViewDist(void) {
554 if (Game_ViewDistance >= 512) return VIEW_FAR;

Callers

nothing calls this directly

Calls 1

Options_SetBoolFunction · 0.85

Tested by

no test coverage detected