Fixed frills, walkways, and wall round-cornering, but somehow broke special spots.

git-svn-id: http://openexile.googlecode.com/svn/trunk@62 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
2009-05-21 21:56:34 +00:00
parent 70c7895480
commit 8ddf7eccc6
4 changed files with 98 additions and 16 deletions

View File

@@ -815,7 +815,7 @@ Rect get_item_template_rect (short type_wanted)////
return store_rect;
}
// Is this is subterranean fluid that gets shore plopped down on it?
// Is this a fluid that gets shore plopped down on it?
bool is_fluid(unsigned short ter_type)////
{
// if (((ter_type >= 71) && (ter_type <= 76)) || (ter_type == 90))
@@ -824,12 +824,12 @@ bool is_fluid(unsigned short ter_type)////
return scenario.ter_types[ter_type].trim_type == TRIM_FRILLS;
}
// Is this is subterranean beach that gets shore plopped down next to it?
// Is this a beach that gets shore plopped down next to it?
bool is_shore(unsigned short ter_type)////
{
if (is_fluid(ter_type) == true)
return false;
if(scenario.ter_types[ter_type].trim_type = TRIM_WATERFALL)
if(scenario.ter_types[ter_type].trim_type == TRIM_WATERFALL)
return false;
// if (ter_type == 77)
// return false;