Definition at line 45719 of file WorldGen.cs.
45720 {
45722 if (tileCache.nactive())
45723 {
45724 if ((anchor &
AnchorType.SolidTile) ==
AnchorType.SolidTile && Main.tileSolid[tileCache.type] && !Main.tileSolidTop[tileCache.type] && !Main.tileNoAttach[tileCache.type] && tileCache.blockType() == 0)
45725 {
45727 }
45728 if ((anchor &
AnchorType.SolidBottom) ==
AnchorType.SolidBottom && ((Main.tileSolid[tileCache.type] && (!Main.tileSolidTop[tileCache.type] || (
TileID.
Sets.
Platforms[tileCache.type] && (tileCache.halfBrick() || tileCache.topSlope())))) || tileCache.topSlope() || tileCache.halfBrick()) && !
TileID.
Sets.
NotReallySolid[tileCache.type] && !tileCache.bottomSlope())
45729 {
45731 }
45733 {
45735 {
45737 if ((!tileCache.halfBrick() &&
num >= 0 &&
num <= 7) || (
num >= 12 &&
num <= 16) || (
num >= 25 &&
num <= 26))
45738 {
45740 }
45741 }
45742 else if (Main.tileSolid[tileCache.type] && Main.tileSolidTop[tileCache.type])
45743 {
45745 }
45746 }
45748 {
45750 }
45751 if (!
flag && (anchor &
AnchorType.SolidSide) ==
AnchorType.SolidSide && Main.tileSolid[tileCache.type] && !Main.tileSolidTop[tileCache.type] && (uint)(tileCache.blockType() - 4) <= 1
u)
45752 {
45754 }
45755 }
45757 {
45759 }
45761 }
static bool[] NotReallySolid
static int PlatformFrameWidth()
References Terraria.Tile.blockType(), Terraria.Tile.bottomSlope(), Terraria.Tile.halfBrick(), Terraria.Tile.nactive(), Terraria.ID.TileID.Sets.NotReallySolid, Terraria.ObjectData.TileObjectData.PlatformFrameWidth(), Terraria.ID.TileID.Sets.Platforms, Terraria.Main.tileNoAttach, Terraria.Main.tileSolid, Terraria.Main.tileSolidTop, Terraria.Main.tileTable, Terraria.Tile.topSlope(), and Terraria.Tile.type.