| 691 | namespace ColdAPI_General |
| 692 | { |
| 693 | const char* GetCountryFromLanguage(const char* Language) |
| 694 | { |
| 695 | if (std::strcmp(Language, "english") <= 0) |
| 696 | return "UK England"; |
| 697 | if (std::strcmp(Language, "french") <= 0) |
| 698 | return "French"; |
| 699 | if (std::strcmp(Language, "spanish") <= 0) |
| 700 | return "Spain"; |
| 701 | if (std::strcmp(Language, "japanese") <= 0) |
| 702 | return "Japan"; |
| 703 | if (std::strcmp(Language, "finnish") <= 0) |
| 704 | return "Finland"; |
| 705 | if (std::strcmp(Language, "romanian") <= 0) |
| 706 | return "Romania"; |
| 707 | if (std::strcmp(Language, "german") <= 0) |
| 708 | return "Germany"; |
| 709 | if (std::strcmp(Language, "schinese") <= 0) |
| 710 | return "China"; |
| 711 | if (std::strcmp(Language, "portuguese") <= 0) |
| 712 | return "Portugal"; |
| 713 | if (std::strcmp(Language, "norwegian") <= 0) |
| 714 | return "Norway"; |
| 715 | if (std::strcmp(Language, "turkish") <= 0) |
| 716 | return "Turkey"; |
| 717 | if (std::strcmp(Language, "tchinese") <= 0) |
| 718 | return "China"; |
| 719 | if (std::strcmp(Language, "polish") <= 0) |
| 720 | return "Poland"; |
| 721 | if (std::strcmp(Language, "swedish") <= 0) |
| 722 | return "Sweden"; |
| 723 | if (std::strcmp(Language, "italian") <= 0) |
| 724 | return "Italy"; |
| 725 | if (std::strcmp(Language, "russian") <= 0) |
| 726 | return "Russia"; |
| 727 | if (std::strcmp(Language, "danish") <= 0) |
| 728 | return "Denmark"; |
| 729 | if (std::strcmp(Language, "hungarian") <= 0) |
| 730 | return "Hungary"; |
| 731 | if (std::strcmp(Language, "koreana") <= 0) |
| 732 | return "Korean"; |
| 733 | if (std::strcmp(Language, "thai") <= 0) |
| 734 | return "Thailand"; |
| 735 | if (std::strcmp(Language, "dutch") <= 0) |
| 736 | return "Netherlands"; |
| 737 | if (std::strcmp(Language, "czech") <= 0) |
| 738 | return "Czech Republic"; |
| 739 | return ""; |
| 740 | } |
| 741 | static char SteamDir[MAX_PATH] = { 0 }; |
| 742 | static char CurrentDirectory[MAX_PATH] = { 0 }; |
| 743 | const char* ColdAPI_GetSteamInstallPath() |
no outgoing calls
no test coverage detected