Expand PreStitchedTextureMap.cpp

add more space for more textures
This commit is contained in:
BlackAstronaut 2026-03-08 15:21:22 -07:00 committed by GitHub
parent 88798b501d
commit 38f6ff9150
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -330,8 +330,8 @@ void PreStitchedTextureMap::loadUVs()
if(iconType != Icon::TYPE_TERRAIN)
{
float horizRatio = 1.0f/16.0f;
float vertRatio = 1.0f/16.0f;
float horizRatio = 1.0f/32.0f;
float vertRatio = 1.0f/32.0f;
ADD_ICON(0, 0, L"helmetCloth")
ADD_ICON(0, 1, L"helmetChain")
@ -648,7 +648,7 @@ void PreStitchedTextureMap::loadUVs()
}
else
{
float horizRatio = 1.0f/16.0f;
float horizRatio = 1.0f/32.0f;
float vertRatio = 1.0f/32.0f;
ADD_ICON(0, 0, L"grass_top")