| 33 | } |
| 34 | |
| 35 | static inline std::string getTextureString_WithoutResources(std::string texture) |
| 36 | { |
| 37 | auto pos = texture.find('.'); |
| 38 | if (pos != std::string::npos) { |
| 39 | texture.insert(pos, GameManager::getInstance()->isHigh() ? "-uhd" : "-hd"); |
| 40 | } |
| 41 | return texture; |
| 42 | } |
| 43 | |
| 44 | |
| 45 | std::string GameToolbox::getTextureString(std::string texture) { |
no test coverage detected