MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / writeKeyValue_Bool

Function writeKeyValue_Bool

TheForceEngine/TFE_System/iniParser.cpp:76–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 }
75
76 void writeKeyValue_Bool(FileStream& file, const char* key, bool value)
77 {
78 snprintf(s_lineBuffer, LINEBUF_LEN, "%s=%s\r\n", key, value ? "true" : "false");
79 file.writeBuffer(s_lineBuffer, (u32)strlen(s_lineBuffer));
80 }
81
82 void writeKeyValue_RGBA(FileStream& file, const char* key, RGBA value)
83 {

Callers 6

writeWindowSettingsFunction · 0.85
writeGraphicsSettingsFunction · 0.85
writeSoundSettingsFunction · 0.85
writeSystemSettingsFunction · 0.85
writeA11ySettingsFunction · 0.85

Calls 1

writeBufferMethod · 0.45

Tested by

no test coverage detected