Definition at line 65586 of file WorldGen.cs.
65587 {
65588 int num = 16;
65590 {
65594 for (
int j = x - num / 2;
j < x + num / 2;
j++)
65595 {
65596 for (
int k = y - num / 2;
k < y + num / 2;
k++)
65597 {
65601 {
65602 Main.tile[
j,
k].active(active:
true);
65603 Main.tile[
j,
k].type = 203;
65604 Main.tile[
j,
k].wall = 83;
65605 }
65606 }
65607 }
65608 }
65610 {
65614 for (
int m =
x2 - num / 2;
m <
x2 + num / 2;
m++)
65615 {
65616 for (
int n =
y2 - num / 2;
n <
y2 + num / 2;
n++)
65617 {
65621 {
65622 Main.tile[
m,
n].active(active:
false);
65623 Main.tile[
m,
n].wall = 83;
65624 }
65625 }
65626 }
65627 }
65629 {
65631 }
65632 }
static double Sqrt(double d)
static double Abs(double value)
static void AddShadowOrb(int x, int y)
static UnifiedRandom genRand
References System.Math.Abs(), System.Math.Sqrt(), Terraria.Main.tile, System.X, and System.Y.
Referenced by Terraria.WorldGen.GenerateWorld().