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

Function init

TheForceEngine/TFE_A11y/accessibility.cpp:97–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 static string s_pendingFontPath;
96
97 void init()
98 {
99 if (TFE_Settings::getA11ySettings()->captionSystemEnabled())
100 {
101 assert(s_captionsStatus == CC_NOT_LOADED);
102
103 TFE_System::logWrite(LOG_MSG, "a11y", "Initializing caption system...");
104 CCMD("showCaption", enqueueCaption, 1, "Display a test caption. Example: showCaption \"Hello, world\"");
105 findFiles();
106 }
107 CVAR_BOOL(s_logSFXNames, "d_logSFXNames", CVFLAG_DO_NOT_SERIALIZE, "If enabled, log the name of each sound effect that plays.");
108 }
109
110 void refreshFiles()
111 {

Callers

nothing calls this directly

Calls 4

getA11ySettingsFunction · 0.85
logWriteFunction · 0.85
findFilesFunction · 0.85
captionSystemEnabledMethod · 0.80

Tested by

no test coverage detected