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

Function GrO_SetShadows

src/MenuOptions.c:757–761  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755
756static int GrO_GetShadows(void) { return Entities.ShadowsMode; }
757static void GrO_SetShadows(int v) {
758 cc_string str = String_FromReadonly(ShadowMode_Names[v]);
759 Entities.ShadowsMode = v;
760 Options_Set(OPT_ENTITY_SHADOW, &str);
761}
762
763static cc_bool GrO_GetMipmaps(void) { return Gfx.Mipmaps; }
764static void GrO_SetMipmaps(cc_bool v) {

Callers

nothing calls this directly

Calls 2

String_FromReadonlyFunction · 0.85
Options_SetFunction · 0.85

Tested by

no test coverage detected