72926 {
72929 {
72930 flag = (GenVars.crimsonLeft && i < Main.maxTilesX / 2) || ((!
GenVars.
crimsonLeft && i > Main.maxTilesX / 2) ?
true :
false);
72931 }
72932 byte type = 202;
72933 byte wall = 82;
72934 Vector2D
vector2D =
new Vector2D(i,
j);
72937 {
72939 }
72942 vector2D.X = i + (
num12 + 2) *
num;
72944 for (
int k =
j - 15;
k <
j + 30;
k++)
72945 {
72947 if (tile.active())
72948 {
72949 vector2D.Y =
k - 1;
72950 break;
72951 }
72952 }
72953 vector2D.X = i;
72959 {
72961 }
72962 if (
num25 > Main.maxTilesX)
72963 {
72964 num25 = Main.maxTilesX;
72965 }
72967 {
72969 }
72970 if (
num27 > Main.maxTilesY)
72971 {
72972 num27 = Main.maxTilesY;
72973 }
72975 {
72977 {
72979 {
72980 tile = Main.tile[
l,
m];
72981 tile.active(active:
true);
72982 tile = Main.tile[
l,
m];
72983 tile.liquid = 0;
72984 tile = Main.tile[
l,
m];
72985 tile.type = type;
72986 tile = Main.tile[
l,
m];
72987 tile.wall = 0;
72988 tile = Main.tile[
l,
m];
72989 tile.halfBrick(halfBrick:
false);
72990 tile = Main.tile[
l,
m];
72991 tile.slope(0);
72992 }
72993 }
72994 }
73000 {
73002 }
73003 if (
num25 > Main.maxTilesX)
73004 {
73005 num25 = Main.maxTilesX;
73006 }
73008 {
73010 }
73011 if (
num27 > Main.maxTilesY)
73012 {
73013 num27 = Main.maxTilesY;
73014 }
73016 {
73018 {
73020 {
73021 tile = Main.tile[
n,
num28];
73022 if (tile.wall == 0)
73023 {
73024 tile = Main.tile[
n,
num28];
73025 tile.active(active:
false);
73026 tile = Main.tile[
n,
num28];
73027 tile.wall = wall;
73028 }
73029 }
73030 }
73031 }
73035 {
73037 tile.active(active:
false);
73039 tile.active(active:
false);
73041 tile.active(active:
false);
73042 }
73044 {
73046 {
73048 }
73049 else
73050 {
73052 }
73053 }
73054 else
73055 {
73057 }
73060 {
73062 tile.active(active:
true);
73064 tile.liquid = 0;
73066 tile.type = type;
73068 tile.wall = 0;
73070 tile.halfBrick(halfBrick:
false);
73072 tile.slope(0);
73073 }
73077 {
73079 }
73081 {
73082 case 0:
73084 break;
73085 case 1:
73087 break;
73088 case 2:
73090 break;
73091 case 3:
73093 break;
73094 }
73096 {
73098 }
73099 else
73100 {
73102 }
73104 {
73106 {
73110 {
73112 if (tile.type == 202)
73113 {
73114 continue;
73115 }
73116 }
73118 if (!tile.active())
73119 {
73122 if (tile.active())
73123 {
73125 break;
73126 }
73127 }
73128 }
73129 }
73132 {
73137 {
73139 }
73142 {
73144 {
73146 tile.wall = 21;
73147 }
73148 }
73150 {
73152 {
73154 tile.wall = 21;
73155 }
73156 }
73157 }
73160 {
73162 {
73166 }
73167 else
73168 {
73172 }
73173 }
73174 else
73175 {
73179 }
73181 tile.frameX += 18;
73183 tile.frameX += 18;
73185 {
73193 {
73196 }
73197 else
73198 {
73201 }
73203 }
73205 {
73206 return;
73207 }
73210 {
73214 if (!tile.active())
73215 {
73218 if (tile.active())
73219 {
73221 }
73222 }
73224 {
73225 break;
73226 }
73227 }
73228 }
static int skyIslandHouseCount
static bool remixWorldGen
static bool GrowPalmTree(int i, int y)
static bool PlaceTile(int i, int j, int Type, bool mute=false, bool forced=false, int plr=-1, int style=0)
static UnifiedRandom genRand
static bool AddBuriedChest(Point point, int contain=0, bool notNearOtherChests=false, int Style=-1)
static void SwitchFountain(int i, int j)
static bool drunkWorldGen
static bool getGoodWorldGen
static void Place2xX(int x, int y, ushort type, int style=0)