|
|
|
@ -409,7 +409,17 @@ bool isStairTerrain(int in)
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool isOpenTerrain(int in)
|
|
|
|
|
{
|
|
|
|
|
switch (in)
|
|
|
|
|
{
|
|
|
|
|
case 1: // slope down
|
|
|
|
|
case 32: //open space
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
/*
|
|
|
|
|
bool isOpenTerrain(int in)
|
|
|
|
|
{
|
|
|
|
|
switch (in)
|
|
|
|
@ -461,7 +471,7 @@ bool isOpenTerrain(int in)
|
|
|
|
|
case 81: //featstone pillar
|
|
|
|
|
case 82: //minstone pillar
|
|
|
|
|
case 83: //frozen liquid pillar
|
|
|
|
|
*/
|
|
|
|
|
*//*
|
|
|
|
|
case 231: //sapling
|
|
|
|
|
case 233: //ramp grass dry
|
|
|
|
|
case 234: //ramp grass dead
|
|
|
|
@ -554,8 +564,8 @@ bool isOpenTerrain(int in)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}*/
|
|
|
|
|
/*
|
|
|
|
|
int picktexture(int in)
|
|
|
|
|
{
|
|
|
|
|
switch ( in )
|
|
|
|
@ -1036,7 +1046,7 @@ int picktexture(int in)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return 6;
|
|
|
|
|
}
|
|
|
|
|
}*/
|
|
|
|
|
int getVegetationType(int in)
|
|
|
|
|
{
|
|
|
|
|
switch(in)
|
|
|
|
|