Definition at line 6056 of file WorldGen.cs.
6057 {
6059 {
6060 return false;
6061 }
6068 {
6072 while (
list.Count > 0)
6073 {
6075 {
6076 return false;
6077 }
6080 {
6082 continue;
6083 }
6085 {
6087 continue;
6088 }
6092 if (tile.wall != 0)
6093 {
6095 {
6097 }
6098 else
6099 {
6101 }
6102 continue;
6103 }
6104 bool flag = false;
6105 if (!flag)
6106 {
6108 for (
int i =
item.X - 1;
i <= item.X + 1;
i++)
6109 {
6110 if (!Main.tile[i, y].active())
6111 {
6112 flag = true;
6113 break;
6114 }
6115 }
6116 }
6117 if (!flag)
6118 {
6120 for (
int j =
item.Y - 1;
j <= item.Y + 1;
j++)
6121 {
6122 if (!Main.tile[x,
j].active())
6123 {
6124 flag = true;
6125 break;
6126 }
6127 }
6128 }
6129 if (flag)
6130 {
6133 {
6135 }
6138 {
6140 }
6143 {
6145 }
6148 {
6150 }
6151 }
6152 }
6153 }
6155 {
6156 return false;
6157 }
6158 ushort wall = 0;
6159 int num = -1;
6161 {
6162 if (
item3.Value > num)
6163 {
6166 }
6167 }
6168 if (num == -1)
6169 {
6170 wall = 2;
6171 }
6173 {
6175 if (
tile2.wall == 0)
6176 {
6177 tile2.wall = wall;
6178 }
6179 }
6180 return true;
6181 }
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
bool ICollection< KeyValuePair< TKey, TValue > >. Contains(KeyValuePair< TKey, TValue > keyValuePair)
void AddRange(IEnumerable< KeyValuePair< TKey, TValue > > collection)
void Add(TKey key, TValue value)
static bool InWorld(int x, int y, int fluff=0)
References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Collections.Generic.Dictionary< TKey, TValue >.AddRange(), System.Collections.Generic.Dictionary< TKey, TValue >.Clear(), System.Collections.Generic.Dictionary< TKey, TValue >.Contains(), System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.dictionary, Terraria.WorldGen.InWorld(), System.item, System.list, System.Collections.Generic.Dictionary< TKey, TValue >.Remove(), Terraria.Main.tile, and Terraria.Tile.wall.
Referenced by Terraria.WorldGen.FillWallHolesInColumn().