fix tile type badness

develop
Petr Mrázek 2009-09-21 21:41:19 +00:00
parent 921802ce00
commit e85df7cfc0
1 changed files with 31 additions and 21 deletions

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