----------------------------- LOAD CONFIG FXNS ------------------------------------------
| 40 | |
| 41 | //----------------------------- LOAD CONFIG FXNS ------------------------------------------ |
| 42 | std::string envKeyName(const char *pszKey, const char *pszItem) |
| 43 | { |
| 44 | return "BWAPI_CONFIG_" + Util::to_upper_copy(pszKey) + "__" + Util::to_upper_copy(pszItem); |
| 45 | } |
| 46 | std::string LoadConfigStringFromFile(const char *pszKey, const char *pszItem, const char *pszDefault) |
| 47 | { |
| 48 | char buffer[MAX_PATH]; |
no test coverage detected