20069 {
20070
20071
20072
20073
20074 int num = 0;
20075 int[]
array =
new int[1000];
20076 int[]
array2 =
new int[1000];
20077 int[]
array3 =
new int[1000];
20078 int[]
array4 =
new int[1000];
20080 int[]
array5 =
new int[2000];
20081 int[]
array6 =
new int[2000];
20082 bool[]
array7 =
new bool[2000];
20086 {
20088 {
20090 }
20091 else
20092 {
20094 }
20095 }
20101 bool flag = true;
20106 Main.tileSolid[48] = false;
20107 while (flag)
20108 {
20111 {
20116 {
20118 }
20120 {
20125 {
20127 }
20130 }
20131 else
20132 {
20137 {
20139 }
20142 }
20144 {
20145 flag = false;
20146 }
20147 num++;
20148 }
20150 {
20151 Main.tile[
k,
num10].type = 191;
20154 Main.tile[
k,
num10].slope(0);
20155 Main.tile[
k,
num10].color(28);
20156 }
20158 }
20159 for (
int l = 0;
l < num - 1;
l++)
20160 {
20170 {
20178 {
20180 }
20181 else
20182 {
20184 }
20186 {
20188 }
20189 else if (
genRand.Next(2) == 0)
20190 {
20193 {
20206 }
20207 else
20208 {
20221 }
20222 }
20224 {
20228 }
20229 }
20230 }
20237 {
20243 {
20245 }
20247 {
20249 }
20250 for (
int m = -1;
m < 2;
m++)
20251 {
20253 {
20254 continue;
20255 }
20260 {
20262 }
20264 {
20266 }
20269 {
20277 {
20282 }
20284 {
20290 }
20292 {
20294 }
20295 else if (
genRand.Next(3) == 0)
20296 {
20313 }
20314 }
20315 }
20320 {
20326 }
20329 }
20331 {
20335 {
20337 {
20339 }
20340 Main.tile[
n,
num28].type = 191;
20343 Main.tile[
n,
num28].slope(0);
20345 }
20349 {
20356 {
20358 }
20363 {
20367 {
20372 }
20375 {
20380 }
20382 {
20385 }
20387 {
20389 }
20391 {
20393 }
20394 }
20395 }
20396 }
20398 {
20400 {
20404 {
20406 }
20413 {
20415 {
20417 {
20418 continue;
20419 }
20421 {
20424 {
20429 }
20430 }
20432 {
20437 }
20438 }
20439 }
20440 }
20441 }
20443 Main.tileSolid[48] = true;
20444 return true;
20445 }
static double Abs(double value)
static bool remixWorldGen
static UnifiedRandom genRand
static void GrowDungeonTree_MakePassage(int j, int W, ref int minl, ref int minr, bool noSecretRoom=false)