| 581 | constexpr int kGameLangsCount = (int)(sizeof(kGameLangs) / sizeof(kGameLangs[0])); |
| 582 | |
| 583 | int FindLangIndex(const char* current) |
| 584 | { |
| 585 | if (!current) |
| 586 | return 0; |
| 587 | for (int i = 0; i < kGameLangsCount; i++) |
| 588 | if (stricmp(current, kGameLangs[i]) == 0) |
| 589 | return i; |
| 590 | return 0; |
| 591 | } |
| 592 | |
| 593 | const char* DebugBool(bool value) |
| 594 | { |
no test coverage detected