MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / getTextureString_WithoutResources

Function getTextureString_WithoutResources

Source/GameToolbox/getTextureString.cpp:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35static 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
45std::string GameToolbox::getTextureString(std::string texture) {

Callers 1

getTextureStringMethod · 0.85

Calls 1

isHighMethod · 0.80

Tested by

no test coverage detected