Definition at line 700 of file SmartCursorHelper.cs.
701 {
703 {
704 return;
705 }
708 int paintCoatingLookup =
providedInfo.paintCoatingLookup;
709 if (paintLookup != 0 || paintCoatingLookup != 0)
710 {
712 {
714 {
715 Tile tile = Main.tile[
i,
j];
716 if (tile.active() && (false | (paintLookup != 0 && tile.color() != paintLookup) | (paintCoatingLookup == 1 && !tile.fullbrightBlock()) | (paintCoatingLookup == 2 && !tile.invisibleBlock())))
717 {
719 }
720 }
721 }
722 }
724 {
725 float num = -1f;
728 {
730 if (num == -1f ||
num2 < num)
731 {
734 }
735 }
737 {
740 }
741 }
743 }
static List< Tuple< int, int > > _targets
static float Distance(Vector2 value1, Vector2 value2)
References Terraria.GameContent.SmartCursorHelper._targets, Terraria.Tile.active(), Terraria.Tile.color(), Microsoft.Xna.Framework.Vector2.Distance(), Terraria.Tile.fullbrightBlock(), Terraria.Collision.InTileBounds(), Terraria.Tile.invisibleBlock(), and Terraria.Main.tile.
Referenced by Terraria.GameContent.SmartCursorHelper.SmartCursorLookup().