Definition at line 1977 of file SmartCursorHelper.cs.
1978 {
1980 {
1981 return;
1982 }
1985 {
1987 {
1988 Tile tile = Main.tile[
i,
j];
1998 {
1999 continue;
2000 }
2002 {
2003 case 60:
2004 if (
WorldGen.EmptyTileCheck(i - 2, i + 2,
j - 20,
j, 20))
2005 {
2007 }
2008 break;
2009 case 2:
2010 case 23:
2011 case 53:
2012 case 109:
2013 case 112:
2014 case 116:
2015 case 147:
2016 case 199:
2017 case 234:
2018 case 477:
2019 case 492:
2020 case 633:
2021 case 661:
2022 case 662:
2023 if (
tile4.liquid == 0 && tile.liquid == 0 &&
tile5.liquid == 0 &&
WorldGen.EmptyTileCheck(i - 2, i + 2,
j - 20,
j, 20))
2024 {
2026 }
2027 break;
2028 }
2029 }
2030 }
2033 {
2034 bool flag = false;
2035 for (
int l = -1;
l < 2;
l += 2)
2036 {
2039 {
2041 {
2042 case 2:
2043 case 23:
2044 case 53:
2045 case 60:
2046 case 109:
2047 case 112:
2048 case 116:
2049 case 147:
2050 case 199:
2051 case 234:
2052 case 477:
2053 case 492:
2054 case 633:
2055 case 661:
2056 case 662:
2057 flag = true;
2058 break;
2059 }
2060 }
2061 }
2062 if (!flag)
2063 {
2065 }
2066 }
2068 {
2070 }
2073 {
2074 float num = -1f;
2077 {
2079 if (num == -1f ||
num2 < num)
2080 {
2083 }
2084 }
2086 {
2089 }
2090 }
2092 }
static List< Tuple< int, int > > _targets
static List< Tuple< int, int > > _toRemove
static bool[] BreakableWhenPlacing
static bool[] CommonSapling
static float Distance(Vector2 value1, Vector2 value2)
References Terraria.GameContent.SmartCursorHelper._targets, Terraria.GameContent.SmartCursorHelper._toRemove, Terraria.Tile.active(), Terraria.ID.TileID.Sets.BreakableWhenPlacing, Terraria.ID.TileID.Sets.CommonSapling, Microsoft.Xna.Framework.Vector2.Distance(), Terraria.WorldGen.EmptyTileCheck(), Terraria.Collision.InTileBounds(), Terraria.Tile.liquid, Terraria.WorldGen.SolidTile2(), Terraria.Main.tile, Terraria.Main.tileCut, and Terraria.Tile.type.
Referenced by Terraria.GameContent.SmartCursorHelper.SmartCursorLookup().