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

Function GrO_SetSmooth

src/MenuOptions.c:733–738  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

731
732static cc_bool GrO_GetSmooth(void) { return Builder_SmoothLighting; }
733static void GrO_SetSmooth(cc_bool v) {
734 Builder_SmoothLighting = v;
735 Options_SetBool(OPT_SMOOTH_LIGHTING, v);
736 Builder_ApplyActive();
737 MapRenderer_Refresh();
738}
739
740static int GrO_GetLighting(void) { return Lighting_Mode; }
741static void GrO_SetLighting(int v) {

Callers

nothing calls this directly

Calls 3

Options_SetBoolFunction · 0.85
Builder_ApplyActiveFunction · 0.85
MapRenderer_RefreshFunction · 0.85

Tested by

no test coverage detected