mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Expand PreStitchedTextureMap.cpp
add more space for more textures
This commit is contained in:
parent
88798b501d
commit
38f6ff9150
|
|
@ -330,8 +330,8 @@ void PreStitchedTextureMap::loadUVs()
|
||||||
|
|
||||||
if(iconType != Icon::TYPE_TERRAIN)
|
if(iconType != Icon::TYPE_TERRAIN)
|
||||||
{
|
{
|
||||||
float horizRatio = 1.0f/16.0f;
|
float horizRatio = 1.0f/32.0f;
|
||||||
float vertRatio = 1.0f/16.0f;
|
float vertRatio = 1.0f/32.0f;
|
||||||
|
|
||||||
ADD_ICON(0, 0, L"helmetCloth")
|
ADD_ICON(0, 0, L"helmetCloth")
|
||||||
ADD_ICON(0, 1, L"helmetChain")
|
ADD_ICON(0, 1, L"helmetChain")
|
||||||
|
|
@ -648,7 +648,7 @@ void PreStitchedTextureMap::loadUVs()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
float horizRatio = 1.0f/16.0f;
|
float horizRatio = 1.0f/32.0f;
|
||||||
float vertRatio = 1.0f/32.0f;
|
float vertRatio = 1.0f/32.0f;
|
||||||
|
|
||||||
ADD_ICON(0, 0, L"grass_top")
|
ADD_ICON(0, 0, L"grass_top")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue