80154 {
80156 {
80157 return;
80158 }
80161 int frameY = tileCache.frameY;
80162 int num2 = frameY / 54;
80163 num2 += tileCache.frameX / 54 * 36;
80164 num =
j - frameY % 54 / 18;
80165 Tile tile = Main.tile[i,
num - 1];
80170 if (tile == null)
80171 {
80172 tile = (Main.tile[i,
num - 1] =
default(
Tile));
80173 }
80175 {
80177 }
80179 {
80181 }
80183 {
80185 }
80187 {
80189 }
80191 {
80193 }
80195 {
80197 }
80198 if (!
tile2.active() || tile2.type != type)
80199 {
80201 }
80202 if (!
tile3.active() || tile3.type != type)
80203 {
80205 }
80206 if (!
tile4.active() || tile4.type != type)
80207 {
80209 }
80211 {
80218 {
80220 }
80221 }
80223 }
static bool Drop(int i, int j, int type, bool includeLargeObjectDrops=true)
This serves as the central class from which tile-related functions are supported and carried out.
static bool destroyObject
static void KillTile(int i, int j, bool fail=false, bool effectOnly=false, bool noItem=false)
static void DropDoorItem(int x, int y, int doorStyle)