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

Function Options_Load

src/Options.c:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void Options_Load(void) {
43 /* Increase from max 512 to 2048 per entry */
44 StringsBuffer_SetLengthBits(&Options, 11);
45 Options_LoadResult = EntryList_Load(&Options, "options-default.txt", '=', NULL);
46 Options_LoadResult = EntryList_Load(&Options, "options.txt", '=', NULL);
47}
48
49void Options_Reload(void) {
50 cc_string entry, key, value;

Callers 1

SetupProgramFunction · 0.85

Calls 2

EntryList_LoadFunction · 0.85

Tested by

no test coverage detected