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

Function ClO_SetViewBob

src/MenuOptions.c:584–587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

582
583static cc_bool ClO_GetViewBob(void) { return Game_ViewBobbing; }
584static void ClO_SetViewBob(cc_bool v) {
585 Game_ViewBobbing = v;
586 Options_SetBool(OPT_VIEW_BOBBING, v);
587}
588
589static cc_bool ClO_GetFPS(void) { return Game_FpsLimit == FPS_LIMIT_VSYNC; }
590static void ClO_SetFPS(cc_bool v) {

Callers

nothing calls this directly

Calls 1

Options_SetBoolFunction · 0.85

Tested by

no test coverage detected