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

Function NF_SetCPE

src/MenuOptions.c:1301–1305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1299
1300static cc_bool NF_GetCPE(void) { return Game_Version.HasCPE; }
1301static void NF_SetCPE(cc_bool v) {
1302 Options_SetBool(OPT_CPE, v);
1303 GameVersion_Load();
1304 NostalgiaScreen_UpdateVersionDisabled();
1305}
1306
1307static void NostalgiaScreen_Version(void* screen, void* widget) {
1308 struct MenuOptionsScreen* s = (struct MenuOptionsScreen*)screen;

Callers

nothing calls this directly

Calls 3

Options_SetBoolFunction · 0.85
GameVersion_LoadFunction · 0.85

Tested by

no test coverage detected