Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ RefreshSection()

static void Terraria.WorldGen.RefreshSection ( int sectionX,
int sectionY )
inlinestatic

Definition at line 70428 of file WorldGen.cs.

70429 {
70431 noMapUpdate = true;
70432 int totalEcho = 0;
70433 int totalFramed = 0;
70434 for (int i = tileStartY; i < tileEndY; i += 50)
70435 {
70436 for (int j = tileStartX; j < tileEndX; j += 200)
70437 {
70439 }
70440 }
70441 noMapUpdate = false;
70442 Main.sectionManager.SetSectionAsRefreshed(sectionX, sectionY);
70443 }
static byte Min(byte val1, byte val2)
Definition Math.cs:912
static bool noMapUpdate
Definition WorldGen.cs:898
static void GetSectionBounds(int sectionStartX, int sectionStartY, int sectionEndXInclusive, int sectionEndYInclusive, out int tileStartX, out int tileEndX, out int tileStartY, out int tileEndY)
static void RefreshStrip(int xStart, int yStart, int xEnd, int yEnd, ref int totalEcho, ref int totalFramed)

References System.Math.Min(), and Terraria.Main.sectionManager.