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

Function GrO_SetNames

src/MenuOptions.c:750–754  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

748
749static int GrO_GetNames(void) { return Entities.NamesMode; }
750static void GrO_SetNames(int v) {
751 cc_string str = String_FromReadonly(NameMode_Names[v]);
752 Entities.NamesMode = v;
753 Options_Set(OPT_NAMES_MODE, &str);
754}
755
756static int GrO_GetShadows(void) { return Entities.ShadowsMode; }
757static void GrO_SetShadows(int v) {

Callers

nothing calls this directly

Calls 2

String_FromReadonlyFunction · 0.85
Options_SetFunction · 0.85

Tested by

no test coverage detected