33 public void Update(
int x,
int y,
byte light)
51 if (light == 0 &&
other.Light == 0)
94 text = text2 + Main.worldID +
".map";
110 int num = binaryReader.ReadInt32();
122 Main.clearMap =
true;
124 Main.loadMapLock =
true;
125 Main.refreshMap =
false;
164 for (
int j = 0; j < 40; j++)
176 for (
int m = 0; m < 40; m++)
178 for (
int n = 40; n <
MaxHeight - 40; n++)
185 for (
int num2 = 40; num2 <
MaxHeight - 40; num2++)
static void Copy(string sourceFileName, string destFileName)
static readonly char DirectorySeparatorChar
override void WriteLine(string? value)
static byte Max(byte val1, byte val2)
static WorldFileData ActiveWorldFileData
static string playerPathName
static PlayerFileData ActivePlayerFileData
static void LoadMapVersion2(BinaryReader fileIO, int release)
static void LoadMapVersion1(BinaryReader fileIO, int release)
static MapTile CreateMapTile(int i, int j, byte Light)
WorldMap(int maxWidth, int maxHeight)
void ConsumeUpdate(int x, int y)
bool UpdateType(int x, int y)
bool UpdateLighting(int x, int y, byte light)
bool IsRevealed(int x, int y)
void Update(int x, int y, byte light)
void UnlockMapSection(int sectionX, int sectionY)
void SetTile(int x, int y, ref MapTile tile)
static Terraria.Social.Base.CloudSocialModule Cloud
static bool Exists(string path, bool cloud)
static byte[] ReadAllBytes(string path, bool cloud)
bool Equals(ref MapTile other)