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

Function MiO_SetSensitivity

src/MenuOptions.c:1158–1161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1156
1157static int MiO_GetSensitivity(void) { return Camera.Sensitivity; }
1158static void MiO_SetSensitivity(int v) {
1159 Camera.Sensitivity = v;
1160 Options_SetInt(OPT_SENSITIVITY, v);
1161}
1162
1163static void MiscSettingsScreen_InitWidgets(struct MenuOptionsScreen* s) {
1164 MenuOptionsScreen_BeginButtons(s);

Callers

nothing calls this directly

Calls 1

Options_SetIntFunction · 0.85

Tested by

no test coverage detected