| 114 | //=========================================================================== |
| 115 | |
| 116 | FTextureID LoadSkin(const char * path, const char * fn) |
| 117 | { |
| 118 | FString buffer; |
| 119 | |
| 120 | buffer.Format("%s%s", path, fn); |
| 121 | |
| 122 | int texlump = FindGFXFile(buffer); |
| 123 | const char * const texname = texlump < 0 ? fn : fileSystem.GetFileFullName(texlump); |
| 124 | return TexMan.CheckForTexture(texname, ETextureType::Any, FTextureManager::TEXMAN_TryAny | FTextureManager::TEXMAN_ForceLookup); |
| 125 | } |
| 126 | |
| 127 | //=========================================================================== |
| 128 | // |
no test coverage detected