cleanup: flatten dead branches in client render texture and runtime code

This commit is contained in:
MatthewBeshay
2026-03-26 20:29:59 +11:00
parent f19563bbd7
commit 12ff12a263
68 changed files with 169 additions and 6669 deletions

View File

@@ -88,14 +88,6 @@ std::vector<Texture*>* TextureManager::createTextures(
if (texturePack->hasFile(L"res/" + filename, false)) {
drive = texturePack->getPath(true);
} else {
#if 0
if (app.GetBootedFromDiscPatch()) {
const char* pchTextureName = wstringtofilename(filename);
char* pchUsrDir = app.GetBDUsrDirPath(pchTextureName);
std::wstring wstr(pchUsrDir, pchUsrDir + strlen(pchUsrDir));
drive = wstr + L"\\Common\\res\\TitleUpdate\\";
} else
#endif
{
drive =
Minecraft::GetInstance()->skins->getDefault()->getPath(true);
@@ -142,7 +134,7 @@ std::vector<Texture*>* TextureManager::createTextures(
// Minecraft.getInstance().getLogger().warning("TextureManager.createTexture:
// Skipping " + filename + " because of broken aspect ratio and not
// animation");
#ifndef _CONTENT_PACKAGE
#if !defined(_CONTENT_PACKAGE)
wprintf(
L"TextureManager.createTexture: Skipping %ls because of broken "
L"aspect ratio and not animation\n",