| 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 | { |
nothing calls this directly
no test coverage detected